summaryrefslogtreecommitdiffstats
path: root/ucb
diff options
context:
space:
mode:
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/webdav-neon/webdavcontent.cxx2
-rw-r--r--ucb/source/ucp/webdav-neon/webdavcontent.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/ucb/source/ucp/webdav-neon/webdavcontent.cxx b/ucb/source/ucp/webdav-neon/webdavcontent.cxx
index 579781995fa6..509ca0d0db2e 100644
--- a/ucb/source/ucp/webdav-neon/webdavcontent.cxx
+++ b/ucb/source/ucp/webdav-neon/webdavcontent.cxx
@@ -2772,7 +2772,7 @@ bool Content::supportsExclusiveWriteLock(
void Content::lock(
const uno::Reference< ucb::XCommandEnvironment >& Environment )
- throw( uno::Exception )
+ throw( uno::Exception, std::exception )
{
try
{
diff --git a/ucb/source/ucp/webdav-neon/webdavcontent.hxx b/ucb/source/ucp/webdav-neon/webdavcontent.hxx
index 5b01882744cc..9240f0635669 100644
--- a/ucb/source/ucp/webdav-neon/webdavcontent.hxx
+++ b/ucb/source/ucp/webdav-neon/webdavcontent.hxx
@@ -180,7 +180,7 @@ private:
// Command "lock"
void lock( const com::sun::star::uno::Reference<
com::sun::star::ucb::XCommandEnvironment >& Environment )
- throw( ::com::sun::star::uno::Exception );
+ throw( ::com::sun::star::uno::Exception, std::exception );
// Command "unlock"
void unlock( const com::sun::star::uno::Reference<