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

Thomas Beck thomas.beck at cib.de
Wed Jun 14 11:16:13 UTC 2017


 sw/source/filter/ww8/docxattributeoutput.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 778a396adef3e62a87f6e9beec0964323ad57f44
Author: Thomas Beck <thomas.beck at cib.de>
Date:   Wed Jun 14 11:10:20 2017 +0200

    tdf#43157 Clean up OSL_ASSERT, DBG_ASSERT, etc.
    
    Cleaned out the rest of OSL_ASSERT in docxattributeoutput, keeping
    consistency with the rest of the function where they were found.
    
    Change-Id: I87c637d11a184cb002168c5d1151a0f3112f69c1
    Reviewed-on: https://gerrit.libreoffice.org/38774
    Reviewed-by: Michael Stahl <mstahl at redhat.com>
    Tested-by: Michael Stahl <mstahl at redhat.com>

diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx
index bd667fe58d17..f96a1e7465bc 100644
--- a/sw/source/filter/ww8/docxattributeoutput.cxx
+++ b/sw/source/filter/ww8/docxattributeoutput.cxx
@@ -1729,13 +1729,13 @@ void DocxAttributeOutput::StartRunProperties()
     }
     InitCollectedRunProperties();
 
-    OSL_ASSERT( !m_pPostponedGraphic );
+    assert( !m_pPostponedGraphic );
     m_pPostponedGraphic.reset(new std::list<PostponedGraphic>);
 
-    OSL_ASSERT( !m_pPostponedDiagrams );
+    assert( !m_pPostponedDiagrams );
     m_pPostponedDiagrams.reset(new std::list<PostponedDiagram>);
 
-    OSL_ASSERT( !m_pPostponedVMLDrawings );
+    assert( !m_pPostponedVMLDrawings );
     m_pPostponedVMLDrawings.reset(new std::list<PostponedDrawing>);
 
     assert(!m_pPostponedDMLDrawings);


More information about the Libreoffice-commits mailing list