diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-12-09 12:33:36 +0000 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-12-10 15:17:56 +0000 |
commit | 3b288a937a8369d90e3ec02b66718fbab4e9d514 (patch) | |
tree | f47975f8aca49acd6f78191b528bcc6836497599 | |
parent | guard against missing paragraph container (diff) | |
download | core-3b288a937a8369d90e3ec02b66718fbab4e9d514.tar.gz core-3b288a937a8369d90e3ec02b66718fbab4e9d514.zip |
protect against missing Modifiers
Change-Id: I226f67c6c49bfcbc1fa0ef40fc9f7d5548fa043b
(cherry picked from commit 6c59adca37900dccc394061a730984ecb180aacf)
Reviewed-on: https://gerrit.libreoffice.org/20512
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
-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 c6eb252fa047..c9ad2d86378c 100644 --- a/lotuswordpro/source/filter/lwppara1.cxx +++ b/lotuswordpro/source/filter/lwppara1.cxx @@ -241,7 +241,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); |