From fb0d1fc5a62c928bf5824e1d75613ca2fb3a24a1 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 26 May 2014 11:38:33 +0200 Subject: cid#707434 Uncaught exception Change-Id: Ibe227c7675723b337652f79ccce03f028cfe546f --- ucb/source/ucp/tdoc/tdoc_provider.cxx | 2 +- ucb/source/ucp/tdoc/tdoc_provider.hxx | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'ucb/source/ucp/tdoc') diff --git a/ucb/source/ucp/tdoc/tdoc_provider.cxx b/ucb/source/ucp/tdoc/tdoc_provider.cxx index 69988cb4bcf2..b4b0f015e7c9 100644 --- a/ucb/source/ucp/tdoc/tdoc_provider.cxx +++ b/ucb/source/ucp/tdoc/tdoc_provider.cxx @@ -408,7 +408,7 @@ ContentProvider::queryStorageClone( const OUString & rUri ) const uno::Reference< io::XInputStream > ContentProvider::queryInputStream( const OUString & rUri, const OUString & rPassword ) const - throw ( packages::WrongPasswordException ) + throw ( packages::WrongPasswordException, css::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 5b099fc12b9c..d3f136479fb8 100644 --- a/ucb/source/ucp/tdoc/tdoc_provider.hxx +++ b/ucb/source/ucp/tdoc/tdoc_provider.hxx @@ -122,7 +122,8 @@ public: com::sun::star::uno::Reference< com::sun::star::io::XInputStream > queryInputStream( const OUString & rUri, const OUString & rPassword ) 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::XOutputStream > queryOutputStream( const OUString & rUri, -- cgit