summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2018-02-23 20:34:27 +0100
committerEike Rathke <erack@redhat.com>2018-02-24 11:47:09 +0100
commit4446ac904ebaa0b2ba0fed17f2f8fd39d3a3c7fb (patch)
treecdfb8366c20b0568cb73e4f7f12a1a12a8f96ac3
parentf1fb9932492249ec3f1546e79be8b3be7fb195f3 (diff)
Hold ScOoxPasswordHash at ScTableProtectionImpl, tdf#104250 prep
Change-Id: I8a3e7e0a29058708ac0a2c5b78afc69bf7bf04a6
-rw-r--r--sc/source/core/data/tabprotection.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/core/data/tabprotection.cxx b/sc/source/core/data/tabprotection.cxx
index 9a4a8bdde26d..9eefbfce4c97 100644
--- a/sc/source/core/data/tabprotection.cxx
+++ b/sc/source/core/data/tabprotection.cxx
@@ -132,6 +132,7 @@ private:
bool mbProtected;
ScPasswordHash meHash1;
ScPasswordHash meHash2;
+ ScOoxPasswordHash maPasswordHash;
::std::vector< ScEnhancedProtection > maEnhancedProtection;
};
@@ -198,6 +199,7 @@ ScTableProtectionImpl::ScTableProtectionImpl(const ScTableProtectionImpl& r) :
mbProtected(r.mbProtected),
meHash1(r.meHash1),
meHash2(r.meHash2),
+ maPasswordHash(r.maPasswordHash),
maEnhancedProtection(r.maEnhancedProtection)
{
}