include/svx/nbdtmg.hxx        |    1 -
 svx/source/sidebar/nbdtmg.cxx |   11 ++---------
 2 files changed, 2 insertions(+), 10 deletions(-)

New commits:
commit a600cb4865f2b4bce872a000c2614cf6478b1ee0
Author:     Samuel Mehrbrodt <samuel.mehrbr...@allotropia.de>
AuthorDate: Thu Apr 25 09:06:57 2024 +0200
Commit:     Samuel Mehrbrodt <samuel.mehrbr...@allotropia.de>
CommitDate: Thu Apr 25 13:47:04 2024 +0200

    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.mehrbr...@allotropia.de>

diff --git a/include/svx/nbdtmg.hxx b/include/svx/nbdtmg.hxx
index 81ef80223496..894304e4c37d 100644
--- a/include/svx/nbdtmg.hxx
+++ b/include/svx/nbdtmg.hxx
@@ -72,7 +72,6 @@ class  SVX_DLLPUBLIC BulletsSettings
 {
 public:
     vcl::Font       aFont;
-    OUString        sDescription;
     sal_UCS4        cBulletChar;
     bool            bIsCustomized;
     BulletsSettings() : cBulletChar(0), bIsCustomized(false)  {}
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)

Reply via email to