xmlsecurity/source/gpg/SecurityEnvironment.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit c6716196b53fa72d4c5f3984a214d4a8cc79d1b4
Author:     Julien Nabet <[email protected]>
AuthorDate: Tue May 7 07:59:10 2019 +0200
Commit:     Julien Nabet <[email protected]>
CommitDate: Tue May 7 10:17:18 2019 +0200

    Replace list by vector in xmlsecurity/gpg
    
    Change-Id: I746b4b2a83fcf41f38947dffc290574b18a3c691
    Reviewed-on: https://gerrit.libreoffice.org/71889
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <[email protected]>

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 );
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to