summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/navipi/content.cxx6
-rw-r--r--sc/source/ui/navipi/navipi.cxx6
2 files changed, 6 insertions, 6 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;
}
diff --git a/sc/source/ui/navipi/navipi.cxx b/sc/source/ui/navipi/navipi.cxx
index 90851ec16417..dc7a07ecc42d 100644
--- a/sc/source/ui/navipi/navipi.cxx
+++ b/sc/source/ui/navipi/navipi.cxx
@@ -372,13 +372,13 @@ IMPL_LINK(ScNavigatorDlg, ToolBoxDropdownClickHdl, ToolBox *, pToolBox, void)
switch (GetDropMode())
{
case 0:
- aPop->CheckItem(aPop->GetItemId("hyperlink"));
+ aPop->CheckItem("hyperlink");
break;
case 1:
- aPop->CheckItem(aPop->GetItemId("link"));
+ aPop->CheckItem("link");
break;
case 2:
- aPop->CheckItem(aPop->GetItemId("copy"));
+ aPop->CheckItem("copy");
break;
}