diff options
Diffstat (limited to 'cppuhelper/test')
-rw-r--r-- | cppuhelper/test/testcmp/TestComponent.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cppuhelper/test/testcmp/TestComponent.cxx b/cppuhelper/test/testcmp/TestComponent.cxx index 3e5db32d0ad3..be1a1692a3e1 100644 --- a/cppuhelper/test/testcmp/TestComponent.cxx +++ b/cppuhelper/test/testcmp/TestComponent.cxx @@ -99,8 +99,7 @@ uno::Reference<uno::XInterface> SAL_CALL TestComponent::create( } catch (std::bad_alloc &) { - throw uno::RuntimeException(rtl::OUString("std::bad_alloc"), - uno::Reference<uno::XInterface>()); + throw uno::RuntimeException("std::bad_alloc"); } } |