summaryrefslogtreecommitdiff
path: root/stoc/source/registry_tdprovider/tdiface.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'stoc/source/registry_tdprovider/tdiface.cxx')
-rw-r--r--stoc/source/registry_tdprovider/tdiface.cxx9
1 files changed, 3 insertions, 6 deletions
diff --git a/stoc/source/registry_tdprovider/tdiface.cxx b/stoc/source/registry_tdprovider/tdiface.cxx
index 0ec64d9e4c8e..36c17f913b94 100644
--- a/stoc/source/registry_tdprovider/tdiface.cxx
+++ b/stoc/source/registry_tdprovider/tdiface.cxx
@@ -339,8 +339,7 @@ void InterfaceTypeDescriptionImpl::checkInterfaceType(
if (resolveTypedefs(type)->getTypeClass() != TypeClass_INTERFACE) {
throw RuntimeException(
OUString(
- RTL_CONSTASCII_USTRINGPARAM(
- "Interface base is not an interface type")),
+ "Interface base is not an interface type"),
static_cast< OWeakObject * >(this));
}
}
@@ -537,8 +536,7 @@ InterfaceTypeDescriptionImpl::getBaseTypes() throw (RuntimeException) {
} catch (const NoSuchElementException & e) {
throw RuntimeException(
(OUString(
- RTL_CONSTASCII_USTRINGPARAM(
- "com.sun.star.container.NoSuchElementException: "))
+ "com.sun.star.container.NoSuchElementException: ")
+ e.Message),
static_cast< OWeakObject * >(this));
}
@@ -565,8 +563,7 @@ InterfaceTypeDescriptionImpl::getOptionalBaseTypes() throw (RuntimeException) {
} catch (const NoSuchElementException & e) {
throw RuntimeException(
(OUString(
- RTL_CONSTASCII_USTRINGPARAM(
- "com.sun.star.container.NoSuchElementException: "))
+ "com.sun.star.container.NoSuchElementException: ")
+ e.Message),
static_cast< OWeakObject * >(this));
}