diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-05-11 15:04:40 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-05-11 15:05:39 +0100 |
commit | 0496587f1bf271ef0540f3cd8155889311480d70 (patch) | |
tree | f7280dae54fded95711f68676ae9f1cebba8f712 /sw | |
parent | 2dd2f3328acd564e5f77efa4fe91d67ac0984e63 (diff) |
ofz there may be no m_pSmartTagData
Change-Id: Ibd529c5db35f2ca64372629ab1fe0ecd08e2ea01
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/ww8/ww8par.cxx | 3 |
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()) |