From 2657e3146232dc61d759ff5da35eba2ce6270517 Mon Sep 17 00:00:00 2001 From: Maxim Monastirsky Date: Sat, 12 Dec 2015 23:34:38 +0200 Subject: tdf#93837 Convert MN_TAB_POPUPMENU to xml Change-Id: I8bf4557094bc32ad58760e822689c3f1d5f33c8f --- sw/source/uibase/shells/tabsh.cxx | 3 +-- sw/source/uibase/web/wtabsh.cxx | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'sw/source') diff --git a/sw/source/uibase/shells/tabsh.cxx b/sw/source/uibase/shells/tabsh.cxx index c9ea88a49c18..e39829f104e6 100644 --- a/sw/source/uibase/shells/tabsh.cxx +++ b/sw/source/uibase/shells/tabsh.cxx @@ -95,8 +95,7 @@ SFX_IMPL_INTERFACE(SwTableShell, SwBaseShell) void SwTableShell::InitInterface_Impl() { - GetStaticInterface()->RegisterPopupMenu(SW_RES(MN_TAB_POPUPMENU)); - + GetStaticInterface()->RegisterPopupMenu("table"); GetStaticInterface()->RegisterObjectBar(SFX_OBJECTBAR_OBJECT, RID_TABLE_TOOLBOX); } diff --git a/sw/source/uibase/web/wtabsh.cxx b/sw/source/uibase/web/wtabsh.cxx index e58ab8a7b8b0..ef0b704b06a1 100644 --- a/sw/source/uibase/web/wtabsh.cxx +++ b/sw/source/uibase/web/wtabsh.cxx @@ -45,8 +45,7 @@ SFX_IMPL_INTERFACE(SwWebTableShell, SwTableShell) void SwWebTableShell::InitInterface_Impl() { - GetStaticInterface()->RegisterPopupMenu(SW_RES(MN_TAB_POPUPMENU)); - + GetStaticInterface()->RegisterPopupMenu("table"); GetStaticInterface()->RegisterObjectBar(SFX_OBJECTBAR_OBJECT, RID_TABLE_TOOLBOX); } -- cgit v1.2.3