diff options
author | Kevin Hunter <hunteke@earlham.edu> | 2010-11-18 18:47:55 -0500 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-11-19 09:55:14 +0000 |
commit | 9321d8acfed33545aecb18f2a6619041066cbc33 (patch) | |
tree | 3ffb4925e9095c9d35fa6297db57211ff51384fa /svtools/source/productregistration | |
parent | 324612c06bb1c16c575224d5791be1a0afee6a5e (diff) |
EasyHack: RTL_CONST macro from createFromAscii
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 1a76a939def7..001aa13d54c5 100644 --- a/svtools/source/productregistration/productregistration.cxx +++ b/svtools/source/productregistration/productregistration.cxx @@ -386,7 +386,7 @@ namespace svt } Sequence< NamedValue > aJobResponse( 1 ); - aJobResponse[0].Name = OUString::createFromAscii( "Deactivate" ); + aJobResponse[0].Name = OUString( RTL_CONSTASCII_USTRINGPARAM( "Deactivate" )); aJobResponse[0].Value <<= bDeactivateJob; aReturn <<= aJobResponse; } @@ -402,7 +402,7 @@ namespace svt { // create the Desktop component which can load components Reference< XSystemShellExecute > xSystemShell( - m_xORB->createInstance( OUString::createFromAscii( "com.sun.star.system.SystemShellExecute" ) ), + m_xORB->createInstance( OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.system.SystemShellExecute" )) ), UNO_QUERY ); OSL_ENSURE( xSystemShell.is(), "OProductRegistration::doOnlineRegistration: invalid SystemExecute component!" ); @@ -470,7 +470,7 @@ SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_writeInfo ( Reference< XRegistryKey > xNewKey; xNewKey = xRegistryKey->createKey( - OUString::createFromAscii( "/" PRODREG_IMPLNAME "/UNO/SERVICES" )); + OUString( RTL_CONSTASCII_USTRINGPARAM( "/" PRODREG_IMPLNAME "/UNO/SERVICES" ))); xNewKey->createKey( OUString::createFromAscii( PRODREG_SERVNAME )); |