rhbz#867808 Do not throw RuntimeException by pointer

Change-Id: I22b7d3d642e7ee0488d6b726a331d328065bbee7
This commit is contained in:
Stephan Bergmann
2013-04-16 13:52:02 +02:00
parent 30a7c6ba6b
commit e46564a0a6

View File

@@ -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),