diff options
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/sidebar/nbdtmg.cxx | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/svx/source/sidebar/nbdtmg.cxx b/svx/source/sidebar/nbdtmg.cxx index ced78fe6bc61..26e26c8a3152 100644 --- a/svx/source/sidebar/nbdtmg.cxx +++ b/svx/source/sidebar/nbdtmg.cxx @@ -341,16 +341,9 @@ void BulletsTypeMgr::ApplyNumRule(SvxNumRule& aNum, sal_uInt16 nIndex, sal_uInt1 } } -OUString BulletsTypeMgr::GetDescription(sal_uInt16 nIndex, bool /*isDefault*/) +OUString BulletsTypeMgr::GetDescription(sal_uInt16 /*nIndex*/, bool /*isDefault*/) { - OUString sRet; - - if ( nIndex >= DEFAULT_BULLET_TYPES ) - return sRet; - else - sRet = pActualBullets[nIndex]->sDescription; - - return sRet; + return OUString(); } bool BulletsTypeMgr::IsCustomized(sal_uInt16 nIndex) |