summaryrefslogtreecommitdiff
path: root/svgio
diff options
context:
space:
mode:
authorChr. Rossmanith <ChrRossmanith@gmx.de>2013-11-03 13:41:40 +0100
committerChristina Roßmanith <ChrRossmanith@web.de>2013-11-17 13:27:51 -0600
commit1d89cd08ab3566375e30b17f1b17bc240ca907a4 (patch)
tree7d346f444294c35db9d5361e76f163adb152b5a0 /svgio
parent59c0051b26c28a0b277a83177f7e7d5db012b6cf (diff)
Use CSS style attributes for top level svg node
Change-Id: I1f1958e0e03868167a65a2186f955a085676f9d9 Reviewed-on: https://gerrit.libreoffice.org/6563 Reviewed-by: Christina Roßmanith <ChrRossmanith@web.de> Tested-by: Christina Roßmanith <ChrRossmanith@web.de>
Diffstat (limited to 'svgio')
-rw-r--r--svgio/source/svgreader/svgsvgnode.cxx2
1 files changed, 1 insertions, 1 deletions
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)