fpspreadsheet: Fix incorrect right-to-left alignment of xlsx files introduced by prev commit.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6586 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
parent
1c7bd8d915
commit
9a3ee0016f
@ -2269,7 +2269,7 @@ begin
|
||||
s := Lowercase(GetAttrValue(sheetViewNode, 'rightToLeft'));
|
||||
if (s = '0') or (s = 'false') then
|
||||
sheet.BiDiMode := bdLTR
|
||||
else if (s = '1') = (s = 'true') then
|
||||
else if (s = '1') or (s = 'true') then
|
||||
sheet.BiDiMode := bdRTL;
|
||||
|
||||
childNode := sheetViewNode.FirstChild;
|
||||
|
Loading…
Reference in New Issue
Block a user