summaryrefslogtreecommitdiffstats
path: root/sc/inc/tabprotection.hxx
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2014-04-08 13:49:42 +0200
committerEike Rathke <erack@redhat.com>2014-04-08 14:44:26 +0200
commit3974d6a2d96ec3facf529a4e54a2db63783961dd (patch)
treef2da545c50f0d53578b078749861da29588b5f14 /sc/inc/tabprotection.hxx
parentopenssl: fix WNT patch to apply (diff)
downloadcore-3974d6a2d96ec3facf529a4e54a2db63783961dd.tar.gz
core-3974d6a2d96ec3facf529a4e54a2db63783961dd.zip
read the defined password attributes
Change-Id: I67be85bdcfb5c03349daeff69fbb09291ce4a8e3
Diffstat (limited to 'sc/inc/tabprotection.hxx')
-rw-r--r--sc/inc/tabprotection.hxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/sc/inc/tabprotection.hxx b/sc/inc/tabprotection.hxx
index 2dc798c96e20..b057ad08fb0f 100644
--- a/sc/inc/tabprotection.hxx
+++ b/sc/inc/tabprotection.hxx
@@ -121,8 +121,13 @@ struct ScEnhancedProtection
OUString maTitle;
::std::vector< sal_uInt8 > maSecurityDescriptor; // imported as raw BIFF data
OUString maSecurityDescriptorXML; // imported from OOXML
+ // OOXML password definitions
+ OUString maAlgorithmName;
+ OUString maHashValue;
+ OUString maSaltValue;
+ sal_uInt32 mnSpinCount;
- ScEnhancedProtection() : mnAreserved(0), mnPasswordVerifier(0) {}
+ ScEnhancedProtection() : mnAreserved(0), mnPasswordVerifier(0), mnSpinCount(0) {}
bool hasSecurityDescriptor() const
{