diff options
Diffstat (limited to 'starmath/source/document.cxx')
-rw-r--r-- | starmath/source/document.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/starmath/source/document.cxx b/starmath/source/document.cxx index 0ff39dc7f8dd..6d6bd01003c6 100644 --- a/starmath/source/document.cxx +++ b/starmath/source/document.cxx @@ -108,8 +108,7 @@ SFX_IMPL_SUPERCLASS_INTERFACE(SmDocShell, SfxObjectShell) void SmDocShell::InitInterface_Impl() { - GetStaticInterface()->RegisterPopupMenu(SmResId(RID_VIEWMENU)); - GetStaticInterface()->RegisterPopupMenu(SmResId(RID_COMMANDMENU)); + GetStaticInterface()->RegisterPopupMenu("view"); } SFX_IMPL_OBJECTFACTORY(SmDocShell, SvGlobalName(SO3_SM_CLASSID), SfxObjectShellFlags::STD_NORMAL, "smath" ) |