diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2019-05-07 07:59:10 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2019-05-07 10:17:18 +0200 |
commit | c6716196b53fa72d4c5f3984a214d4a8cc79d1b4 (patch) | |
tree | 2e8255b0c8012b3acfcbe4540c0c6754b58c9b3e /xmlsecurity | |
parent | 5e8d51ca7b597eeaf9f8cfbb1c97e8ab51b030a8 (diff) |
Replace list by vector in xmlsecurity/gpg
Change-Id: I746b4b2a83fcf41f38947dffc290574b18a3c691
Reviewed-on: https://gerrit.libreoffice.org/71889
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'xmlsecurity')
-rw-r--r-- | xmlsecurity/source/gpg/SecurityEnvironment.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmlsecurity/source/gpg/SecurityEnvironment.cxx b/xmlsecurity/source/gpg/SecurityEnvironment.cxx index 99dc064ca6d2..99d256ea4c99 100644 --- a/xmlsecurity/source/gpg/SecurityEnvironment.cxx +++ b/xmlsecurity/source/gpg/SecurityEnvironment.cxx @@ -17,7 +17,7 @@ #include <cppuhelper/supportsservice.hxx> #include <comphelper/servicehelper.hxx> -#include <list> +#include <vector> #ifdef _WIN32 #include <config_folders.h> @@ -120,8 +120,8 @@ OUString SecurityEnvironmentGpg::getSecurityEnvironmentInformation() Sequence< Reference < XCertificate > > SecurityEnvironmentGpg::getCertificatesImpl( bool bPrivateOnly ) { CertificateImpl* xCert; - std::list< GpgME::Key > keyList; - std::list< CertificateImpl* > certsList; + std::vector< GpgME::Key > keyList; + std::vector< CertificateImpl* > certsList; m_ctx->setKeyListMode(GPGME_KEYLIST_MODE_LOCAL); GpgME::Error err = m_ctx->startKeyListing("", bPrivateOnly ); |