[Libreoffice-commits] core.git: Branch 'libreoffice-5-1' - lotuswordpro/source
Caolán McNamara
caolanm at redhat.com
Wed Dec 9 04:35:52 PST 2015
lotuswordpro/source/filter/lwppara1.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 7983fe7c495de8249ceab4aecac6a77b7848ea29
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Dec 9 12:33:36 2015 +0000
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 at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/lotuswordpro/source/filter/lwppara1.cxx b/lotuswordpro/source/filter/lwppara1.cxx
index 3635050..cfed811 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);
More information about the Libreoffice-commits
mailing list