summaryrefslogtreecommitdiff
path: root/svx/source/sidebar/nbdtmg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/sidebar/nbdtmg.cxx')
-rw-r--r--svx/source/sidebar/nbdtmg.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/sidebar/nbdtmg.cxx b/svx/source/sidebar/nbdtmg.cxx
index da61e05cdf57..fbe446a2159a 100644
--- a/svx/source/sidebar/nbdtmg.cxx
+++ b/svx/source/sidebar/nbdtmg.cxx
@@ -1834,8 +1834,8 @@ sal_Bool OutlineTypeMgr::ApplyNumRule(SvxNumRule& aNum,sal_uInt16 nIndex,sal_uIn
aFmt.SetBulletFont( &rActBulletFont );
sal_Unicode cChar = 0;
- if( pLevelSettings->sBulletChar.getLength() )
- cChar = pLevelSettings->sBulletChar.getStr()[0];
+ if( !pLevelSettings->sBulletChar.isEmpty() )
+ cChar = pLevelSettings->sBulletChar[0];
if( Application::GetSettings().GetLayoutRTL() )
{
if( 0 == i && cChar == BulletsTypeMgr::aDynamicBulletTypes[5] )