diff options
author | Noel Grandin <noel@peralex.com> | 2014-05-26 11:37:09 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-05-26 14:47:32 +0200 |
commit | 5da1b9c283d9756c0b12b216fc74111b686c0604 (patch) | |
tree | 49fa5697989e004476d8ffbdfcbb1d06a561c7bd | |
parent | 021ba5cc808c0683656e84856307a52a2dba41b6 (diff) |
cid#707433 Uncaught exception
Change-Id: I57581f61dcb83aac83673b8fe040981e28b320ba
-rw-r--r-- | ucb/source/ucp/tdoc/tdoc_provider.cxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/tdoc/tdoc_provider.hxx | 3 |
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, |