From e2e2cc61144cb22227eebfadff0ea24b51ccfbd0 Mon Sep 17 00:00:00 2001 From: Luboš Luňák Date: Mon, 6 May 2013 16:32:22 +0200 Subject: remove usage of RTL_CONSTASCII_USTRINGPARAM Mechanical removal of usage together with OUString ctor, done by compiler plugin. Change-Id: I554227f76df0dac620b1b46fca32516f78b462c5 --- cppu/source/uno/cascade_mapping.cxx | 2 +- cppu/source/uno/lbenv.cxx | 2 +- cppu/source/uno/lbmap.cxx | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'cppu/source/uno') diff --git a/cppu/source/uno/cascade_mapping.cxx b/cppu/source/uno/cascade_mapping.cxx index 5e53ea8d476c..bc954c67ba73 100644 --- a/cppu/source/uno/cascade_mapping.cxx +++ b/cppu/source/uno/cascade_mapping.cxx @@ -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); diff --git a/cppu/source/uno/lbenv.cxx b/cppu/source/uno/lbenv.cxx index 23373182b84e..27a1027c9a6a 100644 --- a/cppu/source/uno/lbenv.cxx +++ b/cppu/source/uno/lbenv.cxx @@ -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 ); diff --git a/cppu/source/uno/lbmap.cxx b/cppu/source/uno/lbmap.cxx index f699cee57964..65d47760d6ee 100644 --- a/cppu/source/uno/lbmap.cxx +++ b/cppu/source/uno/lbmap.cxx @@ -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; -- cgit v1.2.3