[Libreoffice-commits] core.git: sw/source
Julien Nabet
serval2412 at yahoo.fr
Thu Dec 15 06:14:19 UTC 2016
sw/source/core/doc/tblcpy.cxx | 1 -
1 file changed, 1 deletion(-)
New commits:
commit 14a0d26d6ae0ee59a685c254ec235fea81636475
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Wed Dec 14 21:43:10 2016 +0100
tdf#104554: fix iterator calculus
and avoid unexpected behaviours when pasting columns between tables
regression from:
https://cgit.freedesktop.org/libreoffice/core/commit/?id=f0fa43ea99ac7564f2cc7ca1d997831808056b68
http://www.cplusplus.com/reference/list/list/insert/
and http://www.cplusplus.com/reference/deque/deque/insert/
helped me to understand my mistake
Change-Id: I6ff6b84a90c7ea8db1e4d7c2d12dd191f96141ae
Reviewed-on: https://gerrit.libreoffice.org/32020
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
Tested-by: Julien Nabet <serval2412 at yahoo.fr>
diff --git a/sw/source/core/doc/tblcpy.cxx b/sw/source/core/doc/tblcpy.cxx
index b5bc61c..c6d42e6 100644
--- a/sw/source/core/doc/tblcpy.cxx
+++ b/sw/source/core/doc/tblcpy.cxx
@@ -336,7 +336,6 @@ namespace
if( rpCol == maCols.end() || *rpCol > rnBorder )
{
rpCol = maCols.insert( rpCol, rnBorder );
- --rpCol;
incColSpan( nLine, rnCol );
}
aInfo.mnColSpan = rnCol - nLeftCol;
More information about the Libreoffice-commits
mailing list