summaryrefslogtreecommitdiffstats
path: root/sc/inc/tabprotection.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-10-02 16:36:28 +0200
committerNoel Grandin <noel@peralex.com>2013-10-04 09:09:49 +0200
commitf1503007a8daaa3dcd561248740d285804313d9d (patch)
tree2f53d2413a76ec39ea2fc4d2d4787a327144b9e8 /sc/inc/tabprotection.hxx
parentconvert sc/inc/view*.hxx from String to OUString (diff)
downloadcore-f1503007a8daaa3dcd561248740d285804313d9d.tar.gz
core-f1503007a8daaa3dcd561248740d285804313d9d.zip
convert sc/inc/t*.hxx from String to OUString
Change-Id: I23838bc08a625ebf438f0c6352a1bf86c728713b
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 c0b0e3a6e9ff..7703ffb5676e 100644
--- a/sc/inc/tabprotection.hxx
+++ b/sc/inc/tabprotection.hxx
@@ -65,13 +65,13 @@ public:
virtual bool isPasswordEmpty() const = 0;
virtual bool hasPasswordHash(ScPasswordHash eHash, ScPasswordHash eHash2 = PASSHASH_UNSPECIFIED) const = 0;
- virtual void setPassword(const String& aPassText) = 0;
+ virtual void setPassword(const OUString& aPassText) = 0;
virtual ::com::sun::star::uno::Sequence<sal_Int8> getPasswordHash(
ScPasswordHash eHash, ScPasswordHash eHas2 = PASSHASH_UNSPECIFIED) const = 0;
virtual void setPasswordHash(
const ::com::sun::star::uno::Sequence<sal_Int8>& aPassword,
ScPasswordHash eHash = PASSHASH_SHA1, ScPasswordHash eHash2 = PASSHASH_UNSPECIFIED) = 0;
- virtual bool verifyPassword(const String& aPassText) const = 0;
+ virtual bool verifyPassword(const OUString& aPassText) const = 0;
};
class SC_DLLPUBLIC ScDocProtection : public ScPassHashProtectable
@@ -95,13 +95,13 @@ public:
virtual bool isPasswordEmpty() const;
virtual bool hasPasswordHash(ScPasswordHash eHash, ScPasswordHash eHash2 = PASSHASH_UNSPECIFIED) const;
- virtual void setPassword(const String& aPassText);
+ virtual void setPassword(const OUString& aPassText);
virtual ::com::sun::star::uno::Sequence<sal_Int8> getPasswordHash(
ScPasswordHash eHash, ScPasswordHash eHash2 = PASSHASH_UNSPECIFIED) const;
virtual void setPasswordHash(
const ::com::sun::star::uno::Sequence<sal_Int8>& aPassword,
ScPasswordHash eHash = PASSHASH_SHA1, ScPasswordHash eHash2 = PASSHASH_UNSPECIFIED);
- virtual bool verifyPassword(const String& aPassText) const;
+ virtual bool verifyPassword(const OUString& aPassText) const;
bool isOptionEnabled(Option eOption) const;
void setOption(Option eOption, bool bEnabled);
@@ -152,13 +152,13 @@ public:
virtual bool isPasswordEmpty() const;
virtual bool hasPasswordHash(ScPasswordHash eHash, ScPasswordHash eHash2 = PASSHASH_UNSPECIFIED) const;
- virtual void setPassword(const String& aPassText);
+ virtual void setPassword(const OUString& aPassText);
virtual ::com::sun::star::uno::Sequence<sal_Int8> getPasswordHash(
ScPasswordHash eHash, ScPasswordHash eHash2 = PASSHASH_UNSPECIFIED) const;
virtual void setPasswordHash(
const ::com::sun::star::uno::Sequence<sal_Int8>& aPassword,
ScPasswordHash eHash = PASSHASH_SHA1, ScPasswordHash eHash2 = PASSHASH_UNSPECIFIED);
- virtual bool verifyPassword(const String& aPassText) const;
+ virtual bool verifyPassword(const OUString& aPassText) const;
bool isOptionEnabled(Option eOption) const;
void setOption(Option eOption, bool bEnabled);