From 07d85c44998f42545175ee77c192b901b52a30ca Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 24 Jun 2015 12:06:34 +0200 Subject: remove SFX_NOTIFY macro it has not served any purpose since we switched to using normal C++ RTTI for the SfxHint objects Change-Id: Ic81353bcb7863ce892eb75296248ca14d8fd6c86 --- starmath/inc/document.hxx | 3 +-- starmath/inc/symbol.hxx | 3 +-- starmath/source/document.cxx | 3 +-- starmath/source/symbol.cxx | 3 +-- 4 files changed, 4 insertions(+), 8 deletions(-) (limited to 'starmath') diff --git a/starmath/inc/document.hxx b/starmath/inc/document.hxx index 5531a4c21427..93dbf26797fd 100644 --- a/starmath/inc/document.hxx +++ b/starmath/inc/document.hxx @@ -107,8 +107,7 @@ class SM_DLLPUBLIC SmDocShell : public SfxObjectShell, public SfxListener - virtual void SFX_NOTIFY(SfxBroadcaster& rBC, const TypeId& rBCType, - const SfxHint& rHint, const TypeId& rHintType) SAL_OVERRIDE; + virtual void Notify(SfxBroadcaster& rBC, const SfxHint& rHint) SAL_OVERRIDE; bool WriteAsMathType3( SfxMedium& ); diff --git a/starmath/inc/symbol.hxx b/starmath/inc/symbol.hxx index c05ea47f1f16..1f56595302da 100644 --- a/starmath/inc/symbol.hxx +++ b/starmath/inc/symbol.hxx @@ -123,8 +123,7 @@ private: SymbolMap_t m_aSymbols; bool m_bModified; - virtual void SFX_NOTIFY(SfxBroadcaster& rBC, const TypeId& rBCType, - const SfxHint& rHint, const TypeId& rHintType) SAL_OVERRIDE; + virtual void Notify(SfxBroadcaster& rBC, const SfxHint& rHint) SAL_OVERRIDE; public: SmSymbolManager(); diff --git a/starmath/source/document.cxx b/starmath/source/document.cxx index 460706e334a7..b38a55f6f3da 100644 --- a/starmath/source/document.cxx +++ b/starmath/source/document.cxx @@ -117,8 +117,7 @@ void SmDocShell::InitInterface_Impl() SFX_IMPL_OBJECTFACTORY(SmDocShell, SvGlobalName(SO3_SM_CLASSID), SfxObjectShellFlags::STD_NORMAL, "smath" ) -void SmDocShell::SFX_NOTIFY(SfxBroadcaster&, const TypeId&, - const SfxHint& rHint, const TypeId&) +void SmDocShell::Notify(SfxBroadcaster&, const SfxHint& rHint) { switch (static_cast(rHint).GetId()) { diff --git a/starmath/source/symbol.cxx b/starmath/source/symbol.cxx index 52d2a882ea24..58ae786d1d52 100644 --- a/starmath/source/symbol.cxx +++ b/starmath/source/symbol.cxx @@ -106,8 +106,7 @@ bool SmSym::IsEqualInUI( const SmSym& rSymbol ) const /**************************************************************************/ -void SmSymbolManager::SFX_NOTIFY(SfxBroadcaster& /*rBC*/, const TypeId& rBCType, - const SfxHint& /*rHint*/, const TypeId& rHintType) +void SmSymbolManager::Notify(SfxBroadcaster& /*rBC*/, const SfxHint& /*rHint*/) { } -- cgit