summaryrefslogtreecommitdiff
path: root/starmath/source/document.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source/document.cxx')
-rw-r--r--starmath/source/document.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/starmath/source/document.cxx b/starmath/source/document.cxx
index bef01ea7a7fb..1b8307b9864e 100644
--- a/starmath/source/document.cxx
+++ b/starmath/source/document.cxx
@@ -104,12 +104,11 @@ using namespace ::com::sun::star::uno;
#define SmDocShell
#include "smslots.hxx"
-
-
-
TYPEINIT1( SmDocShell, SfxObjectShell );
SFX_IMPL_INTERFACE(SmDocShell, SfxObjectShell, SmResId(0))
+
+void SmDocShell::InitInterface_Impl()
{
GetStaticInterface()->RegisterPopupMenu(SmResId(RID_VIEWMENU));
GetStaticInterface()->RegisterPopupMenu(SmResId(RID_COMMANDMENU));