summaryrefslogtreecommitdiff
path: root/svl/qa
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-25 21:31:58 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-26 18:22:20 +0100
commit5e21a413c788f839a66d9e4c14e745ed18058db8 (patch)
treed4451246461346a425ad6f796e08bf1514cdd942 /svl/qa
parent6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff)
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'svl/qa')
-rw-r--r--svl/qa/unit/test_URIHelper.cxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/svl/qa/unit/test_URIHelper.cxx b/svl/qa/unit/test_URIHelper.cxx
index 2c672709137d..aef358d1dfe2 100644
--- a/svl/qa/unit/test_URIHelper.cxx
+++ b/svl/qa/unit/test_URIHelper.cxx
@@ -74,28 +74,28 @@ public:
css::uno::Reference< css::ucb::XContentIdentifier > const & identifier);
virtual css::uno::Reference< css::ucb::XContentIdentifier > SAL_CALL
- getIdentifier() throw (css::uno::RuntimeException) {
+ getIdentifier() throw (css::uno::RuntimeException, std::exception) {
return m_identifier;
}
virtual OUString SAL_CALL getContentType()
- throw (css::uno::RuntimeException)
+ throw (css::uno::RuntimeException, std::exception)
{
return OUString();
}
virtual void SAL_CALL addContentEventListener(
css::uno::Reference< css::ucb::XContentEventListener > const &)
- throw (css::uno::RuntimeException)
+ throw (css::uno::RuntimeException, std::exception)
{}
virtual void SAL_CALL removeContentEventListener(
css::uno::Reference< css::ucb::XContentEventListener > const &)
- throw (css::uno::RuntimeException)
+ throw (css::uno::RuntimeException, std::exception)
{}
virtual sal_Int32 SAL_CALL createCommandIdentifier()
- throw (css::uno::RuntimeException)
+ throw (css::uno::RuntimeException, std::exception)
{
return 0;
}
@@ -105,9 +105,9 @@ public:
css::uno::Reference< css::ucb::XCommandEnvironment > const &)
throw (
css::uno::Exception, css::ucb::CommandAbortedException,
- css::uno::RuntimeException);
+ css::uno::RuntimeException, std::exception);
- virtual void SAL_CALL abort(sal_Int32) throw (css::uno::RuntimeException) {}
+ virtual void SAL_CALL abort(sal_Int32) throw (css::uno::RuntimeException, std::exception) {}
private:
static char const m_prefix[];
@@ -135,7 +135,7 @@ css::uno::Any Content::execute(
css::uno::Reference< css::ucb::XCommandEnvironment > const &)
throw (
css::uno::Exception, css::ucb::CommandAbortedException,
- css::uno::RuntimeException)
+ css::uno::RuntimeException, std::exception)
{
if ( command.Name != "getCasePreservingURL" )
{
@@ -173,7 +173,7 @@ class Provider: public cppu::WeakImplHelper1< css::ucb::XContentProvider > {
public:
virtual css::uno::Reference< css::ucb::XContent > SAL_CALL queryContent(
css::uno::Reference< css::ucb::XContentIdentifier > const & identifier)
- throw (css::ucb::IllegalIdentifierException, css::uno::RuntimeException)
+ throw (css::ucb::IllegalIdentifierException, css::uno::RuntimeException, std::exception)
{
return new Content(identifier);
}
@@ -181,7 +181,7 @@ public:
virtual sal_Int32 SAL_CALL compareContentIds(
css::uno::Reference< css::ucb::XContentIdentifier > const & id1,
css::uno::Reference< css::ucb::XContentIdentifier > const & id2)
- throw (css::uno::RuntimeException)
+ throw (css::uno::RuntimeException, std::exception)
{
assert(id1.is() && id2.is());
return