[Libreoffice-commits] core.git: basic/inc basic/source
Arnaud Versini
arnaud.versini at gmail.com
Mon Jul 18 07:04:07 UTC 2016
basic/inc/sbstdobj.hxx | 7 ++-----
basic/source/runtime/stdobj1.cxx | 19 -------------------
2 files changed, 2 insertions(+), 24 deletions(-)
New commits:
commit ee2ad513de94ac395fd6be6f28c5202745ea7a2a
Author: Arnaud Versini <arnaud.versini at gmail.com>
Date: Sat Jul 16 21:49:06 2016 +0200
BASIC: Remove useless overrides
Change-Id: I49eb680bb0945a65a98978e98750fd62669fd820
Reviewed-on: https://gerrit.libreoffice.org/27255
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin at gmail.com>
diff --git a/basic/inc/sbstdobj.hxx b/basic/inc/sbstdobj.hxx
index 2b3bf05..cd420ac 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 e06c99d..5c2e6e0 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);
More information about the Libreoffice-commits
mailing list