Kaydet (Commit) 6834384e authored tarafından Caolán McNamara's avatar Caolán McNamara

check for null Modifiers

Change-Id: I842122f7e2cba48d4798905f41f63b3e06775d00
üst 4a573e67
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment