diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-06-27 14:01:59 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-06-27 14:42:21 +0100 |
commit | 0a76f0da646cf8692738ed416763b5cf33428281 (patch) | |
tree | c5764d3de5193ccad487ede7072dfcaf19b3f79c /svl | |
parent | 582dc20778c31f23c82161731881283036c31461 (diff) |
coverity#1308437 Uncaught exception
Change-Id: I9e445111091ce34d8f8c519279ab3d0447a0e271
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 15232766e143..06b15df30fde 100644 --- a/svl/source/inc/passwordcontainer.hxx +++ b/svl/source/inc/passwordcontainer.hxx @@ -281,7 +281,7 @@ bool createUrlRecord( const ::com::sun::star::uno::Reference< ::com::sun::star::task::XInteractionHandler >& xHandler ); OUString GetMasterPassword( const ::com::sun::star::uno::Reference< ::com::sun::star::task::XInteractionHandler >& Handler ) - throw(::com::sun::star::uno::RuntimeException); + throw(::com::sun::star::uno::RuntimeException, std::exception); void UpdateVector( const OUString& url, ::std::list< NamePassRecord >& toUpdate, NamePassRecord& rec, bool writeFile ) throw(::com::sun::star::uno::RuntimeException); diff --git a/svl/source/passwordcontainer/passwordcontainer.cxx b/svl/source/passwordcontainer/passwordcontainer.cxx index 81e8bbb95ee5..34843715cd11 100644 --- a/svl/source/passwordcontainer/passwordcontainer.cxx +++ b/svl/source/passwordcontainer/passwordcontainer.cxx @@ -838,7 +838,7 @@ OUString PasswordContainer::RequestPasswordFromUser( PasswordRequestMode aRMode, } -OUString PasswordContainer::GetMasterPassword( const Reference< XInteractionHandler >& aHandler ) throw(RuntimeException) +OUString PasswordContainer::GetMasterPassword( const Reference< XInteractionHandler >& aHandler ) throw(RuntimeException, std::exception) { PasswordRequestMode aRMode = PasswordRequestMode_PASSWORD_ENTER; if( !m_pStorageFile || !m_pStorageFile->useStorage() ) |