diff options
Diffstat (limited to 'cppu/qa/test_any.cxx')
-rw-r--r-- | cppu/qa/test_any.cxx | 9 |
1 files changed, 3 insertions, 6 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( |