diff options
author | Jan Holesovsky <kendy@collabora.com> | 2014-04-18 15:28:44 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2014-04-18 22:49:27 +0200 |
commit | 9f83ea4bc61c051473aeaed9849cba4627aceadb (patch) | |
tree | a74b93ca66a9c46c1376283f45767938106d72a8 /starmath | |
parent | 7acb27081c6da9fc0ae64f4d145d8744c81d4b0a (diff) |
sfx2: Kill SFX_POPUPMENU_REGISTRATION macro.
Change-Id: Ie68ccbe5874ec7c7e1bb73cb2937e06bb4910cd0
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/document.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/document.cxx b/starmath/source/document.cxx index 00452a62e9e1..bef01ea7a7fb 100644 --- a/starmath/source/document.cxx +++ b/starmath/source/document.cxx @@ -111,8 +111,8 @@ TYPEINIT1( SmDocShell, SfxObjectShell ); SFX_IMPL_INTERFACE(SmDocShell, SfxObjectShell, SmResId(0)) { - SFX_POPUPMENU_REGISTRATION(SmResId(RID_VIEWMENU)); - SFX_POPUPMENU_REGISTRATION(SmResId(RID_COMMANDMENU)); + GetStaticInterface()->RegisterPopupMenu(SmResId(RID_VIEWMENU)); + GetStaticInterface()->RegisterPopupMenu(SmResId(RID_COMMANDMENU)); } SFX_IMPL_OBJECTFACTORY(SmDocShell, SvGlobalName(SO3_SM_CLASSID), SFXOBJECTSHELL_STD_NORMAL, "smath" ) |