diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-07-02 08:23:17 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-07-02 08:23:31 +0100 |
commit | a9ad8444b8e1c47a47dc4ef6367335e3ccad59ea (patch) | |
tree | d4bff0ae846684dae12de9e35b92b78403e3345c /svl | |
parent | d3d4b8691968810bb57bbd94dde39bb7be4be4da (diff) |
coverity#1309051 Uncaught exception
Change-Id: Ia1ae16d9560c1eac294e29445e71dcee49ed16ce
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/inc/passwordcontainer.hxx | 2 | ||||
-rw-r--r-- | svl/source/passwordcontainer/passwordcontainer.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/svl/source/inc/passwordcontainer.hxx b/svl/source/inc/passwordcontainer.hxx index df421b5a6560..ba8e72f4f995 100644 --- a/svl/source/inc/passwordcontainer.hxx +++ b/svl/source/inc/passwordcontainer.hxx @@ -248,7 +248,7 @@ private: ::com::sun::star::uno::Sequence< ::com::sun::star::task::UserRecord > CopyToUserRecordSequence( const ::std::list< NamePassRecord >& original, const ::com::sun::star::uno::Reference< ::com::sun::star::task::XInteractionHandler >& Handler ) - throw(::com::sun::star::uno::RuntimeException); + throw(css::uno::RuntimeException, std::exception); ::com::sun::star::task::UserRecord CopyToUserRecord( const NamePassRecord& aRecord, diff --git a/svl/source/passwordcontainer/passwordcontainer.cxx b/svl/source/passwordcontainer/passwordcontainer.cxx index 6b8fa7fd2ee1..5b807cd7f16d 100644 --- a/svl/source/passwordcontainer/passwordcontainer.cxx +++ b/svl/source/passwordcontainer/passwordcontainer.cxx @@ -623,7 +623,7 @@ UserRecord PasswordContainer::CopyToUserRecord( const NamePassRecord& aRecord, b } -Sequence< UserRecord > PasswordContainer::CopyToUserRecordSequence( const list< NamePassRecord >& original, const Reference< XInteractionHandler >& aHandler ) throw(RuntimeException) +Sequence< UserRecord > PasswordContainer::CopyToUserRecordSequence( const list< NamePassRecord >& original, const Reference< XInteractionHandler >& aHandler ) throw(RuntimeException, std::exception) { Sequence< UserRecord > aResult( original.size() ); sal_uInt32 nInd = 0; |