From c64b8ffe851d3320a15071fa4bc4b0f12e9939d5 Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Thu, 10 Nov 2016 20:31:11 -0500 Subject: 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 --- sc/source/core/data/grouptokenconverter.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit