diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-06-27 20:25:42 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-06-28 13:22:56 +0100 |
commit | 7004d1e082f70c894f6b31fd4548217983dc86e4 (patch) | |
tree | 5f721703199ddac64057567119eebea2607306fc | |
parent | 5544ad58fcdea137088a6020c4699d3d871dbaa1 (diff) |
coverity#1308486 Uncaught exception
Change-Id: I1c38ea60a431991ec911353618000ad7a1a7f2ea
-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 881559fe07fd..f3037121194d 100644 --- a/ucb/source/ucp/package/pkgcontent.cxx +++ b/ucb/source/ucp/package/pkgcontent.cxx @@ -1450,7 +1450,7 @@ uno::Sequence< uno::Any > Content::setPropertyValues( uno::Any Content::open( const ucb::OpenCommandArgument2& rArg, const uno::Reference< ucb::XCommandEnvironment >& xEnv ) - throw( uno::Exception ) + throw( uno::Exception, std::exception ) { if ( rArg.Mode == ucb::OpenMode::ALL || rArg.Mode == ucb::OpenMode::FOLDERS || diff --git a/ucb/source/ucp/package/pkgcontent.hxx b/ucb/source/ucp/package/pkgcontent.hxx index 1e2a79476ffc..6b4c1fd6d252 100644 --- a/ucb/source/ucp/package/pkgcontent.hxx +++ b/ucb/source/ucp/package/pkgcontent.hxx @@ -210,7 +210,7 @@ private: open( const ::com::sun::star::ucb::OpenCommandArgument2& rArg, 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 insert( const ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream >& xStream, |