summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-06-24 12:06:34 +0200
committerNoel Grandin <noel@peralex.com>2015-06-24 12:06:34 +0200
commit07d85c44998f42545175ee77c192b901b52a30ca (patch)
tree81c232567c3170fb79e1032b98d6cd9e8cf2a040 /starmath
parent1d1c0632d2de3180abaa9782404c0aea1f1b30af (diff)
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
Diffstat (limited to 'starmath')
-rw-r--r--starmath/inc/document.hxx3
-rw-r--r--starmath/inc/symbol.hxx3
-rw-r--r--starmath/source/document.cxx3
-rw-r--r--starmath/source/symbol.cxx3
4 files changed, 4 insertions, 8 deletions
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<const SfxSimpleHint&>(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*/)
{
}