sw/source/core/doc/docredln.cxx | 9 +++++++++ 1 file changed, 9 insertions(+)
New commits: commit d7c3ecfe63d67927877202dcf18c7a3dedd2341e Author: Miklos Vajna <vmik...@collabora.com> AuthorDate: Wed Apr 16 08:37:16 2025 +0200 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Wed Apr 16 09:56:55 2025 +0200 sw doc model xml dump: show more redline types RedlineType::ParagraphFormat was the actual type I didn't see, as it was reported as "UNKNOWN". Keep existing values unchanged, although the C++ code was changed in commit 28bff4bd3947f442c0aebb92217cd0c7b6a53bda (convert nsRedlineType_t to scoped enum, 2019-05-23), and SwRedlineData::dumpAsXml() wasn't adapted accordingly. Change-Id: Iefe4824789cace1bd906f11862e147c53a3aac8e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/184252 Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com> Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> diff --git a/sw/source/core/doc/docredln.cxx b/sw/source/core/doc/docredln.cxx index ee99d245b755..866fe1f4e9d2 100644 --- a/sw/source/core/doc/docredln.cxx +++ b/sw/source/core/doc/docredln.cxx @@ -1375,6 +1375,15 @@ void SwRedlineData::dumpAsXml(xmlTextWriterPtr pWriter) const case RedlineType::Format: sRedlineType = "REDLINE_FORMAT"_ostr; break; + case RedlineType::Table: + sRedlineType = "REDLINE_TABLE"_ostr; + break; + case RedlineType::FmtColl: + sRedlineType = "REDLINE_FMTCOLL"_ostr; + break; + case RedlineType::ParagraphFormat: + sRedlineType = "REDLINE_PARAGRAPH_FORMAT"_ostr; + break; default: sRedlineType = "UNKNOWN"_ostr; break;