summaryrefslogtreecommitdiff
path: root/stoc/source/registry_tdprovider/tdsingleton.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'stoc/source/registry_tdprovider/tdsingleton.cxx')
-rw-r--r--stoc/source/registry_tdprovider/tdsingleton.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/stoc/source/registry_tdprovider/tdsingleton.cxx b/stoc/source/registry_tdprovider/tdsingleton.cxx
index f995558e9fc6..b777974049d7 100644
--- a/stoc/source/registry_tdprovider/tdsingleton.cxx
+++ b/stoc/source/registry_tdprovider/tdsingleton.cxx
@@ -41,8 +41,7 @@ void SingletonTypeDescriptionImpl::init() {
} catch (NoSuchElementException const & e) {
throw RuntimeException(
(OUString(
- RTL_CONSTASCII_USTRINGPARAM(
- "com.sun.star.container.NoSuchElementException: "))
+ "com.sun.star.container.NoSuchElementException: ")
+ e.Message),
static_cast< OWeakObject * >(this));
}
@@ -56,8 +55,7 @@ void SingletonTypeDescriptionImpl::init() {
} else {
throw RuntimeException(
OUString(
- RTL_CONSTASCII_USTRINGPARAM(
- "Singleton is based on neither interface nor service")),
+ "Singleton is based on neither interface nor service"),
static_cast< OWeakObject * >(this));
}
}