summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2023-08-04 10:01:26 +0200
committerSzymon Kłos <szymon.klos@collabora.com>2023-08-11 09:45:58 +0200
commit0a549b2c9595cd076e3b503b67df93bff380885a (patch)
tree89b4ca36981695328339fc630abfc541cd303951 /filter
parent01938c0447e395f15fb370f6f5b231fee424aa1c (diff)
svg: export text decoration for text run not paragraph
Previously we exported text-decoration and other properties for whole paragraph what was overriding run properties. So we reused properties of the first run for all other runs in the paragraph. Change that so we write font properties for individual runs only. Change-Id: Ie30f0166132b2ee302d0fdd12e7eb3ee36766a33 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155348 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Diffstat (limited to 'filter')
-rw-r--r--filter/source/svg/svgwriter.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/filter/source/svg/svgwriter.cxx b/filter/source/svg/svgwriter.cxx
index 97e1c74c082b..4df1352ddc10 100644
--- a/filter/source/svg/svgwriter.cxx
+++ b/filter/source/svg/svgwriter.cxx
@@ -1349,7 +1349,6 @@ void SVGTextWriter::startTextParagraph()
mrExport.AddAttribute( XML_NAMESPACE_NONE, "class", "TextParagraph" );
}
maParentFont = vcl::Font();
- addFontAttributes( /* isTexTContainer: */ true );
mpTextParagraphElem.reset(new SvXMLElementExport( mrExport, XML_NAMESPACE_NONE, aXMLElemTspan, mbIWS, mbIWS ));
if( !mbIsListLevelStyleImage )