summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2014-04-18 18:04:32 +0200
committerJan Holesovsky <kendy@collabora.com>2014-04-18 22:51:06 +0200
commit29d5ce2d88732c12c986d3b7991897043a7be576 (patch)
treedc33c784246e411b5434e22f64f71a297358f59e /starmath
parentb731d71c67b864b61f5c08e219140be59c473f53 (diff)
sfx2: Move InitInterface_Impl() out of SFX_DECL_INTERFACE too.
Change-Id: Ib737e0d1b5888986b308aa60d4140f65e4e90243
Diffstat (limited to 'starmath')
-rw-r--r--starmath/inc/document.hxx6
-rw-r--r--starmath/inc/smmod.hxx7
-rw-r--r--starmath/inc/view.hxx5
3 files changed, 16 insertions, 2 deletions
diff --git a/starmath/inc/document.hxx b/starmath/inc/document.hxx
index a32520156ad1..eba196d161e1 100644
--- a/starmath/inc/document.hxx
+++ b/starmath/inc/document.hxx
@@ -156,9 +156,15 @@ class SmDocShell : public SfxObjectShell, public SfxListener
public:
TYPEINFO_OVERRIDE();
SFX_DECL_INTERFACE(SFX_INTERFACE_SMA_START+1)
+
using SotObject::GetInterface;
SFX_DECL_OBJECTFACTORY();
+private:
+ /// SfxInterface initializer.
+ static void InitInterface_Impl();
+
+public:
SmDocShell( const sal_uInt64 i_nSfxCreationFlags );
virtual ~SmDocShell();
diff --git a/starmath/inc/smmod.hxx b/starmath/inc/smmod.hxx
index aa3540602650..b3af03d781e0 100644
--- a/starmath/inc/smmod.hxx
+++ b/starmath/inc/smmod.hxx
@@ -84,8 +84,6 @@ public:
const OUString GetExportSymbolSetName( const OUString &rUiName ) const;
};
-
-
class SmModule : public SfxModule, utl::ConfigurationListener
{
svtools::ColorConfig *pColorConfig;
@@ -103,6 +101,11 @@ public:
TYPEINFO_OVERRIDE();
SFX_DECL_INTERFACE(SFX_INTERFACE_SMA_START + 0)
+private:
+ /// SfxInterface initializer.
+ static void InitInterface_Impl();
+
+public:
SmModule(SfxObjectFactory* pObjFact);
virtual ~SmModule();
diff --git a/starmath/inc/view.hxx b/starmath/inc/view.hxx
index 1f35a4b286d6..9c7980609250 100644
--- a/starmath/inc/view.hxx
+++ b/starmath/inc/view.hxx
@@ -298,6 +298,11 @@ public:
SFX_DECL_INTERFACE(SFX_INTERFACE_SMA_START+2)
SFX_DECL_VIEWFACTORY(SmViewShell);
+private:
+ /// SfxInterface initializer.
+ static void InitInterface_Impl();
+
+public:
virtual void Execute( SfxRequest& rReq );
virtual void GetState(SfxItemSet &);