sc/source/core/data/column2.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit 14b9d20090b9ecb75c13d1f5667b14df652cf027 Author: Pranav Kant <pran...@collabora.co.uk> Date: Thu Apr 20 14:43:44 2017 +0530 sc lok: Notify when comment is added to destination doc This can happen, for example, when undoing a deleted comment. Change-Id: I4aff244f1263b650457a70334f5f4d2c75ad3b64 (cherry picked from commit 2373babc6888e840d44ed2db80567acccb9ba993) Reviewed-on: https://gerrit.libreoffice.org/36732 Reviewed-by: Jan Holesovsky <ke...@collabora.com> Tested-by: Jan Holesovsky <ke...@collabora.com> diff --git a/sc/source/core/data/column2.cxx b/sc/source/core/data/column2.cxx index ba1af5e212a0..73ebc5ab6dce 100644 --- a/sc/source/core/data/column2.cxx +++ b/sc/source/core/data/column2.cxx @@ -1783,6 +1783,8 @@ public: ScAddress aSrcPos(mnSrcCol, nRow, mnSrcTab); ScAddress aDestPos(mnDestCol, nDestRow, mnDestTab); miPos = mrDestNotes.set(miPos, nDestRow, p->Clone(aSrcPos, mrDestCol.GetDoc(), aDestPos, mbCloneCaption)); + // Notify our LOK clients also + ScDocShell::LOKCommentNotify(LOKCommentNotificationType::Add, &mrDestCol.GetDoc(), aDestPos, p); } }; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits