diff options
author | Eike Rathke <erack@redhat.com> | 2015-04-20 18:50:26 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2015-04-20 18:58:46 +0200 |
commit | 887370fe830a148f309b23011f3428d80a53811d (patch) | |
tree | e74de902af97f34152bcd1fca33c0502b55922fc /sc/source/core | |
parent | 46befa93818dc7dedc614a08bf0266b0723f9284 (diff) |
only convert in svMatrix, not in external references, tdf#88547 follow-up
Change-Id: I7bc03f7ff3ec57317e7fbad4476874bac6c44877
Diffstat (limited to 'sc/source/core')
-rw-r--r-- | sc/source/core/tool/interpr3.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sc/source/core/tool/interpr3.cxx b/sc/source/core/tool/interpr3.cxx index a397bdd3435c..9218f53f5267 100644 --- a/sc/source/core/tool/interpr3.cxx +++ b/sc/source/core/tool/interpr3.cxx @@ -3670,7 +3670,8 @@ void ScInterpreter::GetNumberSequenceArray( sal_uInt8 nParamCount, vector<double size_t nRefInList = 0; while (nParam-- > 0) { - switch (GetStackType()) + const StackVar eStackType = GetStackType(); + switch (eStackType) { case formula::svDouble : rArray.push_back( PopDouble()); @@ -3724,7 +3725,7 @@ void ScInterpreter::GetNumberSequenceArray( sal_uInt8 nParamCount, vector<double for (SCSIZE i = 0; i < nCount; ++i) rArray.push_back( pMat->GetDouble(i)); } - else if (bConvertTextInArray) + else if (bConvertTextInArray && eStackType == svMatrix) { for (SCSIZE i = 0; i < nCount; ++i) { |