diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-10-16 09:40:42 +0200 |
---|---|---|
committer | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-10-17 15:39:13 +0000 |
commit | 9ac8a57e52a25870d497241c64bff3da0272cf4d (patch) | |
tree | 28841f59f47f03b3cba8a42c3249b299c498c2cd /basic | |
parent | a8cfb651ac0d2669d5780b707bfb1efb43f0f34c (diff) |
replace <<= with assign for <<= with rhs Any
makeAny and Any ctor return an Any
Change-Id: Iaa361bc315d785f80153acf1009bf47d109728ec
Reviewed-on: https://gerrit.libreoffice.org/29914
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/runtime/methods1.cxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/basic/source/runtime/methods1.cxx b/basic/source/runtime/methods1.cxx index dfd391443732..1166cb728a7f 100644 --- a/basic/source/runtime/methods1.cxx +++ b/basic/source/runtime/methods1.cxx @@ -2694,10 +2694,10 @@ RTLFUNC(SYD) // retrieve non-optional params Sequence< Any > aParams( 4 ); - aParams[ 0 ] <<= makeAny( rPar.Get(1)->GetDouble() ); - aParams[ 1 ] <<= makeAny( rPar.Get(2)->GetDouble() ); - aParams[ 2 ] <<= makeAny( rPar.Get(3)->GetDouble() ); - aParams[ 3 ] <<= makeAny( rPar.Get(4)->GetDouble() ); + aParams[ 0 ] = makeAny( rPar.Get(1)->GetDouble() ); + aParams[ 1 ] = makeAny( rPar.Get(2)->GetDouble() ); + aParams[ 2 ] = makeAny( rPar.Get(3)->GetDouble() ); + aParams[ 3 ] = makeAny( rPar.Get(4)->GetDouble() ); CallFunctionAccessFunction( aParams, "SYD", rPar.Get( 0 ) ); } @@ -2718,9 +2718,9 @@ RTLFUNC(SLN) // retrieve non-optional params Sequence< Any > aParams( 3 ); - aParams[ 0 ] <<= makeAny( rPar.Get(1)->GetDouble() ); - aParams[ 1 ] <<= makeAny( rPar.Get(2)->GetDouble() ); - aParams[ 2 ] <<= makeAny( rPar.Get(3)->GetDouble() ); + aParams[ 0 ] = makeAny( rPar.Get(1)->GetDouble() ); + aParams[ 1 ] = makeAny( rPar.Get(2)->GetDouble() ); + aParams[ 2 ] = makeAny( rPar.Get(3)->GetDouble() ); CallFunctionAccessFunction( aParams, "SLN", rPar.Get( 0 ) ); } @@ -2876,7 +2876,7 @@ RTLFUNC(NPV) } Sequence< Any > aParams( 2 ); - aParams[ 0 ] <<= makeAny( rPar.Get(1)->GetDouble() ); + aParams[ 0 ] = makeAny( rPar.Get(1)->GetDouble() ); Any aValues = sbxToUnoValue( rPar.Get(2), cppu::UnoType<Sequence<double>>::get() ); @@ -2960,8 +2960,8 @@ RTLFUNC(MIRR) aValues <<= sValues; aParams[ 0 ] <<= aValues; - aParams[ 1 ] <<= makeAny( rPar.Get(2)->GetDouble() ); - aParams[ 2 ] <<= makeAny( rPar.Get(3)->GetDouble() ); + aParams[ 1 ] = makeAny( rPar.Get(2)->GetDouble() ); + aParams[ 2 ] = makeAny( rPar.Get(3)->GetDouble() ); CallFunctionAccessFunction( aParams, "MIRR", rPar.Get( 0 ) ); } |