diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-05-06 15:24:50 -0400 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2014-05-09 14:48:27 +0200 |
commit | 58a2c51b211f1567ae1ecdbe8863553a9028ae86 (patch) | |
tree | d54ad890e39eef98cacd0675e9a627d8ac6a8b04 /sc | |
parent | 57b2a8982fa0d156be545ec5863da3faa3b27fde (diff) |
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@googlemail.com>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/tool/token.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/token.cxx b/sc/source/core/tool/token.cxx index f4064f9a07fc..8f51a724604c 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; |