summaryrefslogtreecommitdiff
path: root/svl/qa/unit/test_URIHelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svl/qa/unit/test_URIHelper.cxx')
-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