sw/source/filter/ww8/ww8par.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 0496587f1bf271ef0540f3cd8155889311480d70
Author: Caolán McNamara <caol...@redhat.com>
Date:   Thu May 11 15:04:40 2017 +0100

    ofz there may be no m_pSmartTagData
    
    Change-Id: Ibd529c5db35f2ca64372629ab1fe0ecd08e2ea01

diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx
index 243e0cb78a83..a17a1e23662b 100644
--- a/sw/source/filter/ww8/ww8par.cxx
+++ b/sw/source/filter/ww8/ww8par.cxx
@@ -6034,6 +6034,9 @@ void SwWW8ImplReader::GetSmartTagInfo(SwFltRDFMark& rMark)
         m_pSmartTagData->Read(*m_pTableStream, m_pWwFib->m_fcFactoidData, 
m_pWwFib->m_lcbFactoidData);
     }
 
+    if (!m_pSmartTagData)
+        return;
+
     // Check if the handle is a valid smart tag bookmark index.
     size_t nIndex = rMark.GetHandle();
     if (nIndex >= m_pSmartTagData->m_aPropBags.size())
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to