summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-07-02 08:24:19 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-07-02 11:39:30 +0100
commitc21aab27749e4399c5310215cba346caa1c21613 (patch)
tree2531739d33bfdff19bf73e300dfcb3090afd7752 /svl
parent9645435e3f408cf7877466c240522fb65acb8519 (diff)
coverity#1309052 Uncaught exception
Change-Id: Ic2d43c7f173d3cfbf20741261211468cbc1a11e4
Diffstat (limited to 'svl')
-rw-r--r--svl/source/inc/passwordcontainer.hxx2
-rw-r--r--svl/source/passwordcontainer/passwordcontainer.cxx2
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 );