diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-12-10 21:06:01 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-12-10 21:31:16 +0000 |
commit | 6834384e80cf5cd374cdec471ce385ba2ca94580 (patch) | |
tree | b96f965808897661b5e02fe0b21c281bd4252236 /lotuswordpro | |
parent | 4a573e67c67ddf15403a79e7ec8d984d189dc83a (diff) |
check for null Modifiers
Change-Id: I842122f7e2cba48d4798905f41f63b3e06775d00
Diffstat (limited to 'lotuswordpro')
-rw-r--r-- | lotuswordpro/source/filter/lwppara1.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lotuswordpro/source/filter/lwppara1.cxx b/lotuswordpro/source/filter/lwppara1.cxx index cfed811aa5c0..087ac0bbe482 100644 --- a/lotuswordpro/source/filter/lwppara1.cxx +++ b/lotuswordpro/source/filter/lwppara1.cxx @@ -220,7 +220,7 @@ void LwpPara::GetParaNumber(sal_uInt16 nPosition, ParaNumbering* pParaNumbering) if (pPreFrib) { if ((pPreFrib->GetType() == FRIB_TAG_TEXT) && - (pPreFrib->GetModifiers()->aTxtAttrOverride.GetHideLevels() == nHideLevels)) + (pPreFrib->GetModifiers() && pPreFrib->GetModifiers()->aTxtAttrOverride.GetHideLevels() == nHideLevels)) { pParaNumbering->pPrefix = static_cast<LwpFribText*>(pPreFrib); } |