diff options
author | Pranav Kant <pranavk@collabora.co.uk> | 2017-04-20 14:43:44 +0530 |
---|---|---|
committer | Pranav Kant <pranavk@collabora.co.uk> | 2017-04-20 16:08:25 +0530 |
commit | 2373babc6888e840d44ed2db80567acccb9ba993 (patch) | |
tree | ece6cb7cabb6e266abf77c0ecbed793316d29a7c /sc | |
parent | 8411f48bfb71d5713b185b41d6519b0beb4c1e83 (diff) |
sc lok: Notify when comment is added to destination doc
This can happen, for example, when undoing a deleted comment.
Change-Id: I4aff244f1263b650457a70334f5f4d2c75ad3b64
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/data/column2.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
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); } }; |