summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorPranam Lashkari <lpranam@collabora.com>2024-05-22 11:57:57 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-05-29 14:24:31 +0200
commit124a988ea99096ea5080060c0d1a801528bd7a5c (patch)
tree2ba2d79cb8fcc118d6e354a69c1457ca3bb98cf6 /sw/inc
parenta764f661e0e1b94af128cc2290ee6510adad5ffd (diff)
create comment reply synchronously
so we can bundle the creation of the comment and the insertion of its "reply" characteristics together as a single Undo group. wrap the new combination with a single undo operation showing "Insert Comment" using Rewriter Change-Id: I5927fa5501da0c49cc1182c60e23be290b8c37c5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168190 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/PostItMgr.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/inc/PostItMgr.hxx b/sw/inc/PostItMgr.hxx
index 1a6dac4a8f62..e2922a045a1c 100644
--- a/sw/inc/PostItMgr.hxx
+++ b/sw/inc/PostItMgr.hxx
@@ -195,6 +195,7 @@ class SAL_DLLPUBLIC_RTTI SwPostItMgr final : public SfxListener
sw::annotation::SwAnnotationWin* GetNextPostIt( sal_uInt16 aDirection,
sw::annotation::SwAnnotationWin* aPostIt);
SwPostItField* GetLatestPostItField();
+ sw::annotation::SwAnnotationWin* GetOrCreateAnnotationWindowForLatestPostItField();
tools::Long GetNextBorder();