sc/source/core/data/column2.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit 2373babc6888e840d44ed2db80567acccb9ba993 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 diff --git a/sc/source/core/data/column2.cxx b/sc/source/core/data/column2.cxx index 553a72ed91be..e846e381d250 100644 --- a/sc/source/core/data/column2.cxx +++ b/sc/source/core/data/column2.cxx @@ -1784,6 +1784,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