[Libreoffice-commits] core.git: sw/source

Justin Luth justin_luth at sil.org
Tue May 15 04:13:59 UTC 2018


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

New commits:
commit d2c85c671deb8bb27c4a421f99d238b7a89b0ece
Author: Justin Luth <justin_luth at sil.org>
Date:   Thu May 10 16:48:49 2018 +0300

    cleanup my asserts before branching - they served their purpose
    
    Change-Id: I933ac25dac8d7a20d62535af9690b17503fc159d
    Reviewed-on: https://gerrit.libreoffice.org/54086
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Justin Luth <justin_luth at sil.org>

diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx
index a1eaea107ffb..b7373bfa5235 100644
--- a/sw/source/filter/ww8/docxattributeoutput.cxx
+++ b/sw/source/filter/ww8/docxattributeoutput.cxx
@@ -2515,7 +2515,6 @@ void DocxAttributeOutput::RunText( const OUString& rText, rtl_TextEncoding /*eCh
 
 void DocxAttributeOutput::RawText(const OUString& rText, rtl_TextEncoding /*eCharSet*/)
 {
-    assert ( (m_pHyperlinkAttrList.is() || m_rExport.SdrExporter().IsDMLAndVMLDrawingOpen() /* || m_rExport.SdrExporter().IsDrawingOpen() */) && "jluth is at mail dot com-and wants example documents that use RawText/EEField");
     m_sRawText = rText;
 }
 
@@ -5551,7 +5550,6 @@ void DocxAttributeOutput::WriteOutliner(const OutlinerParaObject& rParaObj)
 
             if ( !m_sRawText.isEmpty() )
             {
-                assert (bTextAtr && "jluth is at mail dot com-and is looking for sample documents");
                 RunText( m_sRawText );
                 m_sRawText.clear();
             }


More information about the Libreoffice-commits mailing list