summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-05-26 11:35:29 +0200
committerNoel Grandin <noel@peralex.com>2014-05-26 14:47:32 +0200
commit021ba5cc808c0683656e84856307a52a2dba41b6 (patch)
tree2b3f7292080f6c0d5ce99fe2d3e5e21eb96d88ea /ucb
parent727ea1e4ddd2178e9fbecd35f6a4bf8f8718ba43 (diff)
cid#707431 Uncaught exception
Change-Id: Icc5bea5e3e1d3782dfc6ca200ba24303945cb72c
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/tdoc/tdoc_content.cxx3
-rw-r--r--ucb/source/ucp/tdoc/tdoc_content.hxx3
2 files changed, 4 insertions, 2 deletions
diff --git a/ucb/source/ucp/tdoc/tdoc_content.cxx b/ucb/source/ucp/tdoc/tdoc_content.cxx
index 81569d9fc9af..b8199ecc61cb 100644
--- a/ucb/source/ucp/tdoc/tdoc_content.cxx
+++ b/ucb/source/ucp/tdoc/tdoc_content.cxx
@@ -2350,7 +2350,8 @@ bool Content::storeData( const uno::Reference< io::XInputStream >& xData,
const uno::Reference<
ucb::XCommandEnvironment >& xEnv )
throw ( ucb::CommandFailedException,
- task::DocumentPasswordRequest )
+ task::DocumentPasswordRequest,
+ css::uno::RuntimeException )
{
osl::Guard< osl::Mutex > aGuard( m_aMutex );
diff --git a/ucb/source/ucp/tdoc/tdoc_content.hxx b/ucb/source/ucp/tdoc/tdoc_content.hxx
index ec1a0d7f8142..d7e7cec91b72 100644
--- a/ucb/source/ucp/tdoc/tdoc_content.hxx
+++ b/ucb/source/ucp/tdoc/tdoc_content.hxx
@@ -144,7 +144,8 @@ private:
const com::sun::star::uno::Reference<
com::sun::star::ucb::XCommandEnvironment >& xEnv )
throw ( ::com::sun::star::ucb::CommandFailedException,
- ::com::sun::star::task::DocumentPasswordRequest );
+ ::com::sun::star::task::DocumentPasswordRequest,
+ css::uno::RuntimeException );
bool renameData( const com::sun::star::uno::Reference<
com::sun::star::ucb::XContentIdentifier >& xOldId,
const com::sun::star::uno::Reference<