fpspreadsheet: Fix CF background test case for ODS.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7562 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
wp_xxyyzz
2020-07-24 20:54:10 +00:00
parent 5a5883a156
commit ea07a82dbf

View File

@ -1206,7 +1206,9 @@ var
fmt: TsCellFormat; fmt: TsCellFormat;
begin begin
InitFormatRecord(fmt); InitFormatRecord(fmt);
fmt.SetBackground(fsHatchDiag, scYellow, scRed); // ODS supports only solid fill
//fmt.SetBackground(fsHatchDiag, scYellow, scRed);
fmt.SetBackground(fsSolidFill, scYellow, scYellow);
TestWriteRead_CF_CellFmt(sfOpenDocument, cfcEqual, 5, fmt); TestWriteRead_CF_CellFmt(sfOpenDocument, cfcEqual, 5, fmt);
end; end;