diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-10-16 20:08:47 +0200 |
---|---|---|
committer | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-10-18 19:16:44 +0000 |
commit | d1ea6ecda68bf65b8d90e9ea17fa0a218a92b016 (patch) | |
tree | 941e1e5650db110768d2ace19c891fec4f78fc33 /pyuno | |
parent | 55bcb865ee09673af06652e507d08d13069eae86 (diff) |
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 <j.nitschke+logerrit@ok.de>
Tested-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
Diffstat (limited to 'pyuno')
-rw-r--r-- | pyuno/source/module/pyuno.cxx | 8 | ||||
-rw-r--r-- | pyuno/source/module/pyuno_callable.cxx | 2 |
2 files changed, 5 insertions, 5 deletions
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; } { |