coverity#1372381 Uncaught exception

Change-Id: I37fb1503737f81edb92a0571cc6222a69ba465c2
This commit is contained in:
Caolán McNamara 2016-08-31 21:30:42 +01:00
parent e3190bdef2
commit 69bea8fde2
2 changed files with 2 additions and 4 deletions

View File

@ -268,7 +268,7 @@ css::task::UrlRecord find(
throw(css::uno::RuntimeException, std::exception);
static ::std::vector< OUString > DecodePasswords( const OUString& aLine, const OUString& aMasterPassword )
throw(css::uno::RuntimeException);
throw(css::uno::RuntimeException, std::exception);
static OUString EncodePasswords(const std::vector< OUString >& lines, const OUString& aMasterPassword )
throw(css::uno::RuntimeException);

View File

@ -402,7 +402,6 @@ PasswordContainer::~PasswordContainer()
}
}
void SAL_CALL PasswordContainer::disposing( const EventObject& ) throw(RuntimeException, std::exception)
{
::osl::MutexGuard aGuard( mMutex );
@ -420,8 +419,7 @@ void SAL_CALL PasswordContainer::disposing( const EventObject& ) throw(RuntimeEx
}
}
vector< OUString > PasswordContainer::DecodePasswords( const OUString& aLine, const OUString& aMasterPasswd ) throw(RuntimeException)
vector< OUString > PasswordContainer::DecodePasswords( const OUString& aLine, const OUString& aMasterPasswd ) throw(RuntimeException, std::exception)
{
if( !aMasterPasswd.isEmpty() )
{