fpspreadsheet: Fix xlsx reader incorrectly detecting word wrap.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5756 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
wp_xxyyzz
2017-02-18 20:23:25 +00:00
parent b00e9fa332
commit a306981b46

View File

@ -904,7 +904,7 @@ begin
fmt.BiDiMode := TsBiDiMode(StrToInt(s1));
s1 := GetAttrValue(childNode, 'wrapText');
if (s1 <> '0') then
if (s1 <> '') and (s1 <> '0') then
Include(fmt.UsedFormattingFields, uffWordWrap);
s1 := GetAttrValue(childNode, 'textRotation');