summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-12-09 12:33:36 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-12-09 12:35:28 +0000
commit7983fe7c495de8249ceab4aecac6a77b7848ea29 (patch)
tree6aef6326d60f298f08d183c3c238dfee7ef38e15
parent071d2ad0291ec0fc0fbf2f9c864e3b6a30a61586 (diff)
protect against missing Modifiers
Change-Id: I226f67c6c49bfcbc1fa0ef40fc9f7d5548fa043b (cherry picked from commit 6c59adca37900dccc394061a730984ecb180aacf) Reviewed-on: https://gerrit.libreoffice.org/20510 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--lotuswordpro/source/filter/lwppara1.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/lotuswordpro/source/filter/lwppara1.cxx b/lotuswordpro/source/filter/lwppara1.cxx
index 36350507e9f0..cfed811aa5c0 100644
--- a/lotuswordpro/source/filter/lwppara1.cxx
+++ b/lotuswordpro/source/filter/lwppara1.cxx
@@ -237,7 +237,7 @@ void LwpPara::GetParaNumber(sal_uInt16 nPosition, ParaNumbering* pParaNumbering)
{
if (
(pFrib->GetNext() && pFrib->GetNext()->GetType() == FRIB_TAG_TEXT) ||
- (pFrib->GetModifiers()->aTxtAttrOverride.GetHideLevels() == nHideLevels)
+ (pFrib->GetModifiers() && pFrib->GetModifiers()->aTxtAttrOverride.GetHideLevels() == nHideLevels)
)
{
pParaNumbering->pSuffix = static_cast<LwpFribText*>(pFrib);