summaryrefslogtreecommitdiff
path: root/idl/inc/basobj.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-03-26 16:37:00 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-03-26 16:39:26 +0100
commit70cc2b191b95fbc210bc1f0f6a7159f341894f0f (patch)
treea70f4957c454b443520cbf91250c41d9eea80017 /idl/inc/basobj.hxx
parent8757bea2e88c6e349e1fe98d8e9695d7b9c6179e (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 'idl/inc/basobj.hxx')
-rw-r--r--idl/inc/basobj.hxx26
1 files changed, 13 insertions, 13 deletions
diff --git a/idl/inc/basobj.hxx b/idl/inc/basobj.hxx
index 0bb8a79d93a4..623dedb72ca7 100644
--- a/idl/inc/basobj.hxx
+++ b/idl/inc/basobj.hxx
@@ -135,10 +135,10 @@ public:
virtual const SvString& GetDescription() const{ return aDescription; }
virtual sal_Bool Test( SvIdlDataBase &, SvTokenStream & rInStm );
- virtual sal_Bool ReadSvIdl( SvIdlDataBase &, SvTokenStream & rInStm );
- virtual void WriteSvIdl( SvIdlDataBase & rBase, SvStream & rOutStm, sal_uInt16 nTab );
+ virtual sal_Bool ReadSvIdl( SvIdlDataBase &, SvTokenStream & rInStm ) SAL_OVERRIDE;
+ virtual void WriteSvIdl( SvIdlDataBase & rBase, SvStream & rOutStm, sal_uInt16 nTab ) SAL_OVERRIDE;
virtual void Write( SvIdlDataBase & rBase, SvStream & rOutStm, sal_uInt16 nTab,
- WriteType, WriteAttribute = 0);
+ WriteType, WriteAttribute = 0) SAL_OVERRIDE;
void WriteDescription( SvStream& rOutStm );
};
SV_DECL_IMPL_REF(SvMetaName)
@@ -155,7 +155,7 @@ public:
SV_DECL_META_FACTORY1( SvMetaReference, SvMetaName, 17 )
SvMetaReference();
- const SvString & GetName() const
+ const SvString & GetName() const SAL_OVERRIDE
{
return ( !aRef.Is()
|| !SvMetaName::GetName().getString().isEmpty() )
@@ -163,7 +163,7 @@ public:
: aRef->GetName();
}
- const SvString & GetHelpText() const
+ const SvString & GetHelpText() const SAL_OVERRIDE
{
return ( !aRef.Is()
|| !SvMetaName::GetHelpText().getString().isEmpty() )
@@ -171,7 +171,7 @@ public:
: aRef->GetHelpText();
}
- const SvString & GetConfigName() const
+ const SvString & GetConfigName() const SAL_OVERRIDE
{
return ( !aRef.Is()
|| !SvMetaName::GetConfigName().getString().isEmpty() )
@@ -179,7 +179,7 @@ public:
: aRef->GetConfigName();
}
- const SvString & GetDescription() const
+ const SvString & GetDescription() const SAL_OVERRIDE
{
return ( !aRef.Is()
|| !SvMetaName::GetDescription().getString().isEmpty() )
@@ -213,17 +213,17 @@ public:
const SvGlobalName &GetUUId() const;
const SvVersion & GetVersion() const { return aVersion; }
void SetModule( SvIdlDataBase & rBase );
- virtual sal_Bool ReadSvIdl( SvIdlDataBase &, SvTokenStream & rInStm );
- virtual void WriteSvIdl( SvIdlDataBase & rBase, SvStream & rOutStm, sal_uInt16 nTab );
+ virtual sal_Bool ReadSvIdl( SvIdlDataBase &, SvTokenStream & rInStm ) SAL_OVERRIDE;
+ virtual void WriteSvIdl( SvIdlDataBase & rBase, SvStream & rOutStm, sal_uInt16 nTab ) SAL_OVERRIDE;
virtual void Write( SvIdlDataBase & rBase, SvStream & rOutStm, sal_uInt16 nTab,
- WriteType, WriteAttribute = 0);
+ WriteType, WriteAttribute = 0) SAL_OVERRIDE;
protected:
- virtual void ReadAttributesSvIdl( SvIdlDataBase &, SvTokenStream & rInStm );
+ virtual void ReadAttributesSvIdl( SvIdlDataBase &, SvTokenStream & rInStm ) SAL_OVERRIDE;
virtual void WriteAttributesSvIdl( SvIdlDataBase & rBase,
- SvStream & rOutStm, sal_uInt16 nTab );
+ SvStream & rOutStm, sal_uInt16 nTab ) SAL_OVERRIDE;
virtual void WriteAttributes( SvIdlDataBase & rBase, SvStream & rOutStm, sal_uInt16 nTab,
- WriteType, WriteAttribute = 0);
+ WriteType, WriteAttribute = 0) SAL_OVERRIDE;
};
SV_DECL_IMPL_REF(SvMetaExtern)