diff options
Diffstat (limited to 'svgio/source/svgreader/svglinenode.cxx')
-rw-r--r-- | svgio/source/svgreader/svglinenode.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/svgio/source/svgreader/svglinenode.cxx b/svgio/source/svgreader/svglinenode.cxx index 877bd222014d..74e9facbf973 100644 --- a/svgio/source/svgreader/svglinenode.cxx +++ b/svgio/source/svgreader/svglinenode.cxx @@ -47,10 +47,8 @@ namespace svgio const SvgStyleAttributes* SvgLineNode::getSvgStyleAttributes() const { - static OUString aClassStr(OUString::createFromAscii("line")); - maSvgStyleAttributes.checkForCssStyle(aClassStr); - - return &maSvgStyleAttributes; + static rtl::OUString aClassStr(rtl::OUString::createFromAscii("line")); + return checkForCssStyle(aClassStr, maSvgStyleAttributes); } void SvgLineNode::parseAttribute(const OUString& rTokenName, SVGToken aSVGToken, const OUString& aContent) |