fpspreadsheet: Fix ODS reader's incorrect usage of cell borders in files written by Excel.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3589 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
wp_xxyyzz
2014-09-22 11:15:55 +00:00
parent 094bb314fc
commit 04beab04d1

View File

@ -2185,7 +2185,7 @@ begin
bkClr := HTMLColorStrToColor(s);
// Borders
s := GetAttrValue(styleChildNode, 'fo:border');
if (s <>'') then begin
if (s <>'') and (s <> 'none') then begin
borders := borders + [cbNorth, cbSouth, cbEast, cbWest];
SetBorderStyle(cbNorth, s);
SetBorderStyle(cbSouth, s);