diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-25 21:31:58 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-26 18:22:20 +0100 |
commit | 5e21a413c788f839a66d9e4c14e745ed18058db8 (patch) | |
tree | d4451246461346a425ad6f796e08bf1514cdd942 /testtools/source/bridgetest/currentcontextchecker.cxx | |
parent | 6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff) |
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'testtools/source/bridgetest/currentcontextchecker.cxx')
-rw-r--r-- | testtools/source/bridgetest/currentcontextchecker.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testtools/source/bridgetest/currentcontextchecker.cxx b/testtools/source/bridgetest/currentcontextchecker.cxx index 2f3c77b34411..ce3dc80175bb 100644 --- a/testtools/source/bridgetest/currentcontextchecker.cxx +++ b/testtools/source/bridgetest/currentcontextchecker.cxx @@ -51,7 +51,7 @@ public: virtual ~CurrentContext(); virtual css::uno::Any SAL_CALL getValueByName(OUString const & Name) - throw (css::uno::RuntimeException); + throw (css::uno::RuntimeException, std::exception); private: CurrentContext(CurrentContext &); // not defined @@ -63,7 +63,7 @@ CurrentContext::CurrentContext() {} CurrentContext::~CurrentContext() {} css::uno::Any CurrentContext::getValueByName(OUString const & Name) - throw (css::uno::RuntimeException) + throw (css::uno::RuntimeException, std::exception) { return Name == KEY ? css::uno::makeAny(OUString::createFromAscii(VALUE)) @@ -80,7 +80,7 @@ testtools::bridgetest::CurrentContextChecker::~CurrentContextChecker() {} css::uno::Reference< ::test::testtools::bridgetest::XCurrentContextChecker > const & other, ::sal_Int32 setSteps, ::sal_Int32 checkSteps) - throw (css::uno::RuntimeException) + throw (css::uno::RuntimeException, std::exception) { if (setSteps == 0) { css::uno::ContextLayer layer(new CurrentContext); |