diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2013-05-06 16:32:22 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2013-05-06 16:51:45 +0200 |
commit | e2e2cc61144cb22227eebfadff0ea24b51ccfbd0 (patch) | |
tree | 8063275cabcdf32e30c37451a32d96db5929561a /stoc/source/registry_tdprovider/tdservice.cxx | |
parent | d01768c31a0658c8a74e0dd3a95b2d781639d18e (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/registry_tdprovider/tdservice.cxx')
-rw-r--r-- | stoc/source/registry_tdprovider/tdservice.cxx | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/stoc/source/registry_tdprovider/tdservice.cxx b/stoc/source/registry_tdprovider/tdservice.cxx index 9dda6bd54d08..926e31ad0fa1 100644 --- a/stoc/source/registry_tdprovider/tdservice.cxx +++ b/stoc/source/registry_tdprovider/tdservice.cxx @@ -374,9 +374,8 @@ void ServiceTypeDescriptionImpl::getReferences() || aReader.getFieldCount() != 0 ) throw RuntimeException( OUString( - RTL_CONSTASCII_USTRINGPARAM( "Service is single-interface--based but also has" - " references and/or properties" ) ), + " references and/or properties" ), static_cast< OWeakObject * >( this ) ); Reference< XTypeDescription > ifc; try @@ -395,9 +394,8 @@ void ServiceTypeDescriptionImpl::getReferences() if (resolveTypedefs(ifc)->getTypeClass() != TypeClass_INTERFACE) { throw RuntimeException( OUString( - RTL_CONSTASCII_USTRINGPARAM( "Single-interface--based service is not based on" - " interface type" ) ), + " interface type" ), static_cast< OWeakObject * >( this ) ); } MutexGuard guard(getMutex()); @@ -440,9 +438,8 @@ void ServiceTypeDescriptionImpl::getReferences() { throw RuntimeException( OUString( - RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.container." - "NoSuchElementException: " ) ) + "NoSuchElementException: " ) + e.Message, static_cast< OWeakObject * >( this ) ); } @@ -483,9 +480,8 @@ void ServiceTypeDescriptionImpl::getReferences() { throw RuntimeException( OUString( - RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.container." - "NoSuchElementException: " ) ) + "NoSuchElementException: " ) + e.Message, static_cast< OWeakObject * >( this ) ); } @@ -497,9 +493,8 @@ void ServiceTypeDescriptionImpl::getReferences() if ( !( aTypeDesc >>= aOptionalInterfaces[ nOI ] ) ) throw RuntimeException( OUString( - RTL_CONSTASCII_USTRINGPARAM( "Service 'supports' is not an" - " interface" ) ), + " interface" ), static_cast< OWeakObject * >( this ) ); nOI++; } @@ -509,9 +504,8 @@ void ServiceTypeDescriptionImpl::getReferences() if ( !( aTypeDesc >>= aMandatoryInterfaces[ nMI ] ) ) throw RuntimeException( OUString( - RTL_CONSTASCII_USTRINGPARAM( "Service 'supports' is not an" - " interface" ) ), + " interface" ), static_cast< OWeakObject * >( this ) ); nMI++; } |