diff options
author | Muhammet Kara <muhammet.kara@pardus.org.tr> | 2018-04-12 21:53:29 +0300 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2018-04-17 09:59:42 +0200 |
commit | 66ed9797ba8f61994a187dfcc189f375dcd0cdcc (patch) | |
tree | 19dadc10a843b9d4b906b116b6c888af5b8e0c19 /cui | |
parent | 3564b46992fc30e212011c19043a2553178ccbca (diff) |
Simplify calls to Menu::CheckItem
in cui, dbaccess, vcl, sc, sd
Change-Id: I328d81cf6cd5a7e31fb21a758e4b2670e7df1b91
Reviewed-on: https://gerrit.libreoffice.org/52797
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/customize/SvxToolbarConfigPage.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cui/source/customize/SvxToolbarConfigPage.cxx b/cui/source/customize/SvxToolbarConfigPage.cxx index dfa1e000d7c7..b07b84d73f67 100644 --- a/cui/source/customize/SvxToolbarConfigPage.cxx +++ b/cui/source/customize/SvxToolbarConfigPage.cxx @@ -825,17 +825,17 @@ IMPL_LINK_NOARG( SvxToolbarConfigPage, SelectToolbar, ListBox&, void ) { case 0: { - pGearMenu->CheckItem( pGearMenu->GetItemId("gear_iconOnly") ); + pGearMenu->CheckItem( "gear_iconOnly" ); break; } case 1: { - pGearMenu->CheckItem( pGearMenu->GetItemId("gear_textOnly") ); + pGearMenu->CheckItem( "gear_textOnly" ); break; } case 2: { - pGearMenu->CheckItem( pGearMenu->GetItemId("gear_iconAndText") ); + pGearMenu->CheckItem( "gear_iconAndText" ); break; } } |