diff options
author | FL <f20@reckon.co.uk> | 2014-07-05 12:08:53 +0000 |
---|---|---|
committer | FL <f20@reckon.co.uk> | 2014-07-05 12:08:53 +0000 |
commit | d72a257f454b8b1d3ad93cde2a43f37df4f2ddd7 (patch) | |
tree | e1f460bb1059f8184da8e2c8825b4ff82312bd5d /lib | |
parent | f4bed8b118ab6ebd6253f904ec98a828dbe6d259 (diff) | |
download | spreadsheet-parsexlsx-d72a257f454b8b1d3ad93cde2a43f37df4f2ddd7.tar.gz spreadsheet-parsexlsx-d72a257f454b8b1d3ad93cde2a43f37df4f2ddd7.zip |
Improve locked cell detection for cells with hidden formulas. Add test for locked cell detection.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Spreadsheet/ParseXLSX.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Spreadsheet/ParseXLSX.pm b/lib/Spreadsheet/ParseXLSX.pm index 77e83e7..d20d734 100644 --- a/lib/Spreadsheet/ParseXLSX.pm +++ b/lib/Spreadsheet/ParseXLSX.pm @@ -513,7 +513,7 @@ sub _parse_styles { Font => $font[$_->att('fontId')], FmtIdx => 0+$_->att('numFmtId'), - Lock => $protection + Lock => $protection && defined $protection->att('locked') ? $protection->att('locked') : 1, Hidden => $protection |