diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-03-26 16:37:00 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-03-26 16:39:26 +0100 |
commit | 70cc2b191b95fbc210bc1f0f6a7159f341894f0f (patch) | |
tree | a70f4957c454b443520cbf91250c41d9eea80017 /idl/inc/hash.hxx | |
parent | 8757bea2e88c6e349e1fe98d8e9695d7b9c6179e (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/hash.hxx')
-rw-r--r-- | idl/inc/hash.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/idl/inc/hash.hxx b/idl/inc/hash.hxx index 6a29ef5f3ba9..d08a545ce75f 100644 --- a/idl/inc/hash.hxx +++ b/idl/inc/hash.hxx @@ -100,14 +100,14 @@ class SvStringHashTable : public SvHashTable { SvStringHashEntry* pEntries; protected: - virtual sal_uInt32 HashFunc( const OString& rElement ) const; - virtual bool equals( const OString &rElement, sal_uInt32 nIndex ) const; + virtual sal_uInt32 HashFunc( const OString& rElement ) const SAL_OVERRIDE; + virtual bool equals( const OString &rElement, sal_uInt32 nIndex ) const SAL_OVERRIDE; public: SvStringHashTable( sal_uInt32 nMaxEntries ); // max size of hash-tabel virtual ~SvStringHashTable(); OString GetNearString( const OString& rName ) const; - virtual sal_Bool IsEntry( sal_uInt32 nIndex ) const; + virtual sal_Bool IsEntry( sal_uInt32 nIndex ) const SAL_OVERRIDE; sal_Bool Insert( const OString& rStr, sal_uInt32 * pHash ); // insert string sal_Bool Test( const OString& rStr, sal_uInt32 * pHash ) const; // test of insert string |