summaryrefslogtreecommitdiff
path: root/sc/inc/tabprotection.hxx
diff options
context:
space:
mode:
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);