summaryrefslogtreecommitdiff
path: root/sc/inc/tabprotection.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-02-07 12:27:16 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-02-07 12:36:01 +0100
commitbdf2fcd5afb4a4fb1fe0683cf07a8beec78dcc04 (patch)
tree43dcaaa4325b8a76d2099f1dd74a2ea232ad2a67 /sc/inc/tabprotection.hxx
parentcfa3d6e562e758cbc18a099aa2a87309735ddf84 (diff)
loplugin:deletedspecial
Change-Id: Ieeca9fe957e7bc6a4cf9d7d6ac57f9ed150aab78
Diffstat (limited to 'sc/inc/tabprotection.hxx')
-rw-r--r--sc/inc/tabprotection.hxx15
1 files changed, 5 insertions, 10 deletions
diff --git a/sc/inc/tabprotection.hxx b/sc/inc/tabprotection.hxx
index 0843a1fde1dc..1458399fd9c2 100644
--- a/sc/inc/tabprotection.hxx
+++ b/sc/inc/tabprotection.hxx
@@ -37,23 +37,18 @@ enum ScPasswordHash
PASSHASH_UNSPECIFIED
};
-class ScPassHashHelper
+namespace ScPassHashHelper
{
-public:
/** Check for the compatibility of all password hashes. If there is at
* least one hash that needs to be regenerated, it returns true. If all
* hash values are compatible with the specified hash type, then it
* returns false. */
- static bool needsPassHashRegen(const ScDocument& rDoc, ScPasswordHash eHash1, ScPasswordHash eHash2 = PASSHASH_UNSPECIFIED);
-
- static OUString getHashURI(ScPasswordHash eHash);
+ bool needsPassHashRegen(const ScDocument& rDoc, ScPasswordHash eHash1, ScPasswordHash eHash2 = PASSHASH_UNSPECIFIED);
- static ScPasswordHash getHashTypeFromURI(const OUString& rURI);
+ OUString getHashURI(ScPasswordHash eHash);
-private:
- ScPassHashHelper();
- ~ScPassHashHelper();
-};
+ ScPasswordHash getHashTypeFromURI(const OUString& rURI);
+}
class SAL_NO_VTABLE ScPassHashProtectable
{