From 09d9d95789b581b9629515b32e716972fb032a06 Mon Sep 17 00:00:00 2001 From: wp_xxyyzz Date: Mon, 2 Jun 2014 19:33:02 +0000 Subject: [PATCH] fpspreadsheet: Fix incorrect detection of number format with thousand separator in ods git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3128 8e941d3f-bd1b-0410-a28a-d453659cc2b4 --- components/fpspreadsheet/fpsopendocument.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/fpspreadsheet/fpsopendocument.pas b/components/fpspreadsheet/fpsopendocument.pas index c23433fcf..0906a0c95 100755 --- a/components/fpspreadsheet/fpsopendocument.pas +++ b/components/fpspreadsheet/fpsopendocument.pas @@ -910,7 +910,7 @@ begin nf := nfGeneral else begin decs := StrToInt(s); - grouping := GetAttrValue(node, 'grouping') = 'true'; + grouping := GetAttrValue(node, 'number:grouping') = 'true'; nf := IfThen(grouping, nfFixedTh, nfFixed); end; fmt := BuildNumberFormatString(nf, Workbook.FormatSettings, decs);