diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2017-03-23 20:14:15 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-27 09:43:58 +0000 |
commit | d615af618cc6a7152c76a49b3cd09db38eaa9e07 (patch) | |
tree | bc0d69070444dc687708de9a4a146c5c2d3b6852 /starmath/inc | |
parent | 6f968f00b1534406a2943be374fab924c3396482 (diff) |
create SfxInterfaceId o3tl::strong_int
Change-Id: Ie52f63382a9fb36f9a472801be012b140bfb51f6
Reviewed-on: https://gerrit.libreoffice.org/35722
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'starmath/inc')
-rw-r--r-- | starmath/inc/document.hxx | 2 | ||||
-rw-r--r-- | starmath/inc/smmod.hxx | 2 | ||||
-rw-r--r-- | starmath/inc/view.hxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/starmath/inc/document.hxx b/starmath/inc/document.hxx index 83cda04329a6..0c72a33f50a1 100644 --- a/starmath/inc/document.hxx +++ b/starmath/inc/document.hxx @@ -136,7 +136,7 @@ class SM_DLLPUBLIC SmDocShell : public SfxObjectShell, public SfxListener void InvalidateCursor(); public: - SFX_DECL_INTERFACE(SFX_INTERFACE_SMA_START+1) + SFX_DECL_INTERFACE(SFX_INTERFACE_SMA_START+SfxInterfaceId(1)) SFX_DECL_OBJECTFACTORY(); diff --git a/starmath/inc/smmod.hxx b/starmath/inc/smmod.hxx index 15036a7f6792..3e35885b3af8 100644 --- a/starmath/inc/smmod.hxx +++ b/starmath/inc/smmod.hxx @@ -93,7 +93,7 @@ class SmModule : public SfxModule, public utl::ConfigurationListener static void ApplyColorConfigValues( const svtools::ColorConfig &rColorCfg ); public: - SFX_DECL_INTERFACE(SFX_INTERFACE_SMA_START + 0) + SFX_DECL_INTERFACE(SFX_INTERFACE_SMA_START + SfxInterfaceId(0)) private: /// SfxInterface initializer. diff --git a/starmath/inc/view.hxx b/starmath/inc/view.hxx index b41f5a78caa9..83cf858ba36f 100644 --- a/starmath/inc/view.hxx +++ b/starmath/inc/view.hxx @@ -294,7 +294,7 @@ public: void NextError(); void PrevError(); - SFX_DECL_INTERFACE(SFX_INTERFACE_SMA_START+2) + SFX_DECL_INTERFACE(SFX_INTERFACE_SMA_START+SfxInterfaceId(2)) SFX_DECL_VIEWFACTORY(SmViewShell); private: |