diff options
author | Gert Faller <gertfaller@aliceadsl.fr> | 2010-11-25 21:39:00 +0100 |
---|---|---|
committer | Gert Faller <gertfaller@aliceadsl.fr> | 2010-11-25 21:39:00 +0100 |
commit | 41f8880d52735a052ab5359981b4b187627a4bdc (patch) | |
tree | c7878df45da5b08006e789b1f46f411327bb2850 /svtools/source/productregistration | |
parent | 261b50b8826153d36054df889c74a0f805848247 (diff) |
RTL_CONSTASCII_USTRINGPARAM in libs-gui 18
Diffstat (limited to 'svtools/source/productregistration')
-rw-r--r-- | svtools/source/productregistration/productregistration.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svtools/source/productregistration/productregistration.cxx b/svtools/source/productregistration/productregistration.cxx index 001aa13d54c5..ff4ed10bf4f0 100644 --- a/svtools/source/productregistration/productregistration.cxx +++ b/svtools/source/productregistration/productregistration.cxx @@ -104,14 +104,14 @@ namespace svt //-------------------------------------------------------------------- OUString SAL_CALL OProductRegistration::getImplementationName_Static( ) { - return OUString::createFromAscii( PRODREG_IMPLNAME ); + return OUString(RTL_CONSTASCII_USTRINGPARAM( PRODREG_IMPLNAME )); } //-------------------------------------------------------------------- Sequence< OUString > SAL_CALL OProductRegistration::getSupportedServiceNames_Static( ) throw (RuntimeException) { Sequence< OUString > aServiceNames( 1 ); - aServiceNames[ 0 ] = OUString::createFromAscii( PRODREG_SERVNAME ); + aServiceNames[ 0 ] = OUString(RTL_CONSTASCII_USTRINGPARAM( PRODREG_SERVNAME )); return aServiceNames; } @@ -472,7 +472,7 @@ SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_writeInfo ( xNewKey = xRegistryKey->createKey( OUString( RTL_CONSTASCII_USTRINGPARAM( "/" PRODREG_IMPLNAME "/UNO/SERVICES" ))); xNewKey->createKey( - OUString::createFromAscii( PRODREG_SERVNAME )); + OUString(RTL_CONSTASCII_USTRINGPARAM( PRODREG_SERVNAME ))); return sal_True; } |