sc/source/core/tool/token.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit fbd7c65a16a2f46ee388795e1bb397a719627b9a Author: Kohei Yoshida <kohei.yosh...@collabora.com> Date: Mon Apr 28 22:57:56 2014 -0400 fdo#77647: Expand reference only when the top of the selected range is... below the top of the reference range. Change-Id: Ibb3dadb50dd076ae05033b046c9506c60605f713 (cherry picked from commit c3e40f47abe3da7e24059281a9047b1292241398) Reviewed-on: https://gerrit.libreoffice.org/9190 Reviewed-by: Andras Timar <andras.ti...@collabora.com> Tested-by: Andras Timar <andras.ti...@collabora.com> diff --git a/sc/source/core/tool/token.cxx b/sc/source/core/tool/token.cxx index 0e0f8fd..9089a62 100644 --- a/sc/source/core/tool/token.cxx +++ b/sc/source/core/tool/token.cxx @@ -2576,7 +2576,7 @@ bool expandRange( const sc::RefUpdateContext& rCxt, ScRange& rRefRange, const Sc // Selected range is only partially overlapping in horizontal direction. Bail out. return false; - if (!rCxt.mrDoc.IsExpandRefs() && rSelectedRange.aStart.Row() == rRefRange.aStart.Row()) + if (!rCxt.mrDoc.IsExpandRefs() && rSelectedRange.aStart.Row() <= rRefRange.aStart.Row()) // Selected range is at the top end and the edge expansion is turned off. No expansion. return false; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits