summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2023-09-14 20:07:47 +0200
committerMiklos Vajna <vmiklos@collabora.com>2023-09-15 09:07:05 +0200
commitf1e4401dfbe7631de5de04960bebb72537618033 (patch)
tree46df10babba5296c1f218e5340346d9f1492a084
parent233e0a009a6a22342a86a03eeb1349be2cd2d3eb (diff)
sw doc model xml dump: show when a redline is moved
E.g. the DOCX import sets this bit on inserts and deletes. Change-Id: If7b654125071b204c9accfc3ea49e30767e82832 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156929 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
-rw-r--r--sw/source/core/doc/docredln.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/core/doc/docredln.cxx b/sw/source/core/doc/docredln.cxx
index 752de518accb..205e532712eb 100644
--- a/sw/source/core/doc/docredln.cxx
+++ b/sw/source/core/doc/docredln.cxx
@@ -1168,6 +1168,7 @@ void SwRedlineData::dumpAsXml(xmlTextWriterPtr pWriter) const
break;
}
(void)xmlTextWriterWriteAttribute(pWriter, BAD_CAST("type"), BAD_CAST(sRedlineType.getStr()));
+ (void)xmlTextWriterWriteAttribute(pWriter, BAD_CAST("moved"), BAD_CAST(OString::boolean(m_bMoved).getStr()));
(void)xmlTextWriterEndElement(pWriter);
}