diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-07-02 08:24:19 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-07-02 11:39:30 +0100 |
commit | c21aab27749e4399c5310215cba346caa1c21613 (patch) | |
tree | 2531739d33bfdff19bf73e300dfcb3090afd7752 /svl/source | |
parent | 9645435e3f408cf7877466c240522fb65acb8519 (diff) |
coverity#1309052 Uncaught exception
Change-Id: Ic2d43c7f173d3cfbf20741261211468cbc1a11e4
Diffstat (limited to 'svl/source')
-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 ba8e72f4f995..345037bb1c63 100644 --- a/svl/source/inc/passwordcontainer.hxx +++ b/svl/source/inc/passwordcontainer.hxx @@ -291,7 +291,7 @@ bool createUrlRecord( const ::com::sun::star::uno::Sequence< OUString >& aPasswords, char aMode, const ::com::sun::star::uno::Reference< ::com::sun::star::task::XInteractionHandler >& Handler ) - throw(::com::sun::star::uno::RuntimeException); + throw(css::uno::RuntimeException, std::exception); static ::std::vector< OUString > DecodePasswords( const OUString& aLine, const OUString& aMasterPassword ) throw(::com::sun::star::uno::RuntimeException); diff --git a/svl/source/passwordcontainer/passwordcontainer.cxx b/svl/source/passwordcontainer/passwordcontainer.cxx index 5b807cd7f16d..ba852bec8f2c 100644 --- a/svl/source/passwordcontainer/passwordcontainer.cxx +++ b/svl/source/passwordcontainer/passwordcontainer.cxx @@ -656,7 +656,7 @@ void SAL_CALL PasswordContainer::addPersistent( const OUString& Url, const OUStr } -void PasswordContainer::PrivateAdd( const OUString& Url, const OUString& UserName, const Sequence< OUString >& Passwords, char Mode, const Reference< XInteractionHandler >& aHandler ) throw(RuntimeException) +void PasswordContainer::PrivateAdd( const OUString& Url, const OUString& UserName, const Sequence< OUString >& Passwords, char Mode, const Reference< XInteractionHandler >& aHandler ) throw(RuntimeException, std::exception) { NamePassRecord aRecord( UserName ); ::std::vector< OUString > aStorePass = copySequenceToVector( Passwords ); |