diff options
author | Julien Nabet <serval@ilapharm.com> | 2010-11-23 22:41:07 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2010-11-24 07:56:52 +0100 |
commit | 648589a0bd6c72b8b6b125644b43c6efad17ead1 (patch) | |
tree | 9c519a5c237c05f2e8541f0afa1e646e4e154381 /extensions/source/abpilot/unodialogabp.cxx | |
parent | 95e7e542438384975a95e7309e23a07a0986fcc7 (diff) |
RTL patch
Diffstat (limited to 'extensions/source/abpilot/unodialogabp.cxx')
-rw-r--r-- | extensions/source/abpilot/unodialogabp.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/extensions/source/abpilot/unodialogabp.cxx b/extensions/source/abpilot/unodialogabp.cxx index 2d7c8633489c..5eb4b1d7681a 100644 --- a/extensions/source/abpilot/unodialogabp.cxx +++ b/extensions/source/abpilot/unodialogabp.cxx @@ -120,7 +120,7 @@ namespace abp //--------------------------------------------------------------------- ::rtl::OUString OABSPilotUno::getImplementationName_Static() throw(RuntimeException) { - return ::rtl::OUString::createFromAscii("org.openoffice.comp.abp.OAddressBookSourcePilot"); + return ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("org.openoffice.comp.abp.OAddressBookSourcePilot")); } //--------------------------------------------------------------------- @@ -133,7 +133,7 @@ namespace abp ::comphelper::StringSequence OABSPilotUno::getSupportedServiceNames_Static() throw(RuntimeException) { ::comphelper::StringSequence aSupported(1); - aSupported.getArray()[0] = ::rtl::OUString::createFromAscii("com.sun.star.ui.dialogs.AddressBookSourcePilot"); + aSupported.getArray()[0] = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.ui.dialogs.AddressBookSourcePilot")); return aSupported; } @@ -177,7 +177,7 @@ namespace abp // (or he can start it again by using wizard-menu!) // So we should deregister it on our general job execution service by using right protocol parameters. ::com::sun::star::uno::Sequence< ::com::sun::star::beans::NamedValue > lProtocol(1); - lProtocol[0].Name = ::rtl::OUString::createFromAscii("Deactivate"); + lProtocol[0].Name = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Deactivate")); lProtocol[0].Value <<= sal_True; return makeAny( lProtocol ); } |