summaryrefslogtreecommitdiff
path: root/remotebridges
diff options
context:
space:
mode:
authorGert Faller <gertfaller@aliceadsl.fr>2010-12-10 18:54:29 +0100
committerGert Faller <gertfaller@aliceadsl.fr>2010-12-10 18:54:29 +0100
commitab1751a151512e5e56f6641a639124a618028bd9 (patch)
tree4b5c11a865bd645ff6dd1a7f268fc3333ca965dd /remotebridges
parent3a18c3d97abfb60a09cc6a8bd5dd163fe2cfafa3 (diff)
RTL_CONSTASCII_USTRINGPARAM in ure 2
Diffstat (limited to 'remotebridges')
-rw-r--r--remotebridges/examples/officeclient.cxx10
-rw-r--r--remotebridges/source/factory/bridgefactory.cxx2
2 files changed, 6 insertions, 6 deletions
diff --git a/remotebridges/examples/officeclient.cxx b/remotebridges/examples/officeclient.cxx
index 9e01f0fa4445..c6c7d3af7335 100644
--- a/remotebridges/examples/officeclient.cxx
+++ b/remotebridges/examples/officeclient.cxx
@@ -116,13 +116,13 @@ void OfficeClientMain::registerServices( )
OUString aSharedLibrary[4];
aSharedLibrary[0] =
- OUString::createFromAscii( "connector.uno" SAL_DLLEXTENSION );
+ OUString(RTL_CONSTASCII_USTRINGPARAM( "connector.uno" SAL_DLLEXTENSION ));
aSharedLibrary[1] =
- OUString::createFromAscii( "remotebridge.uno" SAL_DLLEXTENSION );
+ OUString(RTL_CONSTASCII_USTRINGPARAM( "remotebridge.uno" SAL_DLLEXTENSION ));
aSharedLibrary[2] =
- OUString::createFromAscii( "bridgefac.uno" SAL_DLLEXTENSION );
+ OUString(RTL_CONSTASCII_USTRINGPARAM( "bridgefac.uno" SAL_DLLEXTENSION ));
aSharedLibrary[3] =
- OUString::createFromAscii( "uuresolver.uno" SAL_DLLEXTENSION );
+ OUString(RTL_CONSTASCII_USTRINGPARAM( "uuresolver.uno" SAL_DLLEXTENSION ));
sal_Int32 i;
for( i = 0 ; i < 4 ; i ++ )
@@ -293,7 +293,7 @@ sal_Bool SAL_CALL component_writeInfo(
{
Reference< XRegistryKey > xNewKey(
reinterpret_cast< XRegistryKey * >( pRegistryKey )->createKey(
- OUString::createFromAscii( "/" IMPLEMENTATION_NAME "/UNO/SERVICES" ) ) );
+ OUString(RTL_CONSTASCII_USTRINGPARAM( "/" IMPLEMENTATION_NAME "/UNO/SERVICES" )) ) );
const Sequence< OUString > & rSNL = getSupportedServiceNames();
const OUString * pArray = rSNL.getConstArray();
diff --git a/remotebridges/source/factory/bridgefactory.cxx b/remotebridges/source/factory/bridgefactory.cxx
index a52ac0bea2f1..0e3726f3eae5 100644
--- a/remotebridges/source/factory/bridgefactory.cxx
+++ b/remotebridges/source/factory/bridgefactory.cxx
@@ -419,7 +419,7 @@ namespace remotebridges_factory
if( !pNames )
{
static Sequence< OUString > seqNames(1);
- seqNames.getArray()[0] = OUString::createFromAscii( SERVICE_NAME );
+ seqNames.getArray()[0] = OUString(RTL_CONSTASCII_USTRINGPARAM( SERVICE_NAME ));
pNames = &seqNames;
}
}