[Libreoffice-commits] core.git: pyuno/source

Julien Nabet serval2412 at yahoo.fr
Sat Nov 4 15:26:04 UTC 2017


 pyuno/source/module/pyuno_runtime.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit a64c741f20dc3fcc8c47762b6cfe7f8551557394
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sat Nov 4 15:08:25 2017 +0100

    Replace only list by vector in pyuno
    
    Change-Id: Ic770d1fb8e3735123786a73a7b57f71ad8005d5d
    Reviewed-on: https://gerrit.libreoffice.org/44301
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/pyuno/source/module/pyuno_runtime.cxx b/pyuno/source/module/pyuno_runtime.cxx
index 0955326f61fc..172c0313fd9e 100644
--- a/pyuno/source/module/pyuno_runtime.cxx
+++ b/pyuno/source/module/pyuno_runtime.cxx
@@ -31,7 +31,6 @@
 #include <rtl/ustrbuf.hxx>
 #include <rtl/bootstrap.hxx>
 
-#include <list>
 #include <typelib/typedescription.hxx>
 
 #include <com/sun/star/lang/WrappedTargetRuntimeException.hpp>
@@ -609,7 +608,7 @@ bool Runtime::pyIterUnpack( PyObject *const pObj, Any &a ) const
         return true;
     }
 
-    ::std::list<Any> items;
+    ::std::vector<Any> items;
     do
     {
         PyRef rItem( pItem, SAL_NO_ACQUIRE );


More information about the Libreoffice-commits mailing list