From 6d7982ec511aeb1a47c1fed803869bd568055893 Mon Sep 17 00:00:00 2001 From: FL Date: Wed, 18 Jun 2014 05:11:40 +0000 Subject: Correct locked cell detection (no information means locked). --- lib/Spreadsheet/ParseXLSX.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Spreadsheet/ParseXLSX.pm b/lib/Spreadsheet/ParseXLSX.pm index d5f7781..77e83e7 100644 --- a/lib/Spreadsheet/ParseXLSX.pm +++ b/lib/Spreadsheet/ParseXLSX.pm @@ -515,7 +515,7 @@ sub _parse_styles { Lock => $protection ? $protection->att('locked') - : 0, + : 1, Hidden => $protection ? $protection->att('hidden') : 0, -- cgit v1.2.3-54-g00ecf