summaryrefslogtreecommitdiff
path: root/svl/source/passwordcontainer/passwordcontainer.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-08-31 21:51:42 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-09-01 10:40:14 +0100
commitde32f503202be634d8de95744d4942d74a4a9511 (patch)
tree027437667bad119e8107edd1d60e8c7198fd70b9 /svl/source/passwordcontainer/passwordcontainer.cxx
parent2ff52852a267f6a7c63d00291bc38677916d39c5 (diff)
coverity#1372396 Uncaught exception
Change-Id: Idd2be5ba18d68ab9b5f7da12b69727480ad9ff50
Diffstat (limited to 'svl/source/passwordcontainer/passwordcontainer.cxx')
-rw-r--r--svl/source/passwordcontainer/passwordcontainer.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/svl/source/passwordcontainer/passwordcontainer.cxx b/svl/source/passwordcontainer/passwordcontainer.cxx
index 16b3444f8044..347129100324 100644
--- a/svl/source/passwordcontainer/passwordcontainer.cxx
+++ b/svl/source/passwordcontainer/passwordcontainer.cxx
@@ -1358,13 +1358,11 @@ OUString SAL_CALL PasswordContainer::impl_getStaticImplementationName() throw(un
return OUString("stardiv.svl.PasswordContainer");
}
-
-Reference< XInterface > SAL_CALL PasswordContainer::impl_createInstance( const Reference< XMultiServiceFactory >& xServiceManager ) throw( RuntimeException )
+Reference< XInterface > SAL_CALL PasswordContainer::impl_createInstance( const Reference< XMultiServiceFactory >& xServiceManager ) throw( RuntimeException, std::exception )
{
return Reference< XInterface >( *new PasswordContainer( xServiceManager ) );
}
-
Reference< XSingleServiceFactory > SAL_CALL PasswordContainer::impl_createFactory( const Reference< XMultiServiceFactory >& ServiceManager ) throw(RuntimeException)
{
Reference< XSingleServiceFactory > xReturn( ::cppu::createOneInstanceFactory( ServiceManager,