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 /sc/source/ui/navipi/content.cxx | |
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 'sc/source/ui/navipi/content.cxx')
-rw-r--r-- | sc/source/ui/navipi/content.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/navipi/content.cxx b/sc/source/ui/navipi/content.cxx index 9ef08f34ee91..34df68b39cd9 100644 --- a/sc/source/ui/navipi/content.cxx +++ b/sc/source/ui/navipi/content.cxx @@ -609,13 +609,13 @@ void ScContentTree::Command( const CommandEvent& rCEvt ) switch (pParentWindow->GetDropMode()) { case 0: - aDropMenu->CheckItem(aDropMenu->GetItemId("hyperlink")); + aDropMenu->CheckItem("hyperlink"); break; case 1: - aDropMenu->CheckItem(aDropMenu->GetItemId("link")); + aDropMenu->CheckItem("link"); break; case 2: - aDropMenu->CheckItem(aDropMenu->GetItemId("copy")); + aDropMenu->CheckItem("copy"); break; } |