diff options
Diffstat (limited to 'svgio/source/svgreader/svggradientnode.cxx')
-rw-r--r-- | svgio/source/svgreader/svggradientnode.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/svgio/source/svgreader/svggradientnode.cxx b/svgio/source/svgreader/svggradientnode.cxx index 1778e48341bf..675a648393d0 100644 --- a/svgio/source/svgreader/svggradientnode.cxx +++ b/svgio/source/svgreader/svggradientnode.cxx @@ -64,11 +64,8 @@ namespace svgio const SvgStyleAttributes* SvgGradientNode::getSvgStyleAttributes() const { - OUString aClassStrA("linearGradient"); - OUString aClassStrB("radialGradient"); - return checkForCssStyle( - SVGTokenLinearGradient == getType() ? aClassStrA : aClassStrB, + SVGTokenLinearGradient == getType() ? OUString("linearGradient") : OUString("radialGradient"), maSvgStyleAttributes); } |