Kaydet (Commit) c21aab27 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1309052 Uncaught exception

Change-Id: Ic2d43c7f173d3cfbf20741261211468cbc1a11e4
üst 9645435e
...@@ -291,7 +291,7 @@ bool createUrlRecord( ...@@ -291,7 +291,7 @@ bool createUrlRecord(
const ::com::sun::star::uno::Sequence< OUString >& aPasswords, const ::com::sun::star::uno::Sequence< OUString >& aPasswords,
char aMode, char aMode,
const ::com::sun::star::uno::Reference< ::com::sun::star::task::XInteractionHandler >& Handler ) 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 ) static ::std::vector< OUString > DecodePasswords( const OUString& aLine, const OUString& aMasterPassword )
throw(::com::sun::star::uno::RuntimeException); throw(::com::sun::star::uno::RuntimeException);
......
...@@ -656,7 +656,7 @@ void SAL_CALL PasswordContainer::addPersistent( const OUString& Url, const OUStr ...@@ -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 ); NamePassRecord aRecord( UserName );
::std::vector< OUString > aStorePass = copySequenceToVector( Passwords ); ::std::vector< OUString > aStorePass = copySequenceToVector( Passwords );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment