diff options
Diffstat (limited to 'connectivity/source/drivers/macab/MacabServices.cxx')
-rw-r--r-- | connectivity/source/drivers/macab/MacabServices.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/drivers/macab/MacabServices.cxx b/connectivity/source/drivers/macab/MacabServices.cxx index cc3535ec5586..368bbd3db2fb 100644 --- a/connectivity/source/drivers/macab/MacabServices.cxx +++ b/connectivity/source/drivers/macab/MacabServices.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(), "MACAB::component_writeInfo : could not create a registry key !"); |