remove usage of RTL_CONSTASCII_USTRINGPARAM

Mechanical removal of usage together with OUString ctor, done
by compiler plugin.

Change-Id: I554227f76df0dac620b1b46fca32516f78b462c5
This commit is contained in:
Luboš Luňák
2013-05-06 16:32:22 +02:00
parent d01768c31a
commit e2e2cc6114
218 changed files with 954 additions and 1061 deletions

View File

@@ -55,9 +55,8 @@ namespace cppu_threadpool {
{
throw css::lang::DisposedException(
rtl::OUString(
RTL_CONSTASCII_USTRINGPARAM(
"cppu_threadpool::ORequestThread created after"
" cppu_threadpool::ThreadAdmin has been disposed")),
" cppu_threadpool::ThreadAdmin has been disposed"),
css::uno::Reference< css::uno::XInterface >());
}
m_lst.push_back( p );

View File

@@ -224,7 +224,7 @@ void getCascadeMapping(uno_Mapping ** ppMapping,
if (pAddPurpose && pAddPurpose->length)
return;
rtl::OUString uno_envType(RTL_CONSTASCII_USTRINGPARAM(UNO_LB_UNO));
rtl::OUString uno_envType(UNO_LB_UNO);
rtl::OUString from_envType = cppu::EnvDcp::getTypeName(pFrom->pTypeName);
rtl::OUString to_envType = cppu::EnvDcp::getTypeName(pTo->pTypeName);

View File

@@ -1075,7 +1075,7 @@ static bool loadEnv(OUString const & cLibStem,
if (!hMod)
return false;
OUString aSymbolName(RTL_CONSTASCII_USTRINGPARAM(UNO_INIT_ENVIRONMENT));
OUString aSymbolName(UNO_INIT_ENVIRONMENT);
uno_initEnvironmentFunc fpInit = (uno_initEnvironmentFunc)
::osl_getFunctionSymbol( hMod, aSymbolName.pData );

View File

@@ -430,7 +430,7 @@ static Mapping loadExternalMapping(
if (hModule)
{
OUString aSymbolName( RTL_CONSTASCII_USTRINGPARAM(UNO_EXT_GETMAPPING) );
OUString aSymbolName( UNO_EXT_GETMAPPING );
uno_ext_getMappingFunc fpGetMapFunc =
(uno_ext_getMappingFunc)::osl_getFunctionSymbol(
hModule, aSymbolName.pData );
@@ -507,7 +507,7 @@ static Mapping getMediateMapping(
// backwards: from dest to source of mapping chain
// connect to uno
OUString aUnoEnvTypeName( RTL_CONSTASCII_USTRINGPARAM(UNO_LB_UNO) );
OUString aUnoEnvTypeName( UNO_LB_UNO );
if (rTo.getTypeName() == aUnoEnvTypeName) // to is uno
{
aUno = rTo;