diff options
Diffstat (limited to 'ure/source/uretest/cppmain.cc')
-rw-r--r-- | ure/source/uretest/cppmain.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ure/source/uretest/cppmain.cc b/ure/source/uretest/cppmain.cc index 4babec02f3e2..0ccf4abbd1b5 100644 --- a/ure/source/uretest/cppmain.cc +++ b/ure/source/uretest/cppmain.cc @@ -212,9 +212,7 @@ css::uno::Reference< css::uno::XInterface > create( try { return static_cast< ::cppu::OWeakObject * >(new Service(context)); } 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"); } } |