summaryrefslogtreecommitdiffstats
path: root/sc/inc/tabprotection.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-03-27 18:12:18 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-03-27 18:12:18 +0100
commit567ef6d5782cdb729b49005caf6005610ce03e22 (patch)
tree7e3be1da41382e555d9091914ef7e064852a4fd4 /sc/inc/tabprotection.hxx
parentIntroduce INetContentType::scan (diff)
downloadcore-567ef6d5782cdb729b49005caf6005610ce03e22.tar.gz
core-567ef6d5782cdb729b49005caf6005610ce03e22.zip
Second batch of adding SAL_OVERRIDE to overriding function declarations
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: Ie656f9d653fc716f72ac175925272696d509038f
Diffstat (limited to 'sc/inc/tabprotection.hxx')
-rw-r--r--sc/inc/tabprotection.hxx36
1 files changed, 18 insertions, 18 deletions
diff --git a/sc/inc/tabprotection.hxx b/sc/inc/tabprotection.hxx
index 0133286364f1..a224dc80a10e 100644
--- a/sc/inc/tabprotection.hxx
+++ b/sc/inc/tabprotection.hxx
@@ -90,19 +90,19 @@ public:
explicit ScDocProtection(const ScDocProtection& r);
virtual ~ScDocProtection();
- virtual bool isProtected() const;
- virtual bool isProtectedWithPass() const;
- virtual void setProtected(bool bProtected);
+ virtual bool isProtected() const SAL_OVERRIDE;
+ virtual bool isProtectedWithPass() const SAL_OVERRIDE;
+ virtual void setProtected(bool bProtected) SAL_OVERRIDE;
- virtual bool isPasswordEmpty() const;
- virtual bool hasPasswordHash(ScPasswordHash eHash, ScPasswordHash eHash2 = PASSHASH_UNSPECIFIED) const;
- virtual void setPassword(const OUString& aPassText);
+ virtual bool isPasswordEmpty() const SAL_OVERRIDE;
+ virtual bool hasPasswordHash(ScPasswordHash eHash, ScPasswordHash eHash2 = PASSHASH_UNSPECIFIED) const SAL_OVERRIDE;
+ virtual void setPassword(const OUString& aPassText) SAL_OVERRIDE;
virtual ::com::sun::star::uno::Sequence<sal_Int8> getPasswordHash(
- ScPasswordHash eHash, ScPasswordHash eHash2 = PASSHASH_UNSPECIFIED) const;
+ ScPasswordHash eHash, ScPasswordHash eHash2 = PASSHASH_UNSPECIFIED) const SAL_OVERRIDE;
virtual void setPasswordHash(
const ::com::sun::star::uno::Sequence<sal_Int8>& aPassword,
- ScPasswordHash eHash = PASSHASH_SHA1, ScPasswordHash eHash2 = PASSHASH_UNSPECIFIED);
- virtual bool verifyPassword(const OUString& aPassText) const;
+ ScPasswordHash eHash = PASSHASH_SHA1, ScPasswordHash eHash2 = PASSHASH_UNSPECIFIED) SAL_OVERRIDE;
+ virtual bool verifyPassword(const OUString& aPassText) const SAL_OVERRIDE;
bool isOptionEnabled(Option eOption) const;
void setOption(Option eOption, bool bEnabled);
@@ -160,19 +160,19 @@ public:
explicit ScTableProtection(const ScTableProtection& r);
virtual ~ScTableProtection();
- virtual bool isProtected() const;
- virtual bool isProtectedWithPass() const;
- virtual void setProtected(bool bProtected);
+ virtual bool isProtected() const SAL_OVERRIDE;
+ virtual bool isProtectedWithPass() const SAL_OVERRIDE;
+ virtual void setProtected(bool bProtected) SAL_OVERRIDE;
- virtual bool isPasswordEmpty() const;
- virtual bool hasPasswordHash(ScPasswordHash eHash, ScPasswordHash eHash2 = PASSHASH_UNSPECIFIED) const;
- virtual void setPassword(const OUString& aPassText);
+ virtual bool isPasswordEmpty() const SAL_OVERRIDE;
+ virtual bool hasPasswordHash(ScPasswordHash eHash, ScPasswordHash eHash2 = PASSHASH_UNSPECIFIED) const SAL_OVERRIDE;
+ virtual void setPassword(const OUString& aPassText) SAL_OVERRIDE;
virtual ::com::sun::star::uno::Sequence<sal_Int8> getPasswordHash(
- ScPasswordHash eHash, ScPasswordHash eHash2 = PASSHASH_UNSPECIFIED) const;
+ ScPasswordHash eHash, ScPasswordHash eHash2 = PASSHASH_UNSPECIFIED) const SAL_OVERRIDE;
virtual void setPasswordHash(
const ::com::sun::star::uno::Sequence<sal_Int8>& aPassword,
- ScPasswordHash eHash = PASSHASH_SHA1, ScPasswordHash eHash2 = PASSHASH_UNSPECIFIED);
- virtual bool verifyPassword(const OUString& aPassText) const;
+ ScPasswordHash eHash = PASSHASH_SHA1, ScPasswordHash eHash2 = PASSHASH_UNSPECIFIED) SAL_OVERRIDE;
+ virtual bool verifyPassword(const OUString& aPassText) const SAL_OVERRIDE;
bool isOptionEnabled(Option eOption) const;
void setOption(Option eOption, bool bEnabled);