diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-03-26 16:37:00 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-03-26 16:39:26 +0100 |
commit | 70cc2b191b95fbc210bc1f0f6a7159f341894f0f (patch) | |
tree | a70f4957c454b443520cbf91250c41d9eea80017 /include/basic/sbmeth.hxx | |
parent | 8757bea2e88c6e349e1fe98d8e9695d7b9c6179e (diff) |
First batch of adding SAL_OVERRRIDE to overriding function declarations
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.
Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
Diffstat (limited to 'include/basic/sbmeth.hxx')
-rw-r--r-- | include/basic/sbmeth.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/basic/sbmeth.hxx b/include/basic/sbmeth.hxx index 1b2ab4c84736..134748041306 100644 --- a/include/basic/sbmeth.hxx +++ b/include/basic/sbmeth.hxx @@ -46,14 +46,14 @@ class BASIC_DLLPUBLIC SbMethod : public SbxMethod SbxArrayRef refStatics; BASIC_DLLPRIVATE SbMethod( const OUString&, SbxDataType, SbModule* ); BASIC_DLLPRIVATE SbMethod( const SbMethod& ); - virtual sal_Bool LoadData( SvStream&, sal_uInt16 ); - virtual sal_Bool StoreData( SvStream& ) const; + virtual sal_Bool LoadData( SvStream&, sal_uInt16 ) SAL_OVERRIDE; + virtual sal_Bool StoreData( SvStream& ) const SAL_OVERRIDE; virtual ~SbMethod(); public: SBX_DECL_PERSIST_NODATA(SBXCR_SBX,SBXID_BASICMETHOD,2); TYPEINFO_OVERRIDE(); - virtual SbxInfo* GetInfo(); + virtual SbxInfo* GetInfo() SAL_OVERRIDE; SbxArray* GetStatics(); void ClearStatics(); SbModule* GetModule() { return pMod; } @@ -64,7 +64,7 @@ public: // Interface to execute a method from the applications virtual ErrCode Call( SbxValue* pRet = NULL, SbxVariable* pCaller = NULL ); - virtual void Broadcast( sal_uIntPtr nHintId ); + virtual void Broadcast( sal_uIntPtr nHintId ) SAL_OVERRIDE; }; SV_DECL_IMPL_REF(SbMethod) |