[Libreoffice-commits] core.git: sw/source
Arnaud Versini
arnaud.versini at libreoffice.org
Wed Oct 9 04:47:06 PDT 2013
sw/source/core/doc/docedt.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 9685d20f2a0526a4c454cea1bd947eccbaeefa84
Author: Arnaud Versini <arnaud.versini at libreoffice.org>
Date: Mon Oct 7 21:09:26 2013 +0200
Fix fdo#70143 by reporting swaping of positions
(regression from 6b08fe833186a04f9aef698a540d3a7493ac4519,
which changed SwUndoReplace::Impl::SetEnd to use the wrongly set end
position in rPam)
Change-Id: I14c6f58bc5c1418c69eb565d42f1829856eed58c
diff --git a/sw/source/core/doc/docedt.cxx b/sw/source/core/doc/docedt.cxx
index 2734e7f..c269b1d 100644
--- a/sw/source/core/doc/docedt.cxx
+++ b/sw/source/core/doc/docedt.cxx
@@ -2440,7 +2440,8 @@ SetRedlineMode( eOld );
}
}
- *rPam.GetMark() = *aDelPam.GetMark();
+ if (aDelPam.GetMark() != pStt)
+ *rPam.GetPoint() = *aDelPam.GetMark();
++aPtNd;
rPam.GetMark()->nNode = aPtNd;
More information about the Libreoffice-commits
mailing list