diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-03-27 18:12:18 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-03-27 18:12:18 +0100 |
commit | 567ef6d5782cdb729b49005caf6005610ce03e22 (patch) | |
tree | 7e3be1da41382e555d9091914ef7e064852a4fd4 /basic/inc | |
parent | c36daa01f444ebad799c1cc7a106f1b4bb3c3d12 (diff) |
Second batch of adding SAL_OVERRIDE to overriding function declarations
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.
Change-Id: Ie656f9d653fc716f72ac175925272696d509038f
Diffstat (limited to 'basic/inc')
-rw-r--r-- | basic/inc/sbobjmod.hxx | 10 | ||||
-rw-r--r-- | basic/inc/sbstdobj.hxx | 14 |
2 files changed, 12 insertions, 12 deletions
diff --git a/basic/inc/sbobjmod.hxx b/basic/inc/sbobjmod.hxx index a47763c19295..b5b422d58e62 100644 --- a/basic/inc/sbobjmod.hxx +++ b/basic/inc/sbobjmod.hxx @@ -39,10 +39,10 @@ protected: public: TYPEINFO_OVERRIDE(); SbObjModule( const OUString& rName, const com::sun::star::script::ModuleInfo& mInfo, bool bIsVbaCompatible ); - virtual SbxVariable* Find( const OUString& rName, SbxClassType t ); + virtual SbxVariable* Find( const OUString& rName, SbxClassType t ) SAL_OVERRIDE; virtual void SFX_NOTIFY( SfxBroadcaster& rBC, const TypeId& rBCType, - const SfxHint& rHint, const TypeId& rHintType ); + const SfxHint& rHint, const TypeId& rHintType ) SAL_OVERRIDE; using SbxValue::GetObject; SbxVariable* GetObject(); @@ -66,7 +66,7 @@ public: TYPEINFO_OVERRIDE(); SbUserFormModule( const OUString& rName, const com::sun::star::script::ModuleInfo& mInfo, bool bIsVBACompat ); virtual ~SbUserFormModule(); - virtual SbxVariable* Find( const OUString& rName, SbxClassType t ); + virtual SbxVariable* Find( const OUString& rName, SbxClassType t ) SAL_OVERRIDE; void ResetApiObj( bool bTriggerTerminateEvent = true ); void Unload(); void Load(); @@ -95,8 +95,8 @@ public: SbUserFormModuleInstance( SbUserFormModule* pParentModule, const OUString& rName, const com::sun::star::script::ModuleInfo& mInfo, bool bIsVBACompat ); - virtual sal_Bool IsClass( const OUString& ) const; - virtual SbxVariable* Find( const OUString& rName, SbxClassType t ); + virtual sal_Bool IsClass( const OUString& ) const SAL_OVERRIDE; + virtual SbxVariable* Find( const OUString& rName, SbxClassType t ) SAL_OVERRIDE; }; #endif // INCLUDED_BASIC_INC_SBOBJMOD_HXX diff --git a/basic/inc/sbstdobj.hxx b/basic/inc/sbstdobj.hxx index 62a40560ec69..9fdce98b96f8 100644 --- a/basic/inc/sbstdobj.hxx +++ b/basic/inc/sbstdobj.hxx @@ -31,7 +31,7 @@ class BASIC_DLLPUBLIC SbStdFactory : public SbxFactory public: SbStdFactory(); - virtual SbxObject* CreateObject( const OUString& rClassName ); + virtual SbxObject* CreateObject( const OUString& rClassName ) SAL_OVERRIDE; }; // class SbStdPicture @@ -42,7 +42,7 @@ protected: ~SbStdPicture(); virtual void SFX_NOTIFY( SfxBroadcaster& rBC, const TypeId& rBCType, - const SfxHint& rHint, const TypeId& rHintType ); + const SfxHint& rHint, const TypeId& rHintType ) SAL_OVERRIDE; void PropType( SbxVariable* pVar, SbxArray* pPar, sal_Bool bWrite ); void PropWidth( SbxVariable* pVar, SbxArray* pPar, sal_Bool bWrite ); @@ -52,7 +52,7 @@ public: TYPEINFO_OVERRIDE(); SbStdPicture(); - virtual SbxVariable* Find( const OUString&, SbxClassType ); + virtual SbxVariable* Find( const OUString&, SbxClassType ) SAL_OVERRIDE; Graphic GetGraphic() const { return aGraphic; } void SetGraphic( const Graphic& rGrf ) { aGraphic = rGrf; } @@ -71,7 +71,7 @@ protected: ~SbStdFont(); virtual void SFX_NOTIFY( SfxBroadcaster& rBC, const TypeId& rBCType, - const SfxHint& rHint, const TypeId& rHintType ); + const SfxHint& rHint, const TypeId& rHintType ) SAL_OVERRIDE; void PropBold( SbxVariable* pVar, SbxArray* pPar, sal_Bool bWrite ); void PropItalic( SbxVariable* pVar, SbxArray* pPar, sal_Bool bWrite ); @@ -84,7 +84,7 @@ public: TYPEINFO_OVERRIDE(); SbStdFont(); - virtual SbxVariable* Find( const OUString&, SbxClassType ); + virtual SbxVariable* Find( const OUString&, SbxClassType ) SAL_OVERRIDE; void SetBold( sal_Bool bB ) { bBold = bB; } sal_Bool IsBold() const { return bBold; } @@ -107,7 +107,7 @@ protected: ~SbStdClipboard(); virtual void SFX_NOTIFY( SfxBroadcaster& rBC, const TypeId& rBCType, - const SfxHint& rHint, const TypeId& rHintType ); + const SfxHint& rHint, const TypeId& rHintType ) SAL_OVERRIDE; void MethClear( SbxVariable* pVar, SbxArray* pPar_, sal_Bool bWrite ); void MethGetData( SbxVariable* pVar, SbxArray* pPar_, sal_Bool bWrite ); @@ -120,7 +120,7 @@ public: TYPEINFO_OVERRIDE(); SbStdClipboard(); - virtual SbxVariable* Find( const OUString&, SbxClassType ); + virtual SbxVariable* Find( const OUString&, SbxClassType ) SAL_OVERRIDE; }; #endif // INCLUDED_BASIC_INC_SBSTDOBJ_HXX |