sw/source/core/doc/docredln.cxx |    9 +++++++++
 1 file changed, 9 insertions(+)

New commits:
commit 59d91a6e65bdff3e606dcb794ed165f95f36f775
Author:     Miklos Vajna <vmik...@collabora.com>
AuthorDate: Wed Apr 16 08:37:16 2025 +0200
Commit:     Miklos Vajna <vmik...@collabora.com>
CommitDate: Wed Apr 16 11:41:19 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/+/184256
    Tested-by: Jenkins
    Reviewed-by: Miklos Vajna <vmik...@collabora.com>

diff --git a/sw/source/core/doc/docredln.cxx b/sw/source/core/doc/docredln.cxx
index 43f0a5c2b9d0..22103e780d2a 100644
--- a/sw/source/core/doc/docredln.cxx
+++ b/sw/source/core/doc/docredln.cxx
@@ -1370,6 +1370,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;

Reply via email to