Resolves: rhbz#996162 apparent NULL bullet font

Change-Id: I2f50ef1dabe2f152f2e18025edc88734158dbea2
This commit is contained in:
Caolán McNamara
2013-08-22 15:29:10 +01:00
parent 123189c882
commit 166510ed48

View File

@@ -897,9 +897,15 @@ Font Outliner::ImpCalcBulletFont( sal_Int32 nPara ) const
}
Font aBulletFont;
const Font *pSourceFont = 0;
if ( pFmt->GetNumberingType() == SVX_NUM_CHAR_SPECIAL )
{
aBulletFont = *pFmt->GetBulletFont();
pSourceFont = pFmt->GetBulletFont();
}
if (pSourceFont)
{
aBulletFont = *pSourceFont;
}
else
{