diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2016-11-10 20:31:11 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2016-11-10 20:32:16 -0500 |
commit | c64b8ffe851d3320a15071fa4bc4b0f12e9939d5 (patch) | |
tree | 816526d6bec2985f110346e0b8e38dd22378b44d | |
parent | 93187848937377993bdc093ddc05fdae63286040 (diff) |
Make sure we pass the top-left corner address.
aRefPos may shift to the right in case of a multi-column range.
Change-Id: I1ed033707b9f4f2c3523631b5035b02e59bbaa6a
-rw-r--r-- | sc/source/core/data/grouptokenconverter.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/grouptokenconverter.cxx b/sc/source/core/data/grouptokenconverter.cxx index 977dc4f2627d..024a2520af4f 100644 --- a/sc/source/core/data/grouptokenconverter.cxx +++ b/sc/source/core/data/grouptokenconverter.cxx @@ -224,7 +224,7 @@ bool ScGroupTokenConverter::convert( ScTokenArray& rCode, sc::FormulaLogger::Gro formula::DoubleVectorRefToken aTok(aArrays, nRequestedLength, nArrayLength, nRefRowSize, bAbsFirst, bAbsLast); mrGroupTokens.AddToken(aTok); - rScope.addRefMessage(mrPos, aRefPos, nRequestedLength, aArrays); + rScope.addRefMessage(mrPos, aAbs.aStart, nRequestedLength, aArrays); if (nArrayLength && !aArrays.empty() && !mxFormulaGroupContext) { |