summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/prevwsh.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/view/prevwsh.cxx')
-rw-r--r--sc/source/ui/view/prevwsh.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/prevwsh.cxx b/sc/source/ui/view/prevwsh.cxx
index 8d0f7150d848..641fca377d3e 100644
--- a/sc/source/ui/view/prevwsh.cxx
+++ b/sc/source/ui/view/prevwsh.cxx
@@ -91,7 +91,7 @@ void ScPreviewShell::InitInterface_Impl()
GetStaticInterface()->RegisterObjectBar(SFX_OBJECTBAR_OBJECT|SFX_VISIBILITY_STANDARD|SFX_VISIBILITY_SERVER|SFX_VISIBILITY_READONLYDOC,
RID_OBJECTBAR_PREVIEW);
- GetStaticInterface()->RegisterPopupMenu(ScResId(RID_POPUP_PREVIEW));
+ GetStaticInterface()->RegisterPopupMenu("preview");
}
SFX_IMPL_NAMED_VIEWFACTORY( ScPreviewShell, "PrintPreview" )