diff options
author | Noel Grandin <noel@peralex.com> | 2014-11-03 14:03:54 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-11-05 08:44:19 +0200 |
commit | 705c48d32eec0aa5180e60ca157daca4b154e4a3 (patch) | |
tree | 97f43496f4b429a2b8d03b1e71cb2a1c33142a15 /svgio/source/svguno/xsvgparser.cxx | |
parent | b7d8a58ff2698ffc6e22943f64aa97c5ea253bd9 (diff) |
fdo#38835 strip out OUString globals
they are largely unnecessary these days, since our OUString infrastructure
gained optimised handling for static char constants.
Change-Id: I07f73484f82d0582252cb4324d4107c998432c37
Diffstat (limited to 'svgio/source/svguno/xsvgparser.cxx')
-rw-r--r-- | svgio/source/svguno/xsvgparser.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/svgio/source/svguno/xsvgparser.cxx b/svgio/source/svguno/xsvgparser.cxx index 988469889668..29ece61e2777 100644 --- a/svgio/source/svguno/xsvgparser.cxx +++ b/svgio/source/svguno/xsvgparser.cxx @@ -70,10 +70,9 @@ namespace svgio { uno::Sequence< OUString > XSvgParser_getSupportedServiceNames() { - static OUString aServiceName("com.sun.star.graphic.SvgTools" ); - static uno::Sequence< OUString > aServiceNames( &aServiceName, 1 ); - - return( aServiceNames ); + OUString aServiceName("com.sun.star.graphic.SvgTools" ); + uno::Sequence< OUString > aServiceNames( &aServiceName, 1 ); + return aServiceNames; } OUString XSvgParser_getImplementationName() |