summaryrefslogtreecommitdiff
path: root/basic/source/runtime/methods1.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basic/source/runtime/methods1.cxx')
-rw-r--r--basic/source/runtime/methods1.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/basic/source/runtime/methods1.cxx b/basic/source/runtime/methods1.cxx
index 8351100c9b62..a7212fc13151 100644
--- a/basic/source/runtime/methods1.cxx
+++ b/basic/source/runtime/methods1.cxx
@@ -2630,7 +2630,7 @@ void SbRtl_NPV(StarBASIC *, SbxArray & rPar, bool)
// convert for calc functions
Sequence< Sequence< double > > sValues(1);
- aValues >>= sValues[ 0 ];
+ aValues >>= sValues.getArray()[ 0 ];
aValues <<= sValues;
Sequence< Any > aParams
@@ -2703,7 +2703,7 @@ void SbRtl_MIRR(StarBASIC *, SbxArray & rPar, bool)
// convert for calc functions
Sequence< Sequence< double > > sValues(1);
- aValues >>= sValues[ 0 ];
+ aValues >>= sValues.getArray()[ 0 ];
aValues <<= sValues;
Sequence< Any > aParams
@@ -2731,7 +2731,7 @@ void SbRtl_IRR(StarBASIC *, SbxArray & rPar, bool)
// convert for calc functions
Sequence< Sequence< double > > sValues(1);
- aValues >>= sValues[ 0 ];
+ aValues >>= sValues.getArray()[ 0 ];
aValues <<= sValues;
// set default values for Optional args