summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorWinfried Donkers <winfrieddonkers@libreoffice.org>2018-03-07 17:54:58 +0100
committerEike Rathke <erack@redhat.com>2018-03-08 13:49:24 +0100
commit754d1053d37feb2bc91eaa74b3c3b111a0f8d859 (patch)
tree09494a4ae5e7ebafddd8983fd0d3099885f78045 /sc
parenta14153316098f415b0bad5056abd9f93dcdf37aa (diff)
Load arguments in array in the order of the arguments.
Change-Id: I1a47018d626848e6d07c7e637ee6e04ff7750ac8 Reviewed-on: https://gerrit.libreoffice.org/50904 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/tool/interpr3.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/core/tool/interpr3.cxx b/sc/source/core/tool/interpr3.cxx
index f73b7b65b818..f7ca635cc2f9 100644
--- a/sc/source/core/tool/interpr3.cxx
+++ b/sc/source/core/tool/interpr3.cxx
@@ -3709,6 +3709,7 @@ void ScInterpreter::GetNumberSequenceArray( sal_uInt8 nParamCount, vector<double
ScRange aRange;
short nParam = nParamCount;
size_t nRefInList = 0;
+ ReverseStack( nParamCount );
while (nParam-- > 0)
{
const StackVar eStackType = GetStackType();