diff options
author | Noel Grandin <noel@peralex.com> | 2013-12-13 10:54:12 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-12-17 11:49:04 +0200 |
commit | 909b27df488f3c84ab8e5be9a7513a83b7c4b0c1 (patch) | |
tree | 2d17bbce7f9fa40fca140696648ec136a12f63d1 /stoc | |
parent | Remove unnecessary use of OUString constructor in + expressions (diff) | |
download | core-909b27df488f3c84ab8e5be9a7513a83b7c4b0c1.tar.gz core-909b27df488f3c84ab8e5be9a7513a83b7c4b0c1.zip |
remove unnecessary double calls to OUString constructor
Change-Id: Ib2690e3ec9987b97363687b61fe8ddae4ace9058
Diffstat (limited to 'stoc')
-rw-r--r-- | stoc/source/namingservice/namingservice.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stoc/source/namingservice/namingservice.cxx b/stoc/source/namingservice/namingservice.cxx index 31639fb60f0a..98be298326b7 100644 --- a/stoc/source/namingservice/namingservice.cxx +++ b/stoc/source/namingservice/namingservice.cxx @@ -52,7 +52,7 @@ namespace stoc_namingservice static Sequence< OUString > ns_getSupportedServiceNames() { Sequence< OUString > seqNames(1); - seqNames.getArray()[0] = OUString(SERVICENAME); + seqNames.getArray()[0] = SERVICENAME; return seqNames; } @@ -100,7 +100,7 @@ public: throw(::com::sun::star::uno::RuntimeException); static Sequence< OUString > SAL_CALL getSupportedServiceNames_Static() { - OUString aStr( OUString(SERVICENAME) ); + OUString aStr( SERVICENAME ); return Sequence< OUString >( &aStr, 1 ); } |