From e46564a0a6a74da90785a1b910d33e2b5bfdcfd9 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 16 Apr 2013 13:52:02 +0200 Subject: rhbz#867808 Do not throw RuntimeException by pointer Change-Id: I22b7d3d642e7ee0488d6b726a331d328065bbee7 --- stoc/source/registry_tdprovider/methoddescription.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stoc') 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), -- cgit