diff options
author | Arnaud Versini <arnaud.versini@gmail.com> | 2016-07-16 21:49:06 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-07-18 07:03:43 +0000 |
commit | ee2ad513de94ac395fd6be6f28c5202745ea7a2a (patch) | |
tree | b04a9fc0e9d28f793bd504d76162ac60644237b6 /basic | |
parent | 76ad32bec8e2c00c21247041b16d9e09e73d2504 (diff) |
BASIC: Remove useless overrides
Change-Id: I49eb680bb0945a65a98978e98750fd62669fd820
Reviewed-on: https://gerrit.libreoffice.org/27255
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'basic')
-rw-r--r-- | basic/inc/sbstdobj.hxx | 7 | ||||
-rw-r--r-- | basic/source/runtime/stdobj1.cxx | 19 |
2 files changed, 2 insertions, 24 deletions
diff --git a/basic/inc/sbstdobj.hxx b/basic/inc/sbstdobj.hxx index 2b3bf05ebbfb..cd420ac32e29 100644 --- a/basic/inc/sbstdobj.hxx +++ b/basic/inc/sbstdobj.hxx @@ -40,7 +40,7 @@ class BASIC_DLLPUBLIC SbStdPicture : public SbxObject protected: Graphic aGraphic; - virtual ~SbStdPicture(); + virtual ~SbStdPicture(); virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override; void PropType( SbxVariable* pVar, SbxArray* pPar, bool bWrite ); @@ -50,7 +50,6 @@ protected: public: SbStdPicture(); - virtual SbxVariable* Find( const OUString&, SbxClassType ) override; const Graphic& GetGraphic() const { return aGraphic; } void SetGraphic( const Graphic& rGrf ) { aGraphic = rGrf; } @@ -67,7 +66,7 @@ protected: sal_uInt16 nSize; OUString aName; - virtual ~SbStdFont(); + virtual ~SbStdFont(); virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override; void PropBold( SbxVariable* pVar, SbxArray* pPar, bool bWrite ); @@ -80,7 +79,6 @@ protected: public: SbStdFont(); - virtual SbxVariable* Find( const OUString&, SbxClassType ) override; void SetBold( bool bB ) { bBold = bB; } bool IsBold() const { return bBold; } @@ -114,7 +112,6 @@ protected: public: SbStdClipboard(); - virtual SbxVariable* Find( const OUString&, SbxClassType ) override; }; #endif // INCLUDED_BASIC_INC_SBSTDOBJ_HXX diff --git a/basic/source/runtime/stdobj1.cxx b/basic/source/runtime/stdobj1.cxx index e06c99d6d685..5c2e6e071983 100644 --- a/basic/source/runtime/stdobj1.cxx +++ b/basic/source/runtime/stdobj1.cxx @@ -127,13 +127,6 @@ SbStdPicture::~SbStdPicture() } -SbxVariable* SbStdPicture::Find( const OUString& rName, SbxClassType t ) -{ - // entered already? - return SbxObject::Find( rName, t ); -} - - void SbStdPicture::Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) { @@ -253,11 +246,6 @@ SbStdFont::~SbStdFont() { } -SbxVariable* SbStdFont::Find( const OUString& rName, SbxClassType t ) -{ - return SbxObject::Find( rName, t ); -} - void SbStdFont::Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) { const SbxHint* pHint = dynamic_cast<const SbxHint*>(&rHint); @@ -413,13 +401,6 @@ SbStdClipboard::~SbStdClipboard() { } - -SbxVariable* SbStdClipboard::Find( const OUString& rName, SbxClassType t ) -{ - return SbxObject::Find( rName, t ); -} - - void SbStdClipboard::Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) { const SbxHint* pHint = dynamic_cast<const SbxHint*>(&rHint); |