summaryrefslogtreecommitdiff
path: root/ucb/source
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-05-26 11:38:33 +0200
committerNoel Grandin <noel@peralex.com>2014-05-26 14:47:33 +0200
commitfb0d1fc5a62c928bf5824e1d75613ca2fb3a24a1 (patch)
treec52fbffef95821de37931c6803a60d8e9ebba02b /ucb/source
parent5da1b9c283d9756c0b12b216fc74111b686c0604 (diff)
cid#707434 Uncaught exception
Change-Id: Ibe227c7675723b337652f79ccce03f028cfe546f
Diffstat (limited to 'ucb/source')
-rw-r--r--ucb/source/ucp/tdoc/tdoc_provider.cxx2
-rw-r--r--ucb/source/ucp/tdoc/tdoc_provider.hxx3
2 files changed, 3 insertions, 2 deletions
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,