summaryrefslogtreecommitdiff
path: root/svgio/source/svgreader/svggnode.cxx
diff options
context:
space:
mode:
authorArmin Le Grand <alg@apache.org>2012-07-25 08:28:44 +0000
committerArmin Le Grand <alg@apache.org>2012-07-25 08:28:44 +0000
commit37446076e684a0d0de448366ab927531e3b54bba (patch)
tree62baf443259effccad52f015e47210955ea069ea /svgio/source/svgreader/svggnode.cxx
parent5ee3e9d6c1c20966dc53d5b5b468496d2f4517e4 (diff)
#120334# Added support for multiple CSS styles per graphic primitive in SVG
Notes
Notes: merged as: f75ca1fdad1094fbea4bb6cb0e3cc9458700c470
Diffstat (limited to 'svgio/source/svgreader/svggnode.cxx')
-rw-r--r--svgio/source/svgreader/svggnode.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/svgio/source/svgreader/svggnode.cxx b/svgio/source/svgreader/svggnode.cxx
index fa756b7eb0f9..6d37dbf3e048 100644
--- a/svgio/source/svgreader/svggnode.cxx
+++ b/svgio/source/svgreader/svggnode.cxx
@@ -51,9 +51,8 @@ namespace svgio
const SvgStyleAttributes* SvgGNode::getSvgStyleAttributes() const
{
static rtl::OUString aClassStr(rtl::OUString::createFromAscii("g"));
- maSvgStyleAttributes.checkForCssStyle(aClassStr);
- return &maSvgStyleAttributes;
+ return checkForCssStyle(aClassStr, maSvgStyleAttributes);
}
void SvgGNode::parseAttribute(const rtl::OUString& rTokenName, SVGToken aSVGToken, const rtl::OUString& aContent)