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