lotuswordpro/source/filter/lwpframelayout.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 215516a52fd01170bb4a79828b0f0948884b727a
Author: Caolán McNamara <[email protected]>
Date:   Thu Dec 10 10:19:12 2015 +0000

    protect against missing Ruby Marker
    
    Change-Id: I04809443b5dc50904654936e608360b57c2e85c3

diff --git a/lotuswordpro/source/filter/lwpframelayout.cxx 
b/lotuswordpro/source/filter/lwpframelayout.cxx
index 1182172..d15e024 100644
--- a/lotuswordpro/source/filter/lwpframelayout.cxx
+++ b/lotuswordpro/source/filter/lwpframelayout.cxx
@@ -1235,6 +1235,8 @@ void LwpRubyLayout::ConvertContentText()
 void LwpRubyLayout::RegisterStyle()
 {
     LwpRubyMarker* pMarker = GetMarker();
+    if (!pMarker)
+        throw std::runtime_error("missing Ruby Marker");
 
     XFRubyStyle* pRubyStyle = new XFRubyStyle;
 
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to