summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-06-02 15:15:34 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-06-02 16:59:59 +0100
commitade1049186ed4eea724e43c42c13500f8416eb9e (patch)
treed33c9a63703cd4e60daa19a55121367a7a09c2e4 /ucb
parent630d48121011529675c493a618090252ad63cc3b (diff)
coverity#707430 Uncaught exception
Change-Id: I56269273b20ac48fca5a2abeb2ba2cbf7d1da0c8
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/tdoc/tdoc_content.cxx3
-rw-r--r--ucb/source/ucp/tdoc/tdoc_content.hxx5
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 b8199ecc61cb..229f91ae7f3c 100644
--- a/ucb/source/ucp/tdoc/tdoc_content.cxx
+++ b/ucb/source/ucp/tdoc/tdoc_content.cxx
@@ -2890,7 +2890,8 @@ uno::Reference< io::XOutputStream > Content::getTruncatedOutputStream(
uno::Reference< io::XStream > Content::getStream(
const uno::Reference< ucb::XCommandEnvironment > & xEnv )
throw ( ucb::CommandFailedException,
- task::DocumentPasswordRequest )
+ task::DocumentPasswordRequest,
+ uno::RuntimeException )
{
osl::Guard< osl::Mutex > aGuard( m_aMutex );
diff --git a/ucb/source/ucp/tdoc/tdoc_content.hxx b/ucb/source/ucp/tdoc/tdoc_content.hxx
index d7e7cec91b72..4522ae9c759c 100644
--- a/ucb/source/ucp/tdoc/tdoc_content.hxx
+++ b/ucb/source/ucp/tdoc/tdoc_content.hxx
@@ -238,8 +238,9 @@ private:
::com::sun::star::uno::Reference< ::com::sun::star::io::XStream >
getStream( 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 );
public:
// Create existing content. Fail, if not already exists.