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.hxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sc/inc/tabprotection.hxx b/sc/inc/tabprotection.hxx
index 2d75aa79857f..692952e6e948 100644
--- a/sc/inc/tabprotection.hxx
+++ b/sc/inc/tabprotection.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -107,7 +107,7 @@ public:
virtual bool isProtected() const;
virtual bool isProtectedWithPass() const;
virtual void setProtected(bool bProtected);
-
+
virtual bool isPasswordEmpty() const;
virtual bool hasPasswordHash(ScPasswordHash eHash, ScPasswordHash eHash2 = PASSHASH_UNSPECIFIED) const;
virtual void setPassword(const String& aPassText);
@@ -117,7 +117,7 @@ public:
const ::com::sun::star::uno::Sequence<sal_Int8>& aPassword,
ScPasswordHash eHash = PASSHASH_SHA1, ScPasswordHash eHash2 = PASSHASH_UNSPECIFIED);
virtual bool verifyPassword(const String& aPassText) const;
-
+
bool isOptionEnabled(Option eOption) const;
void setOption(Option eOption, bool bEnabled);
@@ -128,7 +128,7 @@ private:
// ============================================================================
/** sheet protection state container
-
+
This class stores sheet's protection state: 1) whether the protection
is on, 2) password and/or password hash, and 3) any associated
protection options. This class is also used as a protection state
@@ -166,7 +166,7 @@ public:
virtual bool isProtected() const;
virtual bool isProtectedWithPass() const;
virtual void setProtected(bool bProtected);
-
+
virtual bool isPasswordEmpty() const;
virtual bool hasPasswordHash(ScPasswordHash eHash, ScPasswordHash eHash2 = PASSHASH_UNSPECIFIED) const;
virtual void setPassword(const String& aPassText);
@@ -176,7 +176,7 @@ public:
const ::com::sun::star::uno::Sequence<sal_Int8>& aPassword,
ScPasswordHash eHash = PASSHASH_SHA1, ScPasswordHash eHash2 = PASSHASH_UNSPECIFIED);
virtual bool verifyPassword(const String& aPassText) const;
-
+
bool isOptionEnabled(Option eOption) const;
void setOption(Option eOption, bool bEnabled);