From d1ea6ecda68bf65b8d90e9ea17fa0a218a92b016 Mon Sep 17 00:00:00 2001 From: Jochen Nitschke Date: Sun, 16 Oct 2016 20:08:47 +0200 Subject: replace <<= with assign for <<= with rhs Any found by deleting specialization of '<<=' template Change-Id: I253f15177ab20fd3ef9baf4158da8c662cb47e6c Reviewed-on: https://gerrit.libreoffice.org/29956 Reviewed-by: Jochen Nitschke Tested-by: Jochen Nitschke --- pyuno/source/module/pyuno.cxx | 8 ++++---- pyuno/source/module/pyuno_callable.cxx | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'pyuno') diff --git a/pyuno/source/module/pyuno.cxx b/pyuno/source/module/pyuno.cxx index 37c8bc849dc7..8c53f7464a4f 100644 --- a/pyuno/source/module/pyuno.cxx +++ b/pyuno/source/module/pyuno.cxx @@ -922,7 +922,7 @@ int lcl_setitem_index( PyUNO *me, PyObject *pKey, PyObject *pValue ) try { - aValue <<= runtime.pyObject2Any( pValue ); + aValue = runtime.pyObject2Any( pValue ); } catch ( const css::uno::RuntimeException ) { @@ -1043,7 +1043,7 @@ int lcl_setitem_slice( PyUNO *me, PyObject *pKey, PyObject *pValue ) Any aItem; try { - aItem <<= runtime.pyObject2Any( rItem.get() ); + aItem = runtime.pyObject2Any( rItem.get() ); } catch ( const css::uno::RuntimeException ) { @@ -1102,7 +1102,7 @@ int lcl_setitem_string( PyUNO *me, PyObject *pKey, PyObject *pValue ) isTuple = PyTuple_Check( pValue ); try { - aValue <<= runtime.pyObject2Any( pValue ); + aValue = runtime.pyObject2Any( pValue ); } catch( const css::uno::RuntimeException ) { @@ -1301,7 +1301,7 @@ int PyUNO_contains( PyObject *self, PyObject *pKey ) Any aValue; try { - aValue <<= runtime.pyObject2Any( pKey ); + aValue = runtime.pyObject2Any( pKey ); } catch( const css::uno::RuntimeException ) { diff --git a/pyuno/source/module/pyuno_callable.cxx b/pyuno/source/module/pyuno_callable.cxx index 24bce95e6c33..b52e8d6b517a 100644 --- a/pyuno/source/module/pyuno_callable.cxx +++ b/pyuno/source/module/pyuno_callable.cxx @@ -81,7 +81,7 @@ PyObject* PyUNO_callable_call( else { aParams.realloc (1); - aParams [0] <<= any_params; + aParams [0] = any_params; } { -- cgit