Kaydet (Commit) c6716196 authored tarafından Julien Nabet's avatar Julien Nabet

Replace list by vector in xmlsecurity/gpg

Change-Id: I746b4b2a83fcf41f38947dffc290574b18a3c691
Reviewed-on: https://gerrit.libreoffice.org/71889
Tested-by: Jenkins
Reviewed-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
üst 5e8d51ca
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
#include <cppuhelper/supportsservice.hxx> #include <cppuhelper/supportsservice.hxx>
#include <comphelper/servicehelper.hxx> #include <comphelper/servicehelper.hxx>
#include <list> #include <vector>
#ifdef _WIN32 #ifdef _WIN32
#include <config_folders.h> #include <config_folders.h>
...@@ -120,8 +120,8 @@ OUString SecurityEnvironmentGpg::getSecurityEnvironmentInformation() ...@@ -120,8 +120,8 @@ OUString SecurityEnvironmentGpg::getSecurityEnvironmentInformation()
Sequence< Reference < XCertificate > > SecurityEnvironmentGpg::getCertificatesImpl( bool bPrivateOnly ) Sequence< Reference < XCertificate > > SecurityEnvironmentGpg::getCertificatesImpl( bool bPrivateOnly )
{ {
CertificateImpl* xCert; CertificateImpl* xCert;
std::list< GpgME::Key > keyList; std::vector< GpgME::Key > keyList;
std::list< CertificateImpl* > certsList; std::vector< CertificateImpl* > certsList;
m_ctx->setKeyListMode(GPGME_KEYLIST_MODE_LOCAL); m_ctx->setKeyListMode(GPGME_KEYLIST_MODE_LOCAL);
GpgME::Error err = m_ctx->startKeyListing("", bPrivateOnly ); GpgME::Error err = m_ctx->startKeyListing("", bPrivateOnly );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment