diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-27 08:38:36 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-27 08:39:30 +0100 |
commit | c6d114be1fcf9f73c638e52f33278ca3dd53e2aa (patch) | |
tree | 2698ef0771c70af27d18d3073b88e10e9bd0e43c /cppu | |
parent | f73ffb91b85422067274fafc0d411aef8a6e6abb (diff) |
std::exception retrofit sequel
Change-Id: Ide9234c50592fe4f12eb1f6ea836ad60ce4697df
Diffstat (limited to 'cppu')
-rw-r--r-- | cppu/qa/test_any.cxx | 6 | ||||
-rw-r--r-- | cppu/qa/test_reference.cxx | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/cppu/qa/test_any.cxx b/cppu/qa/test_any.cxx index f9acf9dd23c9..b1cdd53a16d4 100644 --- a/cppu/qa/test_any.cxx +++ b/cppu/qa/test_any.cxx @@ -88,7 +88,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) + throw (css::uno::RuntimeException, std::exception) { if (type == getCppuType< css::uno::Reference< css::uno::XInterface > >()) @@ -116,7 +116,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) + throw (css::uno::RuntimeException, std::exception) { if (type == getCppuType< css::uno::Reference< css::uno::XInterface > >()) @@ -152,7 +152,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) + throw (css::uno::RuntimeException, std::exception) { if (type == getCppuType< css::uno::Reference< css::uno::XInterface > >()) diff --git a/cppu/qa/test_reference.cxx b/cppu/qa/test_reference.cxx index ab3bac5f6745..e49c31620124 100644 --- a/cppu/qa/test_reference.cxx +++ b/cppu/qa/test_reference.cxx @@ -48,7 +48,7 @@ public: } virtual Any SAL_CALL queryInterface(const Type & _type) - throw (RuntimeException) + throw (RuntimeException, std::exception) { Any aInterface; if (_type == getCppuType< Reference< XInterface > >()) |