From ec8ada57a756833027bf3edfefbe9efc2cd0431a Mon Sep 17 00:00:00 2001 From: wp_xxyyzz Date: Fri, 10 Aug 2018 15:12:39 +0000 Subject: [PATCH] fpspreadsheet: Fix reading of spurious cell borders of xlsx files written by PlanMaker. git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6587 8e941d3f-bd1b-0410-a28a-d453659cc2b4 --- components/fpspreadsheet/source/common/xlsxooxml.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/fpspreadsheet/source/common/xlsxooxml.pas b/components/fpspreadsheet/source/common/xlsxooxml.pas index 8a296795f..ad44a6c68 100644 --- a/components/fpspreadsheet/source/common/xlsxooxml.pas +++ b/components/fpspreadsheet/source/common/xlsxooxml.pas @@ -525,7 +525,7 @@ procedure TsSpreadOOXMLReader.ReadBorders(ANode: TDOMNode); ABorderStyle.Color := scBlack; s := GetAttrValue(ANode, 'style'); - if s = '' then + if (s = '') or (s = 'none') then exit; if s = 'thin' then