Resolves: rhbz#996162 apparent NULL bullet font
Change-Id: I2f50ef1dabe2f152f2e18025edc88734158dbea2
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user