summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2016-05-24 23:50:07 -0400
committerJesse Luehrs <doy@tozt.net>2016-05-24 23:50:07 -0400
commit4071d6ab97ef6e85fed3c19a363fc02d7ae855ac (patch)
tree45a3ab7dc4dd99a2804a7156043e0b30bb50f36b
parentedd2ba9e1a8ebebc59f2510912dbd0378e2c8008 (diff)
downloadspreadsheet-parsexlsx-4071d6ab97ef6e85fed3c19a363fc02d7ae855ac.tar.gz
spreadsheet-parsexlsx-4071d6ab97ef6e85fed3c19a363fc02d7ae855ac.zip
fix some typos
-rw-r--r--lib/Spreadsheet/ParseXLSX.pm10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/Spreadsheet/ParseXLSX.pm b/lib/Spreadsheet/ParseXLSX.pm
index 7fea43a..7a9594a 100644
--- a/lib/Spreadsheet/ParseXLSX.pm
+++ b/lib/Spreadsheet/ParseXLSX.pm
@@ -872,12 +872,12 @@ sub _parse_styles {
$opts{FontNo} = 0+$xml_fmt->att('fontId');
}
if (!$ignore{IgnoreFill}) {
- $opts{Fill} = $fills[$xml_fmt->att('fillId')],
+ $opts{Fill} = $fills[$xml_fmt->att('fillId')];
}
if (!$ignore{IgnoreBorder}) {
- $opts{BdrStyle} = $borders[$xml_fmt->att('borderId')]{styles},
- $opts{BdrColor} = $borders[$xml_fmt->att('borderId')]{colors},
- $opts{BdrDiag} = $borders[$xml_fmt->att('borderId')]{diagonal},
+ $opts{BdrStyle} = $borders[$xml_fmt->att('borderId')]{styles};
+ $opts{BdrColor} = $borders[$xml_fmt->att('borderId')]{colors};
+ $opts{BdrDiag} = $borders[$xml_fmt->att('borderId')]{diagonal};
}
if (!$ignore{IgnoreAlignment} && $alignment) {
$opts{AlignH} = $halign{$alignment->att('horizontal') || 'general'};
@@ -894,7 +894,7 @@ sub _parse_styles {
if (!$ignore{IgnoreProtection} && $protection) {
$opts{Lock} = defined $protection->att('locked')
? $self->_xml_boolean($protection->att('locked'))
- : 1,
+ : 1;
$opts{Hidden} = $self->_xml_boolean($protection->att('hidden'));
}