summaryrefslogtreecommitdiff
path: root/cppu/qa/test_any.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-27 08:38:36 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-27 08:39:30 +0100
commitc6d114be1fcf9f73c638e52f33278ca3dd53e2aa (patch)
tree2698ef0771c70af27d18d3073b88e10e9bd0e43c /cppu/qa/test_any.cxx
parentf73ffb91b85422067274fafc0d411aef8a6e6abb (diff)
std::exception retrofit sequel
Change-Id: Ide9234c50592fe4f12eb1f6ea836ad60ce4697df
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 > >())