summaryrefslogtreecommitdiff
path: root/cppuhelper/test/testcmp/TestComponent.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cppuhelper/test/testcmp/TestComponent.cxx')
-rw-r--r--cppuhelper/test/testcmp/TestComponent.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/cppuhelper/test/testcmp/TestComponent.cxx b/cppuhelper/test/testcmp/TestComponent.cxx
index 5ccd4a14050b..64d2b9ff36af 100644
--- a/cppuhelper/test/testcmp/TestComponent.cxx
+++ b/cppuhelper/test/testcmp/TestComponent.cxx
@@ -63,8 +63,7 @@ class TestComponent: public cppu::WeakImplHelper1<lang::XServiceInfo>
public:
static uno::Reference<uno::XInterface> create(
uno::Reference<uno::XComponentContext> const & xCtx
- )
- SAL_THROW((uno::Exception));
+ );
static uno::Sequence<rtl::OUString> SAL_CALL getSupportedServiceNames_Static();
@@ -89,9 +88,7 @@ protected:
uno::Reference<uno::XInterface> SAL_CALL TestComponent::create(
- uno::Reference<uno::XComponentContext> const & xCtx
-)
- SAL_THROW((uno::Exception))
+ uno::Reference<uno::XComponentContext> const & xCtx)
{
try
{