summaryrefslogtreecommitdiff
path: root/cppu/qa
diff options
context:
space:
mode:
Diffstat (limited to 'cppu/qa')
-rw-r--r--cppu/qa/test_any.cxx6
-rw-r--r--cppu/qa/test_reference.cxx2
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 > >())