sw/source/filter/ww8/docxexport.cxx |    5 -----
 1 file changed, 5 deletions(-)

New commits:
commit 53692ac7b3d5171453a797998337a6269763f657
Author:     Xisco Fauli <xiscofa...@libreoffice.org>
AuthorDate: Thu Apr 6 13:50:25 2023 +0200
Commit:     Miklos Vajna <vmik...@collabora.com>
CommitDate: Wed Apr 12 09:12:56 2023 +0200

    sw: remove debug leftover
    
    Introduced by ff4f2ba3242d303f7f238a7a142440f1f4b1f288
    "sw: DOCX: recognize TOC title during import"
    
    Change-Id: Ibaaf2071b903cdcfdd059cef8dde57f38a88e049
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150103
    Tested-by: Jenkins
    Reviewed-by: Miklos Vajna <vmik...@collabora.com>

diff --git a/sw/source/filter/ww8/docxexport.cxx 
b/sw/source/filter/ww8/docxexport.cxx
index 38a33ca6a1a5..2fdcadce6dd9 100644
--- a/sw/source/filter/ww8/docxexport.cxx
+++ b/sw/source/filter/ww8/docxexport.cxx
@@ -1895,11 +1895,6 @@ void DocxExport::WriteMainText()
     // setup the namespaces
     m_pDocumentFS->startElementNS( XML_w, XML_document, MainXmlNamespaces());
 
-    if ( getenv("SW_DEBUG_DOM") )
-    {
-        m_rDoc.dumpAsXml();
-    }
-
     // reset the incrementing linked-textboxes chain ID before re-saving.
     m_nLinkedTextboxesChainId=0;
     m_aLinkedTextboxesHelper.clear();

Reply via email to