summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>2024-04-25 09:06:57 +0200
committerSamuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>2024-04-25 13:47:04 +0200
commita600cb4865f2b4bce872a000c2614cf6478b1ee0 (patch)
treefd8cf62cd8e4fd7d776f10ff1da45dbce6df65da /svx
parente7df78e1d4ac17ae5a17c4a151eefe2a6f2b0e4a (diff)
Remove unused fields
Unused since f944648e0f5d52605a267ed50bba4bfc035aecc6 Change-Id: Id5f5a77df8afdf15d99989b86bb04179d86ae92b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166614 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/sidebar/nbdtmg.cxx11
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)