From 389999abdb2d35f8641a6ff2e8984887166d39e2 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 8 Nov 2016 15:53:21 +0200 Subject: make comphelper::containerToSequence a little smarter So we don't have to specify the source and destination type as often. Change-Id: Id9e286417a1cb246d163cbc3c536b231a4a92624 Reviewed-on: https://gerrit.libreoffice.org/30700 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- pyuno/source/module/pyuno_runtime.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pyuno') diff --git a/pyuno/source/module/pyuno_runtime.cxx b/pyuno/source/module/pyuno_runtime.cxx index 2a3a9e7d05f0..4dd532ff30c3 100644 --- a/pyuno/source/module/pyuno_runtime.cxx +++ b/pyuno/source/module/pyuno_runtime.cxx @@ -632,7 +632,7 @@ bool Runtime::pyIterUnpack( PyObject *const pObj, Any &a ) const items.push_back( pyObject2Any( rItem.get() ) ); } while( (pItem = PyIter_Next( pObj )) ); - a <<= comphelper::containerToSequence(items); + a <<= comphelper::containerToSequence(items); return true; } -- cgit