diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-10-18 12:56:25 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-19 19:28:18 +0000 |
commit | 7567a4c230625bbf922c52c861363f1cc4d6a1c7 (patch) | |
tree | 4fe8184d18021beb6c194cc899cec568db5c4ae1 /connectivity | |
parent | 17cbea4159c369cc9324a67ab2f1aac9cf416476 (diff) |
'>>=' with rhs Any is a copy assignment
replace '>>=' operator with '=' where return value is not checked
and simplify. (note: switches lhs with rhs)
Change-Id: I0d283e8786ea996ed80d7aa9d8a4ea930a3d52f8
Reviewed-on: https://gerrit.libreoffice.org/30004
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/commontools/dbtools.cxx | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/connectivity/source/commontools/dbtools.cxx b/connectivity/source/commontools/dbtools.cxx index 7352946ee92e..0f4b0ad8a02e 100644 --- a/connectivity/source/commontools/dbtools.cxx +++ b/connectivity/source/commontools/dbtools.cxx @@ -1438,9 +1438,7 @@ bool implUpdateObject(const Reference< XRowUpdate >& _rxUpdatedObject, { case TypeClass_ANY: { - Any aInnerValue; - _rValue >>= aInnerValue; - bSuccessfullyReRouted = implUpdateObject(_rxUpdatedObject, _nColumnIndex, aInnerValue); + bSuccessfullyReRouted = implUpdateObject(_rxUpdatedObject, _nColumnIndex, _rValue); } break; @@ -1546,9 +1544,7 @@ bool implSetObject( const Reference< XParameters >& _rxParameters, case TypeClass_ANY: { - Any aInnerValue; - _rValue >>= aInnerValue; - bSuccessfullyReRouted = implSetObject(_rxParameters, _nColumnIndex, aInnerValue); + bSuccessfullyReRouted = implSetObject(_rxParameters, _nColumnIndex, _rValue); } break; |