diff options
author | Kevin Dubrulle <kevin.dubrulle@gmail.com> | 2018-07-09 07:40:17 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-07-09 09:43:03 +0200 |
commit | dc47a950eaf99b8abb2f7bd2f44243ec7e1bce72 (patch) | |
tree | 6a6ef345cb062152fb786ea1b25c4c5633c1c5de /basctl | |
parent | 498805290a5a6f3e8342b3a62ae365bda051f75d (diff) |
tdf117058 - Simplify calls to Menu::CheckItem
Change pGearMenu->CheckItem( pGearMenu->GetItemId("gear_iconOnly") ) style to
pGearMenu->CheckItem( "gear_iconOnly" ) style, where it is possible.
Change-Id: I6ec77eac51be14a8e5d278bd3604cb65b3d1f006
Reviewed-on: https://gerrit.libreoffice.org/57172
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/basicide/baside2b.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx index ae2fb1086d7f..f32885c1292d 100644 --- a/basctl/source/basicide/baside2b.cxx +++ b/basctl/source/basicide/baside2b.cxx @@ -1459,7 +1459,7 @@ void BreakPointWindow::Command( const CommandEvent& rCEvt ) { // test if break point is enabled... VclPtr<PopupMenu> xBrkPropMenu = mpUIBuilder->get_menu("breakmenu"); - xBrkPropMenu->CheckItem(xBrkPropMenu->GetItemId("active"), pBrk->bEnabled); + xBrkPropMenu->CheckItem("active", pBrk->bEnabled); OString sCommand = xBrkPropMenu->GetItemIdent(xBrkPropMenu->Execute(this, aPos)); if (sCommand == "active") { |