summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uno/unotxdoc.cxx
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/source/uibase/uno/unotxdoc.cxx
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/source/uibase/uno/unotxdoc.cxx')
-rw-r--r--sw/source/uibase/uno/unotxdoc.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/uno/unotxdoc.cxx b/sw/source/uibase/uno/unotxdoc.cxx
index a43658300749..549b150198f0 100644
--- a/sw/source/uibase/uno/unotxdoc.cxx
+++ b/sw/source/uibase/uno/unotxdoc.cxx
@@ -3205,7 +3205,7 @@ OUString SwXTextDocument::getPostIts()
boost::property_tree::ptree aAnnotation;
aAnnotation.put("id", pField->GetPostItId());
- aAnnotation.put("reply", pWin->IsFollow());
+ aAnnotation.put("parent", pWin->CalcParent());
aAnnotation.put("author", pField->GetPar1().toUtf8().getStr());
aAnnotation.put("text", pField->GetPar2().toUtf8().getStr());
aAnnotation.put("dateTime", utl::toISO8601(pField->GetDateTime().GetUNODateTime()));