diff options
-rw-r--r-- | ucb/source/ucp/tdoc/tdoc_content.cxx | 3 | ||||
-rw-r--r-- | ucb/source/ucp/tdoc/tdoc_content.hxx | 5 |
2 files changed, 5 insertions, 3 deletions
diff --git a/ucb/source/ucp/tdoc/tdoc_content.cxx b/ucb/source/ucp/tdoc/tdoc_content.cxx index 229f91ae7f3c..2f3922240696 100644 --- a/ucb/source/ucp/tdoc/tdoc_content.cxx +++ b/ucb/source/ucp/tdoc/tdoc_content.cxx @@ -2802,7 +2802,8 @@ static OUString obtainPassword( uno::Reference< io::XInputStream > Content::getInputStream( const uno::Reference< ucb::XCommandEnvironment > & xEnv ) throw ( ucb::CommandFailedException, - task::DocumentPasswordRequest ) + task::DocumentPasswordRequest, + uno::RuntimeException ) { OUString aUri; OUString aPassword; diff --git a/ucb/source/ucp/tdoc/tdoc_content.hxx b/ucb/source/ucp/tdoc/tdoc_content.hxx index 4522ae9c759c..8b5c5b74f70f 100644 --- a/ucb/source/ucp/tdoc/tdoc_content.hxx +++ b/ucb/source/ucp/tdoc/tdoc_content.hxx @@ -222,8 +222,9 @@ private: getInputStream( const ::com::sun::star::uno::Reference< ::com::sun::star::ucb::XCommandEnvironment > & xEnv ) - throw ( ::com::sun::star::ucb::CommandFailedException, - ::com::sun::star::task::DocumentPasswordRequest ); + throw ( css::ucb::CommandFailedException, + css::task::DocumentPasswordRequest, + css::uno::RuntimeException ); ::com::sun::star::uno::Reference< ::com::sun::star::io::XOutputStream > getTruncatedOutputStream( |