From 91df0fcf7642059c5c2e5a98eabdff348b6254dd Mon Sep 17 00:00:00 2001 From: Samuel Mehrbrodt Date: Wed, 19 Feb 2020 11:55:14 +0100 Subject: 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 --- sw/source/filter/ww8/docxexport.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sw') 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 #include #include @@ -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; -- cgit