summaryrefslogtreecommitdiff
path: root/basic/source/runtime/methods1.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-02-03 08:54:47 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-02-03 08:50:50 +0000
commit83721f4365d234b62f9e3517345c8d3fda19f2c6 (patch)
treeaf77c202dbdf0b969559441c724020e5d7a9da92 /basic/source/runtime/methods1.cxx
parent9007cc7bcaa8bc1b38c54f167349f71373f02dec (diff)
makeAny->Any in basctl..chart2
Change-Id: Ief1cdffbfc59ab4e35ac945d020772ff84c50d61 Reviewed-on: https://gerrit.libreoffice.org/33867 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basic/source/runtime/methods1.cxx')
-rw-r--r--basic/source/runtime/methods1.cxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/basic/source/runtime/methods1.cxx b/basic/source/runtime/methods1.cxx
index eee8de4a90aa..f24e4268293f 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 ] <<= rPar.Get(1)->GetDouble();
+ aParams[ 1 ] <<= rPar.Get(2)->GetDouble();
+ aParams[ 2 ] <<= rPar.Get(3)->GetDouble();
+ aParams[ 3 ] <<= 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 ] <<= rPar.Get(1)->GetDouble();
+ aParams[ 1 ] <<= rPar.Get(2)->GetDouble();
+ aParams[ 2 ] <<= 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 ] <<= 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 ] <<= rPar.Get(2)->GetDouble();
+ aParams[ 2 ] <<= rPar.Get(3)->GetDouble();
CallFunctionAccessFunction( aParams, "MIRR", rPar.Get( 0 ) );
}