From 1d89cd08ab3566375e30b17f1b17bc240ca907a4 Mon Sep 17 00:00:00 2001 From: "Chr. Rossmanith" Date: Sun, 3 Nov 2013 13:41:40 +0100 Subject: Use CSS style attributes for top level svg node MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I1f1958e0e03868167a65a2186f955a085676f9d9 Reviewed-on: https://gerrit.libreoffice.org/6563 Reviewed-by: Christina Roßmanith Tested-by: Christina Roßmanith --- svgio/source/svgreader/svgsvgnode.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svgio') diff --git a/svgio/source/svgreader/svgsvgnode.cxx b/svgio/source/svgreader/svgsvgnode.cxx index 0bf1b4555d0a..8e107c650c70 100644 --- a/svgio/source/svgreader/svgsvgnode.cxx +++ b/svgio/source/svgreader/svgsvgnode.cxx @@ -60,7 +60,7 @@ namespace svgio const SvgStyleAttributes* SvgSvgNode::getSvgStyleAttributes() const { - return &maSvgStyleAttributes; + return checkForCssStyle(OUString("svg"), maSvgStyleAttributes); } void SvgSvgNode::parseAttribute(const OUString& rTokenName, SVGToken aSVGToken, const OUString& aContent) -- cgit v1.2.3