summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2020-02-19 11:55:14 +0100
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2020-02-20 09:59:10 +0100
commit91df0fcf7642059c5c2e5a98eabdff348b6254dd (patch)
tree507acdbea0c7fc7497d7723c7f0377180ef2069f
parenta9634d6cb31d7aa9184c5f234fb6f8c1c6885357 (diff)
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.Mehrbrodt@cib.de>
-rw-r--r--sw/source/filter/ww8/docxexport.hxx3
1 files changed, 2 insertions, 1 deletions
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;