summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-08-31 21:30:42 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-09-01 10:40:14 +0100
commit69bea8fde2bb98ee4b8522e9968a6648d0d1329b (patch)
treeda5db6a687bc05fbbcb807a1ecb49fc7203b2056 /svl
parente3190bdef2a3c85559aa761103c198930c7e1164 (diff)
coverity#1372381 Uncaught exception
Change-Id: I37fb1503737f81edb92a0571cc6222a69ba465c2
Diffstat (limited to 'svl')
-rw-r--r--svl/source/inc/passwordcontainer.hxx2
-rw-r--r--svl/source/passwordcontainer/passwordcontainer.cxx4
2 files changed, 2 insertions, 4 deletions
diff --git a/svl/source/inc/passwordcontainer.hxx b/svl/source/inc/passwordcontainer.hxx
index cb09b72b6692..6a34126af6c0 100644
--- a/svl/source/inc/passwordcontainer.hxx
+++ b/svl/source/inc/passwordcontainer.hxx
@@ -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);
diff --git a/svl/source/passwordcontainer/passwordcontainer.cxx b/svl/source/passwordcontainer/passwordcontainer.cxx
index d5be5b4be774..16b3444f8044 100644
--- a/svl/source/passwordcontainer/passwordcontainer.cxx
+++ b/svl/source/passwordcontainer/passwordcontainer.cxx
@@ -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() )
{