summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorArvind K <khandelwalarvind26@gmail.com>2023-03-03 01:05:54 +0530
committerHeiko Tietze <heiko.tietze@documentfoundation.org>2023-03-30 08:10:34 +0000
commit2ca71b5c6e0374254e7c75c75e54fa6a8caebfde (patch)
treeb8b346b7d13ae0bce3d8dcdb6285ac442d57783b /svx
parent8e97ef854fb225dac37185c1911894b7d206fa8d (diff)
tdf#146748 Change 'More Numbering/Bullets' options to 'Customize'
Change-Id: Ia9ae20b8c73ddd762424c99eedbaf145fed81935 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148142 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/tbxctrls/bulletsnumbering.cxx11
1 files changed, 1 insertions, 10 deletions
diff --git a/svx/source/tbxctrls/bulletsnumbering.cxx b/svx/source/tbxctrls/bulletsnumbering.cxx
index a9195cd5a695..1a8636380921 100644
--- a/svx/source/tbxctrls/bulletsnumbering.cxx
+++ b/svx/source/tbxctrls/bulletsnumbering.cxx
@@ -107,22 +107,13 @@ NumberingPopup::NumberingPopup(NumberingToolBoxControl& rController,
mxValueSet->SetOutputSizePixel(aSize);
mxValueSet->SetColor(Application::GetSettings().GetStyleSettings().GetFieldColor());
- OUString aMoreItemText;
+ OUString aMoreItemText = SvxResId( RID_SVXSTR_CUSTOMIZE );
if ( mePageType == NumberingPageType::BULLET )
- {
- aMoreItemText = SvxResId( RID_SVXSTR_MOREBULLETS );
AddStatusListener( ".uno:CurrentBulletListType" );
- }
else if ( mePageType == NumberingPageType::SINGLENUM )
- {
- aMoreItemText = SvxResId( RID_SVXSTR_MORENUMBERING );
AddStatusListener( ".uno:CurrentNumListType" );
- }
else
- {
- aMoreItemText = SvxResId( RID_SVXSTR_MORE );
AddStatusListener( ".uno:CurrentOutlineType" );
- }
auto xImage = vcl::CommandInfoProvider::GetXGraphicForCommand(".uno:OutlineBullet", mrController.getFrameInterface());
mxMoreButton->set_image(xImage);