summaryrefslogtreecommitdiff
path: root/sw/inc/AnnotationWin.hxx
diff options
context:
space:
mode:
authorPranav Kant <pranavk@collabora.co.uk>2017-01-27 15:10:34 +0530
committerpranavk <pranavk@collabora.co.uk>2017-01-27 11:52:22 +0000
commit4b8e711ead69aaa129637aad484c63877fa10890 (patch)
tree3136319d7f13ce0c1eb51d19a16220b8a9abcbd9 /sw/inc/AnnotationWin.hxx
parent5f5073a84518e4a8660e0153c2e218fb75a85ec4 (diff)
lok: Calculate and return parent comment id
... instead of just checking if its a root comment or reply one. Change-Id: I2539e6893ee69bfe12911807504df49edf422be2 Reviewed-on: https://gerrit.libreoffice.org/33470 Reviewed-by: pranavk <pranavk@collabora.co.uk> Tested-by: pranavk <pranavk@collabora.co.uk>
Diffstat (limited to 'sw/inc/AnnotationWin.hxx')
-rw-r--r--sw/inc/AnnotationWin.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/inc/AnnotationWin.hxx b/sw/inc/AnnotationWin.hxx
index 07dde376b880..0062f96481e5 100644
--- a/sw/inc/AnnotationWin.hxx
+++ b/sw/inc/AnnotationWin.hxx
@@ -52,7 +52,8 @@ class SwAnnotationWin : public sw::sidebarwindows::SwSidebarWin
virtual sal_uInt32 MoveCaret() override;
- virtual bool CalcFollow() override;
+ /// Calculate parent postit id of currrent annotation window
+ virtual sal_uInt32 CalcParent() override;
void InitAnswer(OutlinerParaObject* pText);
virtual bool IsProtected() override;