summaryrefslogtreecommitdiff
path: root/stoc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-04-16 13:52:02 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-04-16 13:52:30 +0200
commite46564a0a6a74da90785a1b910d33e2b5bfdcfd9 (patch)
tree0b3f8b41d2851616c50bebfda121d5786bc51e05 /stoc
parent30a7c6ba6b95ade8e59f9e28108470165dc9a175 (diff)
rhbz#867808 Do not throw RuntimeException by pointer
Change-Id: I22b7d3d642e7ee0488d6b726a331d328065bbee7
Diffstat (limited to 'stoc')
-rw-r--r--stoc/source/registry_tdprovider/methoddescription.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/stoc/source/registry_tdprovider/methoddescription.cxx b/stoc/source/registry_tdprovider/methoddescription.cxx
index b51b3dd618ac..80e0cc507810 100644
--- a/stoc/source/registry_tdprovider/methoddescription.cxx
+++ b/stoc/source/registry_tdprovider/methoddescription.cxx
@@ -90,7 +90,7 @@ css::uno::Reference< css::reflection::XTypeDescription > Parameter::getType()
m_manager->getByHierarchicalName(m_typeName),
css::uno::UNO_QUERY_THROW);
} catch (const css::container::NoSuchElementException & e) {
- throw new css::uno::RuntimeException(
+ throw css::uno::RuntimeException(
(OUString(
"com.sun.star.container.NoSuchElementException: ")
+ e.Message),