summaryrefslogtreecommitdiff
path: root/ure/source/uretest/cpptest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ure/source/uretest/cpptest.cc')
-rw-r--r--ure/source/uretest/cpptest.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/ure/source/uretest/cpptest.cc b/ure/source/uretest/cpptest.cc
index 04dba6ffbb95..4e1bd350934b 100644
--- a/ure/source/uretest/cpptest.cc
+++ b/ure/source/uretest/cpptest.cc
@@ -66,9 +66,7 @@ css::uno::Reference< css::uno::XInterface > create(
try {
return static_cast< cppu::OWeakObject * >(new Service);
} catch (std::bad_alloc &) {
- throw css::uno::RuntimeException(
- rtl::OUString("std::bad_alloc"),
- css::uno::Reference< css::uno::XInterface >());
+ throw css::uno::RuntimeException("std::bad_alloc");
}
}