diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-07-27 16:33:00 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-07-27 16:35:34 -0400 |
commit | 8b96cfd6caedbad7b3b79e57421a834f18c5c511 (patch) | |
tree | 6d19d404a7060b7daebb93a1f0f0d7d407e62348 | |
parent | 787940e0ac285aa1101ca8964d252faaab3ea8c1 (diff) |
fdo#61201: Don't forget to calculate row offset for external single ref.
Change-Id: Ie3dbf2eeba98a60aa2426b1db35ac885102d3821
-rw-r--r-- | sc/source/core/tool/interpr1.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/core/tool/interpr1.cxx b/sc/source/core/tool/interpr1.cxx index a18a42d7292b..4a4849581752 100644 --- a/sc/source/core/tool/interpr1.cxx +++ b/sc/source/core/tool/interpr1.cxx @@ -7454,6 +7454,7 @@ void ScInterpreter::ScOffset() nCol1 = (SCCOL)((long)nCol1+nColPlus); nRow1 = (SCROW)((long)nRow1+nRowPlus); nCol2 = (SCCOL)((long)nCol1+nColNew-1); + nRow2 = (SCROW)((long)nRow1+nRowNew-1); nTab2 = nTab1; if (!ValidCol(nCol1) || !ValidRow(nRow1) || !ValidCol(nCol2) || !ValidRow(nRow2)) |