summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorMaxim Monastirsky <momonasmon@gmail.com>2015-12-14 00:58:18 +0200
committerMaxim Monastirsky <momonasmon@gmail.com>2015-12-14 01:03:57 +0200
commit121b7b880c4d17c1ce320ad6b1c560577c9953ed (patch)
tree5040adbc59ad873c5ba1887e6b6024eccebfc4b5 /sw/source
parent31689f989d453bd96f2d52fa8f0fa337ec6fb576 (diff)
tdf#93837 Convert MN_PPREVIEW_POPUPMENU to xml
Change-Id: If490e8523dbedabdf4124b1bd1a5ba08678dc06e
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/uibase/uiview/pview.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/uibase/uiview/pview.cxx b/sw/source/uibase/uiview/pview.cxx
index a3703054ff52..48ee1ef7cf09 100644
--- a/sw/source/uibase/uiview/pview.cxx
+++ b/sw/source/uibase/uiview/pview.cxx
@@ -93,8 +93,7 @@ SFX_IMPL_INTERFACE(SwPagePreview, SfxViewShell)
void SwPagePreview::InitInterface_Impl()
{
- GetStaticInterface()->RegisterPopupMenu(SW_RES(MN_PPREVIEW_POPUPMENU));
-
+ GetStaticInterface()->RegisterPopupMenu("preview");
GetStaticInterface()->RegisterObjectBar(SFX_OBJECTBAR_OBJECT|SFX_VISIBILITY_STANDARD|SFX_VISIBILITY_CLIENT|SFX_VISIBILITY_FULLSCREEN|SFX_VISIBILITY_READONLYDOC,
RID_PVIEW_TOOLBOX);
}