diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-06-02 15:16:42 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-06-02 16:59:59 +0100 |
commit | 778b8ea885a244fff79654fc06b95aea6085c132 (patch) | |
tree | 259187c11dd7a903f20cd4c1d9d46c05240b364a /ucb | |
parent | ade1049186ed4eea724e43c42c13500f8416eb9e (diff) |
coverity#707428 Uncaught exception
Change-Id: I7e30f163743fc6bd05b5e795b299a76e0c51d8c0
Diffstat (limited to 'ucb')
-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( |