summaryrefslogtreecommitdiffstats
path: root/pyuno/source/module/pyuno_iterator.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'pyuno/source/module/pyuno_iterator.cxx')
-rw-r--r--pyuno/source/module/pyuno_iterator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyuno/source/module/pyuno_iterator.cxx b/pyuno/source/module/pyuno_iterator.cxx
index 7bf399e6af24..71ccb03ac6cd 100644
--- a/pyuno/source/module/pyuno_iterator.cxx
+++ b/pyuno/source/module/pyuno_iterator.cxx
@@ -166,7 +166,7 @@ static PyTypeObject PyUNO_iterator_Type =
#endif
};
-PyObject* PyUNO_iterator_new( const Reference< XEnumeration > xEnumeration )
+PyObject* PyUNO_iterator_new( const Reference< XEnumeration >& xEnumeration )
{
PyUNO_iterator* self = PyObject_New( PyUNO_iterator, &PyUNO_iterator_Type );
if ( self == nullptr )