[Libreoffice-commits] core.git: Branch 'libreoffice-5-0-6' - sc/source
Eike Rathke
erack at redhat.com
Thu Apr 21 14:05:56 UTC 2016
sc/source/core/data/document.cxx | 8 ++++++++
1 file changed, 8 insertions(+)
New commits:
commit dc5d3edc893ad3fcd555f28c0b1eaed3607df810
Author: Eike Rathke <erack at redhat.com>
Date: Mon Apr 18 22:03:07 2016 +0200
Resolves: tdf#99322 re-establish group area listeners after update reference
Change-Id: If2ec5f938c7278ce817de3d89dc84cc0584507ac
(cherry picked from commit 44e2da58226448c5617eac08ca2ae3d9a9ad2afa)
Reviewed-on: https://gerrit.libreoffice.org/24227
Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx
index 8e57020..16be98b 100644
--- a/sc/source/core/data/document.cxx
+++ b/sc/source/core/data/document.cxx
@@ -2596,6 +2596,14 @@ void ScDocument::CopyBlockFromClip(
SetInsertingFromOtherDoc( true);
aRefCxt.meMode = URM_MOVE;
UpdateReference(aRefCxt, rCxt.getUndoDoc(), false);
+
+ // For URM_MOVE group listeners may have been removed,
+ // re-establish them.
+ /* TODO: actually only those in
+ * sc::RefUpdateContext::maRegroupCols are affected,
+ * come up with a start listeners that takes such. */
+ StartNeededListeners();
+
SetInsertingFromOtherDoc( bOldInserting);
}
}
More information about the Libreoffice-commits
mailing list