From d615af618cc6a7152c76a49b3cd09db38eaa9e07 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 23 Mar 2017 20:14:15 +0200 Subject: create SfxInterfaceId o3tl::strong_int Change-Id: Ie52f63382a9fb36f9a472801be012b140bfb51f6 Reviewed-on: https://gerrit.libreoffice.org/35722 Tested-by: Jenkins Reviewed-by: Noel Grandin --- starmath/inc/document.hxx | 2 +- starmath/inc/smmod.hxx | 2 +- starmath/inc/view.hxx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'starmath/inc') 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: -- cgit