summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sw/source/filter/ww8/ww8par.cxx3
1 files changed, 3 insertions, 0 deletions
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())