diff options
Diffstat (limited to 'stoc/source/registry_tdprovider/functiondescription.cxx')
-rw-r--r-- | stoc/source/registry_tdprovider/functiondescription.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/stoc/source/registry_tdprovider/functiondescription.cxx b/stoc/source/registry_tdprovider/functiondescription.cxx index 8840451355fe..0d7d160ddb31 100644 --- a/stoc/source/registry_tdprovider/functiondescription.cxx +++ b/stoc/source/registry_tdprovider/functiondescription.cxx @@ -73,8 +73,7 @@ FunctionDescription::getExceptions() const { } catch (const css::container::NoSuchElementException & e) { throw new css::uno::RuntimeException( (rtl::OUString( - RTL_CONSTASCII_USTRINGPARAM( - "com.sun.star.container.NoSuchElementException: ")) + "com.sun.star.container.NoSuchElementException: ") + e.Message), css::uno::Reference< css::uno::XInterface >()); //TODO } @@ -82,8 +81,7 @@ FunctionDescription::getExceptions() const { || exceptions[i]->getTypeClass() != css::uno::TypeClass_EXCEPTION) { throw new css::uno::RuntimeException( - (rtl::OUString( - RTL_CONSTASCII_USTRINGPARAM("not an exception type: ")) + (rtl::OUString("not an exception type: ") + name), css::uno::Reference< css::uno::XInterface >()); //TODO } |