diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-07-06 16:33:10 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-07-06 21:27:30 +0200 |
commit | fafc6f046f9e92d5776d31ea6abb188ec74aaa71 (patch) | |
tree | 253d4950f2e7098eaf6e08d8c630de5a852ce0b7 /include | |
parent | 510209df4bcf457cac819e75889d564d620f119d (diff) |
sw HTML export: avoid writing <font> in XHTML mode
First, it should be <$prefix:font>, not <font>, but then XHTML prefers
CSS for font color.
Change-Id: I947c0b93a117c8e88e4aec91c3c7f843bd943c59
Reviewed-on: https://gerrit.libreoffice.org/57085
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins
Diffstat (limited to 'include')
-rw-r--r-- | include/svtools/htmlout.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svtools/htmlout.hxx b/include/svtools/htmlout.hxx index 3d95640e29cb..3adbb23db673 100644 --- a/include/svtools/htmlout.hxx +++ b/include/svtools/htmlout.hxx @@ -66,7 +66,7 @@ struct HTMLOutFuncs rtl_TextEncoding eDestEnc, OUString *pNonConvertableChars = nullptr ); SVT_DLLPUBLIC static SvStream& Out_Hex( SvStream&, sal_uLong nHex, sal_uInt8 nLen ); - SVT_DLLPUBLIC static SvStream& Out_Color( SvStream&, const Color& ); + SVT_DLLPUBLIC static SvStream& Out_Color( SvStream&, const Color&, bool bXHTML = false ); SVT_DLLPUBLIC static SvStream& Out_ImageMap( SvStream&, const OUString&, const ImageMap&, const OUString&, const HTMLOutEvent *pEventTable, bool bOutStarBasic, |