summaryrefslogtreecommitdiff
path: root/sw/source/filter/html/css1atr.cxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2020-01-17 10:48:20 +0100
committerMiklos Vajna <vmiklos@collabora.com>2020-01-17 12:18:35 +0100
commit1655819c8914efad28f218f56d8d89d4e4bd9488 (patch)
treecc5acf384518b2005b6d160b2473ea08572a2c45 /sw/source/filter/html/css1atr.cxx
parent51b700af340775be8ee1bf0da322a2f3dc01bb1b (diff)
sw reqif-xhtml export: fix not needed font name/size
The only reason commit 4cd3c436923bfba281b1bf16d9785208a2119cea (sw reqif-xhtml export: limit values of the style attribute, 2018-04-11) missed these is because they write their css properties directly, not going via SwHTMLWriter::OutCSS1_Property(). Also adapt testReqIfWellFormed: its intention was to make sure that in case these properties are written, then inline CSS is used: that is true for XHTML, but not for ReqIF-XHTML. Change-Id: I4ceb2bb09187101baa6f4a74d65aaa4dc955511f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86962 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'sw/source/filter/html/css1atr.cxx')
-rw-r--r--sw/source/filter/html/css1atr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/html/css1atr.cxx b/sw/source/filter/html/css1atr.cxx
index 709da0fbc878..0a48de57e35c 100644
--- a/sw/source/filter/html/css1atr.cxx
+++ b/sw/source/filter/html/css1atr.cxx
@@ -183,6 +183,7 @@ OString lclConvToHex(sal_uInt16 nHex)
return OString(aNToABuf, 2);
}
+}
/// Determines if rProperty has to be suppressed due to ReqIF mode.
bool IgnorePropertyForReqIF(bool bReqIF, const OString& rProperty)
@@ -199,7 +200,6 @@ bool IgnorePropertyForReqIF(bool bReqIF, const OString& rProperty)
return true;
}
-}
OString GetCSS1_Color(const Color& rColor)
{