From b18474f98685f97d23036c08aee5d226d097a952 Mon Sep 17 00:00:00 2001 From: wp_xxyyzz Date: Tue, 18 May 2021 10:43:34 +0000 Subject: [PATCH] fpspreadsheet: Remove comment about to do item regarding writing of conditional fonts in xlsx. git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8037 8e941d3f-bd1b-0410-a28a-d453659cc2b4 --- components/fpspreadsheet/source/common/xlsxooxml.pas | 7 ------- 1 file changed, 7 deletions(-) diff --git a/components/fpspreadsheet/source/common/xlsxooxml.pas b/components/fpspreadsheet/source/common/xlsxooxml.pas index 898d8df24..1ac41613b 100644 --- a/components/fpspreadsheet/source/common/xlsxooxml.pas +++ b/components/fpspreadsheet/source/common/xlsxooxml.pas @@ -6591,15 +6591,8 @@ begin ''); { font } - // TODO: Fix font handling: although correct in syntax something seems to be missing... if (uffFont in AFormat^.UsedFormattingFields) then begin - (* - AFormat^.UsedFormattingFields := AFormat^.UsedFormattingfields - [uffFont]; // trying to make the file readable... - FWorkbook.AddErrorMsg('Writing conditional font not supported by XLSX writer.'); - { - *) - font := TsWorkbook(FWorkbook).GetFont(AFormat^.FontIndex); if font <> nil then begin