diff options
author | Eike Rathke <erack@redhat.com> | 2014-04-08 12:33:04 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2014-04-08 12:39:19 +0200 |
commit | 477050b3c00038883d03c979a150fdb720809c1b (patch) | |
tree | a71096194060d588400a4f5ce875f3351341c700 /sc | |
parent | 40a61d93ade494fa98c23a9fd8776c8dadf8f30f (diff) |
read title/name first to easier spot and identify ranges
Change-Id: I62befc64e833c6b28688bac1548f7b56bd001402
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/oox/worksheetsettings.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/oox/worksheetsettings.cxx b/sc/source/filter/oox/worksheetsettings.cxx index a5f863431501..01804dc52fe5 100644 --- a/sc/source/filter/oox/worksheetsettings.cxx +++ b/sc/source/filter/oox/worksheetsettings.cxx @@ -137,6 +137,7 @@ void WorksheetSettings::importProtectedRanges( const AttributeList& rAttribs ) void WorksheetSettings::importProtectedRange( const AttributeList& rAttribs ) { ScEnhancedProtection aProt; + aProt.maTitle = rAttribs.getString( XML_name, OUString()); /* XXX ECMA-376/OOXML XMLSchema and ISO/IEC 29500 say 'securityDescriptor' * would be an element, but Excel2013 stores it as attribute. */ aProt.maSecurityDescriptorXML = rAttribs.getString( XML_securityDescriptor, OUString()); @@ -145,7 +146,6 @@ void WorksheetSettings::importProtectedRange( const AttributeList& rAttribs ) * similar to BIFF. OOXML XMLschema and ISO/IEC 29500 instead define * 'algorithmName', 'hashValue', 'saltValue' and 'spinCount'. */ aProt.mnPasswordVerifier = rAttribs.getIntegerHex( XML_password, 0); - aProt.maTitle = rAttribs.getString( XML_name, OUString()); OUString aRefs( rAttribs.getString( XML_sqref, OUString())); if (!aRefs.isEmpty()) { |