diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2015-12-14 00:58:18 +0200 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2015-12-14 01:03:57 +0200 |
commit | 121b7b880c4d17c1ce320ad6b1c560577c9953ed (patch) | |
tree | 5040adbc59ad873c5ba1887e6b6024eccebfc4b5 /sw/source | |
parent | 31689f989d453bd96f2d52fa8f0fa337ec6fb576 (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.cxx | 3 |
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); } |