sw/source/filter/ww8/docxexport.hxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 91df0fcf7642059c5c2e5a98eabdff348b6254dd
Author:     Samuel Mehrbrodt <samuel.mehrbr...@cib.de>
AuthorDate: Wed Feb 19 11:55:14 2020 +0100
Commit:     Samuel Mehrbrodt <samuel.mehrbr...@cib.de>
CommitDate: Thu Feb 20 09:59:10 2020 +0100

    Turn fprintf into warning
    
    so that this does not show up in release builds
    
    Change-Id: I7d95a85e596818fcdafbf37891f3e0ae24aa7155
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88952
    Tested-by: Jenkins
    Reviewed-by: Samuel Mehrbrodt <samuel.mehrbr...@cib.de>

diff --git a/sw/source/filter/ww8/docxexport.hxx 
b/sw/source/filter/ww8/docxexport.hxx
index f659cd1244f4..d5d610f70f99 100644
--- a/sw/source/filter/ww8/docxexport.hxx
+++ b/sw/source/filter/ww8/docxexport.hxx
@@ -22,6 +22,7 @@
 
 #include "wrtww8.hxx"
 
+#include <sal/log.hxx>
 #include <sax/fshelper.hxx>
 #include <rtl/ustring.hxx>
 
@@ -155,7 +156,7 @@ public:
     OString AddRelation( const OUString& rType, const OUString& rTarget );
 
     virtual void WriteCR( ww8::WW8TableNodeInfoInner::Pointer_t 
/*pTableTextNodeInfoInner = ww8::WW8TableNodeInfoInner::Pointer_t()*/ ) 
override { /* FIXME no-op for docx, most probably should not even be in 
MSWordExportBase */ }
-    virtual void WriteChar( sal_Unicode ) override { /* FIXME */ fprintf( 
stderr, "HACK! WriteChar() has nothing to do for docx.\n" ); }
+    virtual void WriteChar( sal_Unicode ) override { SAL_WARN("sw.ww8", 
"FIXME: WriteChar() has nothing to do for docx."); }
 
     /// Return value indicates if an inherited outline numbering is suppressed.
     virtual bool DisallowInheritingOutlineNumbering( const SwFormat &rFormat ) 
override;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to