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 /basic | |
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 'basic')
-rw-r--r-- | basic/source/classes/sbunoobj.cxx | 2 | ||||
-rw-r--r-- | basic/source/runtime/methods1.cxx | 6 | ||||
-rw-r--r-- | basic/source/uno/namecont.cxx | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/basic/source/classes/sbunoobj.cxx b/basic/source/classes/sbunoobj.cxx index 1933e693bf80..2a73adfd6f06 100644 --- a/basic/source/classes/sbunoobj.cxx +++ b/basic/source/classes/sbunoobj.cxx @@ -4475,7 +4475,7 @@ Reference< XInterface > createComListener( const Any& aControlAny, const OUStrin Reference< XInvocation > xProxy = new ModuleInvocationProxy( aPrefix, xScopeObj ); Sequence<Any> args( 3 ); - args[0] <<= aControlAny; + args[0] = aControlAny; args[1] <<= aVBAType; args[2] <<= xProxy; diff --git a/basic/source/runtime/methods1.cxx b/basic/source/runtime/methods1.cxx index 1166cb728a7f..a93e988bafb4 100644 --- a/basic/source/runtime/methods1.cxx +++ b/basic/source/runtime/methods1.cxx @@ -2885,7 +2885,7 @@ RTLFUNC(NPV) aValues >>= sValues[ 0 ]; aValues <<= sValues; - aParams[ 1 ] <<= aValues; + aParams[ 1 ] = aValues; CallFunctionAccessFunction( aParams, "NPV", rPar.Get( 0 ) ); } @@ -2959,7 +2959,7 @@ RTLFUNC(MIRR) aValues >>= sValues[ 0 ]; aValues <<= sValues; - aParams[ 0 ] <<= aValues; + aParams[ 0 ] = aValues; aParams[ 1 ] = makeAny( rPar.Get(2)->GetDouble() ); aParams[ 2 ] = makeAny( rPar.Get(3)->GetDouble() ); @@ -2997,7 +2997,7 @@ RTLFUNC(IRR) } Sequence< Any > aParams( 2 ); - aParams[ 0 ] <<= aValues; + aParams[ 0 ] = aValues; aParams[ 1 ] <<= guess; CallFunctionAccessFunction( aParams, "IRR", rPar.Get( 0 ) ); diff --git a/basic/source/uno/namecont.cxx b/basic/source/uno/namecont.cxx index 566e349c2772..5e0b56e72fa7 100644 --- a/basic/source/uno/namecont.cxx +++ b/basic/source/uno/namecont.cxx @@ -180,7 +180,7 @@ void NameContainer::replaceByName( const OUString& aName, const Any& aElement ) aEvent.Base <<= aEvent.Source; aEvent.Changes.realloc( 1 ); aEvent.Changes[ 0 ].Accessor <<= aName; - aEvent.Changes[ 0 ].Element <<= aElement; + aEvent.Changes[ 0 ].Element = aElement; aEvent.Changes[ 0 ].ReplacedElement = aOldElement; maChangesListeners.notifyEach( &XChangesListener::changesOccurred, aEvent ); } @@ -233,7 +233,7 @@ void NameContainer::insertNoCheck(const OUString& aName, const Any& aElement) aEvent.Base <<= aEvent.Source; aEvent.Changes.realloc( 1 ); aEvent.Changes[ 0 ].Accessor <<= aName; - aEvent.Changes[ 0 ].Element <<= aElement; + aEvent.Changes[ 0 ].Element = aElement; maChangesListeners.notifyEach( &XChangesListener::changesOccurred, aEvent ); } } |