summaryrefslogtreecommitdiff
path: root/i18npool/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-10 08:11:39 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-10 08:11:39 +0100
commit4eccdab6fca3b256caab59a7cc01d0c4e7f47183 (patch)
tree6626f055138859987ea18ad378b595f72f60537a /i18npool/source
parent03d9c3d67d062f23d58497f80932fa734122f857 (diff)
New loplugin:conststringvar: i18npool
Change-Id: Ic02549364d0499c453f88bda358c78fce7fc4343
Diffstat (limited to 'i18npool/source')
-rw-r--r--i18npool/source/nativenumber/nativenumbersupplier.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/i18npool/source/nativenumber/nativenumbersupplier.cxx b/i18npool/source/nativenumber/nativenumbersupplier.cxx
index 15678594bb4b..35a3b2e9e88d 100644
--- a/i18npool/source/nativenumber/nativenumbersupplier.cxx
+++ b/i18npool/source/nativenumber/nativenumbersupplier.cxx
@@ -1030,11 +1030,11 @@ OUString SAL_CALL getCyrillicNativeNumberString(const OUString& aNumberString)
return aNumberString;
}
-static const sal_Char* implementationName = "com.sun.star.i18n.NativeNumberSupplier";
+static const sal_Char implementationName[] = "com.sun.star.i18n.NativeNumberSupplier";
OUString SAL_CALL NativeNumberSupplierService::getImplementationName() throw( RuntimeException, std::exception )
{
- return OUString::createFromAscii( implementationName );
+ return OUString(implementationName);
}
sal_Bool SAL_CALL
@@ -1046,7 +1046,7 @@ NativeNumberSupplierService::supportsService(const OUString& rServiceName) throw
Sequence< OUString > SAL_CALL
NativeNumberSupplierService::getSupportedServiceNames() throw( RuntimeException, std::exception )
{
- Sequence< OUString > aRet { OUString::createFromAscii( implementationName ) };
+ Sequence< OUString > aRet {implementationName};
return aRet;
}