diff options
author | Noel Grandin <noel@peralex.com> | 2013-11-20 16:21:34 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-11-21 13:29:29 +0200 |
commit | 89633c6da1cde46983926dcc2e0f8e08de0e9378 (patch) | |
tree | 243f049b51b9f404e8697781dfada6c20ff0fee1 /svgio/source/svgreader/svglinenode.cxx | |
parent | 2a46a01902bccd1f025cce92ce6d32efbabf6825 (diff) |
remove unnecessary use of OUString::createFromAscii
Convert code like this:
OUString aStrSpacing(OUString::createFromAscii("spacing"));
to:
OUString aStrSpacing("spacing");
Change-Id: Ia2b7d6b42f35d33cfe587a0d6668030f3537fa6d
Diffstat (limited to 'svgio/source/svgreader/svglinenode.cxx')
-rw-r--r-- | svgio/source/svgreader/svglinenode.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/svgio/source/svgreader/svglinenode.cxx b/svgio/source/svgreader/svglinenode.cxx index aebefe7fdd9c..84aaa4beefa4 100644 --- a/svgio/source/svgreader/svglinenode.cxx +++ b/svgio/source/svgreader/svglinenode.cxx @@ -47,8 +47,7 @@ namespace svgio const SvgStyleAttributes* SvgLineNode::getSvgStyleAttributes() const { - static rtl::OUString aClassStr(rtl::OUString::createFromAscii("line")); - return checkForCssStyle(aClassStr, maSvgStyleAttributes); + return checkForCssStyle(OUString("line"), maSvgStyleAttributes); } void SvgLineNode::parseAttribute(const OUString& rTokenName, SVGToken aSVGToken, const OUString& aContent) |