fpspreadsheet: Avoid modification of Short/LongDateFormat in the workbook's FormatSettings. (see http://forum.lazarus.freepascal.org/index.php/topic,34988.msg230513/topicseen.html)

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5401 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
wp_xxyyzz
2016-12-01 23:59:21 +00:00
parent 697bfb6bec
commit 592312d0d7

View File

@@ -7576,8 +7576,8 @@ begin
FUnits := suMillimeters; // Units for column width and row height
FormatSettings := UTF8FormatSettings;
FormatSettings.ShortDateFormat := MakeShortDateFormat(FormatSettings.ShortDateFormat);
FormatSettings.LongDateFormat := MakeLongDateFormat(FormatSettings.ShortDateFormat);
// FormatSettings.ShortDateFormat := MakeShortDateFormat(FormatSettings.ShortDateFormat);
// FormatSettings.LongDateFormat := MakeLongDateFormat(FormatSettings.ShortDateFormat);
FFontList := TFPList.Create;
SetDefaultFont(DEFAULT_FONTNAME, DEFAULT_FONTSIZE);