diff options
Diffstat (limited to 'cppu/qa')
-rw-r--r-- | cppu/qa/test_any.cxx | 9 | ||||
-rw-r--r-- | cppu/qa/test_reference.cxx | 3 |
2 files changed, 4 insertions, 8 deletions
diff --git a/cppu/qa/test_any.cxx b/cppu/qa/test_any.cxx index b6b69eaf9e6b..d76ffc0c3424 100644 --- a/cppu/qa/test_any.cxx +++ b/cppu/qa/test_any.cxx @@ -86,8 +86,7 @@ private: class Impl1: public Interface1, private Base { public: - virtual css::uno::Any SAL_CALL queryInterface(css::uno::Type const & type) - throw (css::uno::RuntimeException, std::exception) override + virtual css::uno::Any SAL_CALL queryInterface(css::uno::Type const & type) override { if (type == cppu::UnoType<css::uno::XInterface>::get()) { css::uno::Reference< css::uno::XInterface > ref( @@ -112,8 +111,7 @@ public: class Impl2: public Interface2a, public Interface3, private Base { public: - virtual css::uno::Any SAL_CALL queryInterface(css::uno::Type const & type) - throw (css::uno::RuntimeException, std::exception) override + virtual css::uno::Any SAL_CALL queryInterface(css::uno::Type const & type) override { if (type == cppu::UnoType<css::uno::XInterface>::get()) { css::uno::Reference< css::uno::XInterface > ref( @@ -145,8 +143,7 @@ public: class Impl2b: public Interface2b, private Base { public: - virtual css::uno::Any SAL_CALL queryInterface(css::uno::Type const & type) - throw (css::uno::RuntimeException, std::exception) override + virtual css::uno::Any SAL_CALL queryInterface(css::uno::Type const & type) override { if (type == cppu::UnoType<css::uno::XInterface>::get()) { css::uno::Reference< css::uno::XInterface > ref( diff --git a/cppu/qa/test_reference.cxx b/cppu/qa/test_reference.cxx index 436fb4512cfa..15a926f50a9a 100644 --- a/cppu/qa/test_reference.cxx +++ b/cppu/qa/test_reference.cxx @@ -49,8 +49,7 @@ public: Foo(const Foo&) = delete; const Foo& operator=(const Foo&) = delete; - virtual Any SAL_CALL queryInterface(const Type & _type) - throw (RuntimeException, std::exception) override + virtual Any SAL_CALL queryInterface(const Type & _type) override { if (_type == cppu::UnoType<XInterface>::get()) { |