diff options
author | Eike Rathke <erack@redhat.com> | 2018-02-24 15:06:28 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2018-02-24 21:02:41 +0100 |
commit | 0423db153603368a69297e5309d3065d57c4d068 (patch) | |
tree | 00601ce1249180f59fe2aa0262381fe96da798d3 /sc/inc/tabprotection.hxx | |
parent | c6eb3bf58c9c236dc7fe47fb9c4df7dd2a98c2d0 (diff) |
Add ScTableProtectionImpl::setPasswordHash() for OOXML, tdf#104250 prep
Change-Id: I9589f750cf2f69f4b725cd351aa9ef3749190431
Diffstat (limited to 'sc/inc/tabprotection.hxx')
-rw-r--r-- | sc/inc/tabprotection.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sc/inc/tabprotection.hxx b/sc/inc/tabprotection.hxx index f33981699b9b..4c9edcb2f4cc 100644 --- a/sc/inc/tabprotection.hxx +++ b/sc/inc/tabprotection.hxx @@ -88,6 +88,8 @@ public: virtual void setPasswordHash( const css::uno::Sequence<sal_Int8>& aPassword, ScPasswordHash eHash, ScPasswordHash eHash2 = PASSHASH_UNSPECIFIED) = 0; + virtual void setPasswordHash( const OUString& rAlgorithmName, const OUString& rHashValue, + const OUString& rSaltValue, sal_uInt32 nSpinCount ) = 0; virtual bool verifyPassword(const OUString& aPassText) const = 0; }; @@ -117,6 +119,8 @@ public: virtual void setPasswordHash( const css::uno::Sequence<sal_Int8>& aPassword, ScPasswordHash eHash, ScPasswordHash eHash2 = PASSHASH_UNSPECIFIED) override; + virtual void setPasswordHash( const OUString& rAlgorithmName, const OUString& rHashValue, + const OUString& rSaltValue, sal_uInt32 nSpinCount ) override; virtual bool verifyPassword(const OUString& aPassText) const override; bool isOptionEnabled(Option eOption) const; @@ -198,6 +202,8 @@ public: virtual void setPasswordHash( const css::uno::Sequence<sal_Int8>& aPassword, ScPasswordHash eHash, ScPasswordHash eHash2 = PASSHASH_UNSPECIFIED) override; + virtual void setPasswordHash( const OUString& rAlgorithmName, const OUString& rHashValue, + const OUString& rSaltValue, sal_uInt32 nSpinCount ) override; virtual bool verifyPassword(const OUString& aPassText) const override; bool isOptionEnabled(Option eOption) const; |