summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-12-10 21:06:01 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-12-10 21:32:27 +0000
commit32af2d9eb634aad4820b9406c89357099d01aaf8 (patch)
tree520e87bdcfffde8f92b11f88ab31ebaa1713ad07
parentb0c826638ee55b10749f58ca9efaf7e5c4f3a25f (diff)
check for null Modifiers
Change-Id: I842122f7e2cba48d4798905f41f63b3e06775d00 (cherry picked from commit 6834384e80cf5cd374cdec471ce385ba2ca94580)
-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 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);
}