diff options
author | Noel Grandin <noel@peralex.com> | 2015-06-24 12:06:34 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-06-24 12:06:34 +0200 |
commit | 07d85c44998f42545175ee77c192b901b52a30ca (patch) | |
tree | 81c232567c3170fb79e1032b98d6cd9e8cf2a040 /include/basic | |
parent | 1d1c0632d2de3180abaa9782404c0aea1f1b30af (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 'include/basic')
-rw-r--r-- | include/basic/sbmod.hxx | 5 | ||||
-rw-r--r-- | include/basic/sbx.hxx | 6 | ||||
-rw-r--r-- | include/basic/sbxobj.hxx | 3 |
3 files changed, 5 insertions, 9 deletions
diff --git a/include/basic/sbmod.hxx b/include/basic/sbmod.hxx index c5a9e16480fb..7b40b1f8a5f1 100644 --- a/include/basic/sbmod.hxx +++ b/include/basic/sbmod.hxx @@ -90,8 +90,7 @@ protected: virtual bool LoadData( SvStream&, sal_uInt16 ) SAL_OVERRIDE; virtual bool StoreData( SvStream& ) const SAL_OVERRIDE; virtual bool LoadCompleted() SAL_OVERRIDE; - 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; void handleProcedureProperties( SfxBroadcaster& rBC, const SfxHint& rHint ); virtual ~SbModule(); public: @@ -156,7 +155,7 @@ public: // Overridden to support NameAccess etc. virtual SbxVariable* Find( const OUString&, SbxClassType ) SAL_OVERRIDE; - virtual void SFX_NOTIFY( SfxBroadcaster&, const TypeId&, const SfxHint& rHint, const TypeId& ) SAL_OVERRIDE; + virtual void Notify( SfxBroadcaster&, const SfxHint& rHint ) SAL_OVERRIDE; SbModule* getClassModule() { return mpClassModule; } diff --git a/include/basic/sbx.hxx b/include/basic/sbx.hxx index 8410f4352c00..348435acbb2c 100644 --- a/include/basic/sbx.hxx +++ b/include/basic/sbx.hxx @@ -104,8 +104,7 @@ class BASIC_DLLPUBLIC SbxAlias : public SbxVariable, public SfxListener SbxVariableRef xAlias; virtual ~SbxAlias(); virtual void Broadcast( sal_uIntPtr ) SAL_OVERRIDE; - 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: SbxAlias( const SbxAlias& ); SbxAlias& operator=( const SbxAlias& ); @@ -221,8 +220,7 @@ class BASIC_DLLPUBLIC SbxCollection : public SbxObject protected: virtual ~SbxCollection(); virtual bool LoadData( SvStream&, sal_uInt16 ) SAL_OVERRIDE; - 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; // Overridable methods (why not pure virtual?): virtual void CollAdd( SbxArray* pPar ); void CollItem( SbxArray* pPar ); diff --git a/include/basic/sbxobj.hxx b/include/basic/sbxobj.hxx index 4526f25fb30b..1869c61fb369 100644 --- a/include/basic/sbxobj.hxx +++ b/include/basic/sbxobj.hxx @@ -40,8 +40,7 @@ protected: virtual bool LoadData( SvStream&, sal_uInt16 ) SAL_OVERRIDE; virtual bool StoreData( SvStream& ) const SAL_OVERRIDE; virtual ~SbxObject(); - 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: SBX_DECL_PERSIST_NODATA(SBXCR_SBX,SBXID_OBJECT,1); TYPEINFO_OVERRIDE(); |