summaryrefslogtreecommitdiffstats
path: root/ucb/source/ucp/tdoc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-05-26 11:37:09 +0200
committerNoel Grandin <noel@peralex.com>2014-05-26 14:47:32 +0200
commit5da1b9c283d9756c0b12b216fc74111b686c0604 (patch)
tree49fa5697989e004476d8ffbdfcbb1d06a561c7bd /ucb/source/ucp/tdoc
parentcid#707431 Uncaught exception (diff)
downloadcore-5da1b9c283d9756c0b12b216fc74111b686c0604.tar.gz
core-5da1b9c283d9756c0b12b216fc74111b686c0604.zip
cid#707433 Uncaught exception
Change-Id: I57581f61dcb83aac83673b8fe040981e28b320ba
Diffstat (limited to 'ucb/source/ucp/tdoc')
-rw-r--r--ucb/source/ucp/tdoc/tdoc_provider.cxx2
-rw-r--r--ucb/source/ucp/tdoc/tdoc_provider.hxx3
2 files changed, 3 insertions, 2 deletions
diff --git a/ucb/source/ucp/tdoc/tdoc_provider.cxx b/ucb/source/ucp/tdoc/tdoc_provider.cxx
index 1b0f11ade2ff..69988cb4bcf2 100644
--- a/ucb/source/ucp/tdoc/tdoc_provider.cxx
+++ b/ucb/source/ucp/tdoc/tdoc_provider.cxx
@@ -486,7 +486,7 @@ uno::Reference< io::XStream >
ContentProvider::queryStream( const OUString & rUri,
const OUString & rPassword,
bool bTruncate ) const
- throw ( packages::WrongPasswordException )
+ throw ( packages::WrongPasswordException, uno::RuntimeException )
{
if ( m_xStgElemFac.is() )
{
diff --git a/ucb/source/ucp/tdoc/tdoc_provider.hxx b/ucb/source/ucp/tdoc/tdoc_provider.hxx
index 963d912e705b..5b099fc12b9c 100644
--- a/ucb/source/ucp/tdoc/tdoc_provider.hxx
+++ b/ucb/source/ucp/tdoc/tdoc_provider.hxx
@@ -134,7 +134,8 @@ public:
queryStream( const OUString & rUri,
const OUString & rPassword,
bool bTruncate ) const
- throw ( com::sun::star::packages::WrongPasswordException );
+ throw ( com::sun::star::packages::WrongPasswordException,
+ css::uno::RuntimeException );
bool queryNamesOfChildren(
const OUString & rUri,