summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-05-24 12:33:05 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-05-24 13:03:50 +0100
commitcbb853731affe0c57095a7092bf046bf04eadfd9 (patch)
tree59eb7678d0ad3259fbce5a27ff689e2be8950235 /ucb
parent68f383eac5cde1cd1e8d3f5ed61e65f3c98507d8 (diff)
coverity#983986 Uncaught exception
Change-Id: I2ed7ed82e1680435bc899d8113efc12874d206f6
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/cmis/cmis_content.cxx2
-rw-r--r--ucb/source/ucp/cmis/cmis_content.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/ucb/source/ucp/cmis/cmis_content.cxx b/ucb/source/ucp/cmis/cmis_content.cxx
index 06dc1ee7bf15..748aadd09c17 100644
--- a/ucb/source/ucp/cmis/cmis_content.cxx
+++ b/ucb/source/ucp/cmis/cmis_content.cxx
@@ -839,7 +839,7 @@ namespace cmis
uno::Any Content::open(const ucb::OpenCommandArgument2 & rOpenCommand,
const uno::Reference< ucb::XCommandEnvironment > & xEnv )
- throw( uno::Exception )
+ throw( uno::Exception, libcmis::Exception )
{
bool bIsFolder = isFolder( xEnv );
diff --git a/ucb/source/ucp/cmis/cmis_content.hxx b/ucb/source/ucp/cmis/cmis_content.hxx
index 99f3dbac6b1b..559ce9ac8c9b 100644
--- a/ucb/source/ucp/cmis/cmis_content.hxx
+++ b/ucb/source/ucp/cmis/cmis_content.hxx
@@ -87,7 +87,7 @@ private:
com::sun::star::uno::Any open(const com::sun::star::ucb::OpenCommandArgument2 & rArg,
const com::sun::star::uno::Reference< com::sun::star::ucb::XCommandEnvironment > & xEnv )
- throw( com::sun::star::uno::Exception );
+ throw( com::sun::star::uno::Exception, libcmis::Exception );
void transfer( const com::sun::star::ucb::TransferInfo& rTransferInfo,
const com::sun::star::uno::Reference< com::sun::star::ucb::XCommandEnvironment > & xEnv )