[Libreoffice-commits] core.git: sc/source
Kohei Yoshida
kohei.yoshida at collabora.com
Fri Apr 7 02:05:05 UTC 2017
sc/source/core/tool/token.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 8e9b4227b739d735a4c232a5f0e7df47a4e94be9
Author: Kohei Yoshida <kohei.yoshida at collabora.com>
Date: Thu Apr 6 20:39:29 2017 -0400
Fix the inline comment a bit to make it make more sense.
Change-Id: I29523ce69aa4e834e13b7cecd312323c9257ffc3
diff --git a/sc/source/core/tool/token.cxx b/sc/source/core/tool/token.cxx
index 36928d20a6a1..26075a4278f5 100644
--- a/sc/source/core/tool/token.cxx
+++ b/sc/source/core/tool/token.cxx
@@ -3134,8 +3134,8 @@ sc::RefUpdateResult ScTokenArray::AdjustReferenceOnMove(
// The cell hasn't moved at all.
return aRes;
- // When moving, the range is the destination range. We need to use the old
- // range prior to the move for hit analysis.
+ // When moving, the range in the context is the destination range. We need
+ // to use the old range prior to the move for hit analysis.
ScRange aOldRange = rCxt.maRange;
ScRange aErrorMoveRange( ScAddress::UNINITIALIZED );
if (!aOldRange.Move(-rCxt.mnColDelta, -rCxt.mnRowDelta, -rCxt.mnTabDelta, aErrorMoveRange))
More information about the Libreoffice-commits
mailing list