Kaydet (Commit) ee2ad513 authored tarafından Arnaud Versini's avatar Arnaud Versini Kaydeden (comit) Noel Grandin

BASIC: Remove useless overrides

Change-Id: I49eb680bb0945a65a98978e98750fd62669fd820
Reviewed-on: https://gerrit.libreoffice.org/27255Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarNoel Grandin <noelgrandin@gmail.com>
üst 76ad32be
......@@ -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
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment