diff options
author | Noel Grandin <noel@peralex.com> | 2014-05-26 12:24:00 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-05-26 14:47:33 +0200 |
commit | e168210b3c3f4be09549a7b096ef5b962ffa8519 (patch) | |
tree | b7c9162573b113a1cffaa9c075e3ddd1e924e1ec /ucb | |
parent | fb0d1fc5a62c928bf5824e1d75613ca2fb3a24a1 (diff) |
cid#707435 Uncaught exception
Change-Id: I6c0195b3474e56191fc1ca8d7d251c8931815c11
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/ucp/tdoc/tdoc_provider.cxx | 3 | ||||
-rw-r--r-- | ucb/source/ucp/tdoc/tdoc_provider.hxx | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/ucb/source/ucp/tdoc/tdoc_provider.cxx b/ucb/source/ucp/tdoc/tdoc_provider.cxx index b4b0f015e7c9..580457042613 100644 --- a/ucb/source/ucp/tdoc/tdoc_provider.cxx +++ b/ucb/source/ucp/tdoc/tdoc_provider.cxx @@ -446,7 +446,8 @@ uno::Reference< io::XOutputStream > ContentProvider::queryOutputStream( 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 d3f136479fb8..0bbf31854b47 100644 --- a/ucb/source/ucp/tdoc/tdoc_provider.hxx +++ b/ucb/source/ucp/tdoc/tdoc_provider.hxx @@ -129,7 +129,8 @@ public: queryOutputStream( const OUString & rUri, const OUString & rPassword, bool bTruncate ) const - throw ( com::sun::star::packages::WrongPasswordException ); + throw ( com::sun::star::packages::WrongPasswordException, + css::uno::RuntimeException ); com::sun::star::uno::Reference< com::sun::star::io::XStream > queryStream( const OUString & rUri, |