summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uiview/pview.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/uiview/pview.cxx')
-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);
}