summaryrefslogtreecommitdiffstats
path: root/sc/inc/mtvfunctions.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-02-03 14:42:30 -0500
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-02-03 14:45:10 -0500
commit3e2ffb053f9749c6f6990c5ce8f47dc63ea7c148 (patch)
tree481732b0859fef231a7f51b152dd187bd319e2b2 /sc/inc/mtvfunctions.hxx
parentFinally found a way to get this test to fail. (diff)
downloadcore-3e2ffb053f9749c6f6990c5ce8f47dc63ea7c148.tar.gz
core-3e2ffb053f9749c6f6990c5ce8f47dc63ea7c148.zip
fdo#72470: Correctly calculate the first edit cell row position.
Else it could go into an infinite loop. Change-Id: I269cd118dcb3ab83ea8a2243576a360d3d4bc142
Diffstat (limited to 'sc/inc/mtvfunctions.hxx')
-rw-r--r--sc/inc/mtvfunctions.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/mtvfunctions.hxx b/sc/inc/mtvfunctions.hxx
index 3c2a94010589..6955d21c3c5a 100644
--- a/sc/inc/mtvfunctions.hxx
+++ b/sc/inc/mtvfunctions.hxx
@@ -618,7 +618,7 @@ FindElement2(
break;
default:
{
- ElseRetType aRet = rFuncElse(it->type, nTopRow, nDataSize);
+ ElseRetType aRet = rFuncElse(*it, nOffset);
if (aRet.second)
return PositionType(it, aRet.first);
}