summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/kab/KServices.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/drivers/kab/KServices.cxx')
-rw-r--r--connectivity/source/drivers/kab/KServices.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/drivers/kab/KServices.cxx b/connectivity/source/drivers/kab/KServices.cxx
index b2d4ef8f3da8..94cc95b689cb 100644
--- a/connectivity/source/drivers/kab/KServices.cxx
+++ b/connectivity/source/drivers/kab/KServices.cxx
@@ -63,9 +63,9 @@ void REGISTER_PROVIDER(
const Reference< ::com::sun::star::registry::XRegistryKey > & xKey)
{
OUString aMainKeyName;
- aMainKeyName = OUString::createFromAscii("/");
+ aMainKeyName = OUString(RTL_CONSTASCII_USTRINGPARAM("/"));
aMainKeyName += aServiceImplName;
- aMainKeyName += OUString::createFromAscii("/UNO/SERVICES");
+ aMainKeyName += OUString(RTL_CONSTASCII_USTRINGPARAM("/UNO/SERVICES"));
Reference< ::com::sun::star::registry::XRegistryKey > xNewKey( xKey->createKey(aMainKeyName) );
OSL_ENSURE(xNewKey.is(), "KAB::component_writeInfo : could not create a registry key !");