summaryrefslogtreecommitdiff
path: root/cppu/qa/test_any.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cppu/qa/test_any.cxx')
-rw-r--r--cppu/qa/test_any.cxx6
1 files changed, 3 insertions, 3 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 > >())