fpspreadsheet: Fix workaround in previous commit which did not work.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3121 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
wp_xxyyzz
2014-06-01 13:44:02 +00:00
parent 6f96f3bcb6
commit 27967f5e66

View File

@ -906,7 +906,6 @@ begin
then begin
fmtName := GetAttrValue(NumFormatNode, 'style:name');
fmt := '';
sep := ' '; // part of date/time separator workaround
node := NumFormatNode.FirstChild;
while Assigned(node) do begin
if node.NodeName = 'number:year' then begin
@ -970,6 +969,7 @@ begin
Remove this once a patch giving access to PreserveSpaces in xmlRead
is included in fpc. }
sep := node.TextContent;
if sep = '' then sep := ' ';
fmt := fmt + sep;
end;
node := node.NextSibling;