From 31090f663aa3fbc26472806da406dc4756dff036 Mon Sep 17 00:00:00 2001 From: wp_xxyyzz Date: Mon, 3 Aug 2015 21:12:11 +0000 Subject: [PATCH] fpspreadsheet: Fix incorrect "Continue" in TsSpreadOOXMLReader.ReadFrom(Stream|File) git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4242 8e941d3f-bd1b-0410-a28a-d453659cc2b4 --- components/fpspreadsheet/xlsxooxml.pas | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/components/fpspreadsheet/xlsxooxml.pas b/components/fpspreadsheet/xlsxooxml.pas index ed635edd0..2cec876af 100755 --- a/components/fpspreadsheet/xlsxooxml.pas +++ b/components/fpspreadsheet/xlsxooxml.pas @@ -2004,7 +2004,8 @@ begin fn_comments := 'comments1.xml' else // this sheet does not have any cell comments - continue; + fn_comments := ''; + //continue; // Extract texts from the comments file found and apply to worksheet. if fn_comments <> '' then @@ -2161,7 +2162,8 @@ begin fn_comments := 'comments1.xml' else // This sheet does not have any cell comments at all - continue; + fn_comments := ''; + //continue; finally XMLStream.Free; end;