summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}