diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-06-27 17:28:37 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-06-27 18:25:05 +0100 |
commit | af15eb1211cb4279a902f5e9c78e12f65e2283a4 (patch) | |
tree | c4120a01bc85ae2874b4a7e52d72647b1fa0a1c6 /ucb | |
parent | 1de1371ce4d5499c9d85d9cc2137f1717eff348f (diff) |
coverity#1308464 Uncaught exception
Change-Id: Ib2ca8570ebf7bbc138ae3e4ab828e9b5cda002af
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/ucp/package/pkgcontent.cxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/package/pkgcontent.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ucb/source/ucp/package/pkgcontent.cxx b/ucb/source/ucp/package/pkgcontent.cxx index 5d0e6bd8ce78..f7713b02c10f 100644 --- a/ucb/source/ucp/package/pkgcontent.cxx +++ b/ucb/source/ucp/package/pkgcontent.cxx @@ -1600,7 +1600,7 @@ void Content::insert( const uno::Reference< io::XInputStream >& xStream, sal_Int32 nNameClashResolve, const uno::Reference< ucb::XCommandEnvironment >& xEnv ) - throw( uno::Exception ) + throw( uno::Exception, std::exception ) { osl::ClearableGuard< osl::Mutex > aGuard( m_aMutex ); diff --git a/ucb/source/ucp/package/pkgcontent.hxx b/ucb/source/ucp/package/pkgcontent.hxx index 8f8c4239ff29..b58b8f03fa0a 100644 --- a/ucb/source/ucp/package/pkgcontent.hxx +++ b/ucb/source/ucp/package/pkgcontent.hxx @@ -217,7 +217,7 @@ private: sal_Int32 nNameClashResolve, const ::com::sun::star::uno::Reference< ::com::sun::star::ucb::XCommandEnvironment > & xEnv ) - throw( ::com::sun::star::uno::Exception ); + throw( ::com::sun::star::uno::Exception, std::exception ); void destroy( bool bDeletePhysical, const ::com::sun::star::uno::Reference< |