summaryrefslogtreecommitdiff
path: root/stoc/source/corereflection/crefl.cxx
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2013-05-06 16:32:22 +0200
committerLuboš Luňák <l.lunak@suse.cz>2013-05-06 16:51:45 +0200
commite2e2cc61144cb22227eebfadff0ea24b51ccfbd0 (patch)
tree8063275cabcdf32e30c37451a32d96db5929561a /stoc/source/corereflection/crefl.cxx
parentd01768c31a0658c8a74e0dd3a95b2d781639d18e (diff)
remove usage of RTL_CONSTASCII_USTRINGPARAM
Mechanical removal of usage together with OUString ctor, done by compiler plugin. Change-Id: I554227f76df0dac620b1b46fca32516f78b462c5
Diffstat (limited to 'stoc/source/corereflection/crefl.cxx')
-rw-r--r--stoc/source/corereflection/crefl.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/stoc/source/corereflection/crefl.cxx b/stoc/source/corereflection/crefl.cxx
index eec2d87a9cbc..866c78ae0d4a 100644
--- a/stoc/source/corereflection/crefl.cxx
+++ b/stoc/source/corereflection/crefl.cxx
@@ -46,13 +46,13 @@ static const sal_Int32 CACHE_SIZE = 256;
static Sequence< OUString > core_getSupportedServiceNames()
{
Sequence< OUString > seqNames(1);
- seqNames.getArray()[0] = OUString( RTL_CONSTASCII_USTRINGPARAM(SERVICENAME) );
+ seqNames.getArray()[0] = OUString( SERVICENAME );
return seqNames;
}
static OUString core_getImplementationName()
{
- return OUString(RTL_CONSTASCII_USTRINGPARAM(IMPLNAME));
+ return OUString(IMPLNAME);
}
//__________________________________________________________________________________________________
IdlReflectionServiceImpl::IdlReflectionServiceImpl(
@@ -368,7 +368,7 @@ Reference< XIdlClass > IdlReflectionServiceImpl::forType( typelib_TypeDescriptio
return xRet;
}
throw RuntimeException(
- OUString( RTL_CONSTASCII_USTRINGPARAM("IdlReflectionServiceImpl::forType() failed!") ),
+ OUString( "IdlReflectionServiceImpl::forType() failed!" ),
(XWeak *)(OWeakObject *)this );
}
@@ -382,8 +382,8 @@ const Mapping & IdlReflectionServiceImpl::getCpp2Uno()
if (! _aCpp2Uno.is())
{
_aCpp2Uno = Mapping(
- OUString( RTL_CONSTASCII_USTRINGPARAM(CPPU_CURRENT_LANGUAGE_BINDING_NAME) ),
- OUString( RTL_CONSTASCII_USTRINGPARAM(UNO_LB_UNO) ) );
+ OUString( CPPU_CURRENT_LANGUAGE_BINDING_NAME ),
+ OUString( UNO_LB_UNO ) );
OSL_ENSURE( _aCpp2Uno.is(), "### cannot get c++ to uno mapping!" );
if (! _aCpp2Uno.is())
{
@@ -405,8 +405,8 @@ const Mapping & IdlReflectionServiceImpl::getUno2Cpp()
if (! _aUno2Cpp.is())
{
_aUno2Cpp = Mapping(
- OUString( RTL_CONSTASCII_USTRINGPARAM(UNO_LB_UNO) ),
- OUString( RTL_CONSTASCII_USTRINGPARAM(CPPU_CURRENT_LANGUAGE_BINDING_NAME) ) );
+ OUString( UNO_LB_UNO ),
+ OUString( CPPU_CURRENT_LANGUAGE_BINDING_NAME ) );
OSL_ENSURE( _aUno2Cpp.is(), "### cannot get uno to c++ mapping!" );
if (! _aUno2Cpp.is())
{