sw/source/core/txtnode/ndtxt.cxx |    3 ---
 1 file changed, 3 deletions(-)

New commits:
commit fb7f214032c3455a9e7213a5067ac31585413e0d
Author:     Miklos Vajna <[email protected]>
AuthorDate: Wed Dec 14 19:59:21 2022 +0100
Commit:     Miklos Vajna <[email protected]>
CommitDate: Thu Dec 15 08:11:35 2022 +0000

    sw doc model xml dump: a text node doesn't own its numbering rule
    
    Just remove this from the dump: SwNumRuleTable already provides the same
    info (it owns the numbering rule) and the text node already shows the
    numbering ID in its SwNumRuleItem.
    
    Change-Id: Id55db5e41d5923073d04c2a1f9e996766d7484e2
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144195
    Tested-by: Jenkins
    Reviewed-by: Miklos Vajna <[email protected]>

diff --git a/sw/source/core/txtnode/ndtxt.cxx b/sw/source/core/txtnode/ndtxt.cxx
index a334baf87634..ba7ab2b1f54f 100644
--- a/sw/source/core/txtnode/ndtxt.cxx
+++ b/sw/source/core/txtnode/ndtxt.cxx
@@ -5346,9 +5346,6 @@ void SwTextNode::dumpAsXml(xmlTextWriterPtr pWriter) const
         (void)xmlTextWriterEndElement(pWriter);
     }
 
-    if (GetNumRule())
-        GetNumRule()->dumpAsXml(pWriter);
-
     (void)xmlTextWriterEndElement(pWriter);
 }
 

Reply via email to