diff options
Diffstat (limited to 'ure/source/uretest')
-rw-r--r-- | ure/source/uretest/cppmain.cc | 4 | ||||
-rw-r--r-- | ure/source/uretest/cppserver.cc | 4 | ||||
-rw-r--r-- | ure/source/uretest/cpptest.cc | 4 |
3 files changed, 3 insertions, 9 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"); } } diff --git a/ure/source/uretest/cppserver.cc b/ure/source/uretest/cppserver.cc index 450c04d12bb2..13a64fc97ef2 100644 --- a/ure/source/uretest/cppserver.cc +++ b/ure/source/uretest/cppserver.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"); } } 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"); } } |