sc/source/core/data/formulacell.cxx | 4 ++++ 1 file changed, 4 insertions(+)
New commits: commit f344ed968081ad9227994765bc00e6089966dc8d Author: Kohei Yoshida <kohei.yosh...@gmail.com> Date: Fri Aug 9 16:41:22 2013 -0400 If the formula cell is grouped, update reference only on the top cell. Change-Id: I5e2e9db621a61deba39a46962e0ca877235d7c90 diff --git a/sc/source/core/data/formulacell.cxx b/sc/source/core/data/formulacell.cxx index c87b045..06fb6dc 100644 --- a/sc/source/core/data/formulacell.cxx +++ b/sc/source/core/data/formulacell.cxx @@ -2598,6 +2598,10 @@ bool ScFormulaCell::UpdateReference( if (pDocument->IsClipOrUndo()) return false; + if (mxGroup && mxGroup->mnStart != aPos.Row()) + // Update only the top cell in case the cell is part of a formula group. + return false; + switch (rCxt.meMode) { case URM_INSDEL: _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits