[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - sc/source

Kohei Yoshida kohei.yoshida at collabora.com
Tue May 6 15:10:49 PDT 2014


 sc/source/core/tool/token.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 043dc226967d28a7ccbc2a39df232ea92a25bc66
Author: Kohei Yoshida <kohei.yoshida at collabora.com>
Date:   Tue May 6 15:24:50 2014 -0400

    fdo#77647: Fix the column insertion use case.
    
    Change-Id: I7c78f54c9386eced16113e69e625d23ed4acedd7
    (cherry picked from commit 7aa32a759fb7b440f870739f7bb680f405f338ce)
    Reviewed-on: https://gerrit.libreoffice.org/9261
    Tested-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
    Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>

diff --git a/sc/source/core/tool/token.cxx b/sc/source/core/tool/token.cxx
index f4064f9..8f51a72 100644
--- a/sc/source/core/tool/token.cxx
+++ b/sc/source/core/tool/token.cxx
@@ -2560,7 +2560,7 @@ bool expandRange( const sc::RefUpdateContext& rCxt, ScRange& rRefRange, const Sc
             // Selected range is only partially overlapping in vertical direction. Bail out.
             return false;
 
-        if (!rCxt.mrDoc.IsExpandRefs() && rSelectedRange.aStart.Col() == rRefRange.aStart.Col())
+        if (!rCxt.mrDoc.IsExpandRefs() && rSelectedRange.aStart.Col() <= rRefRange.aStart.Col())
             // Selected range is at the left end and the edge expansion is turned off.  No expansion.
             return false;
 


More information about the Libreoffice-commits mailing list