summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/source/core/SwNumberTree/SwNodeNum.cxx1
-rw-r--r--sw/source/core/doc/docbm.cxx1
-rw-r--r--sw/source/core/layout/dbg_lay.cxx1
-rw-r--r--sw/source/core/text/inftxt.cxx9
-rw-r--r--sw/source/filter/basflt/fltini.cxx1
-rw-r--r--sw/source/filter/html/parcss1.cxx1
-rw-r--r--sw/source/filter/ww8/WW8Sttbf.cxx4
-rw-r--r--sw/source/filter/ww8/docxattributeoutput.cxx8
-rw-r--r--sw/source/filter/ww8/wrtww8gr.cxx4
-rw-r--r--sw/source/filter/ww8/ww8par3.cxx2
-rw-r--r--sw/source/filter/ww8/ww8scan.cxx2
-rw-r--r--sw/source/ui/dialog/docstdlg.cxx1
-rw-r--r--sw/source/ui/vba/vbaapplication.cxx1
-rw-r--r--sw/source/uibase/dbui/dbmgr.cxx1
-rw-r--r--sw/source/uibase/docvw/edtwin2.cxx3
15 files changed, 4 insertions, 36 deletions
diff --git a/sw/source/core/SwNumberTree/SwNodeNum.cxx b/sw/source/core/SwNumberTree/SwNodeNum.cxx
index 51af85f85a21..a8821bbbec2d 100644
--- a/sw/source/core/SwNumberTree/SwNodeNum.cxx
+++ b/sw/source/core/SwNumberTree/SwNodeNum.cxx
@@ -22,7 +22,6 @@
#include <SwNodeNum.hxx>
#include <ndtxt.hxx>
#include <pam.hxx>
-#include <stdio.h>
#include <IDocumentListItems.hxx>
#include <doc.hxx>
diff --git a/sw/source/core/doc/docbm.cxx b/sw/source/core/doc/docbm.cxx
index fda07570b88b..3975e13b0a35 100644
--- a/sw/source/core/doc/docbm.cxx
+++ b/sw/source/core/doc/docbm.cxx
@@ -53,7 +53,6 @@
#include <unocrsr.hxx>
#include <viscrs.hxx>
#include <edimp.hxx>
-#include <stdio.h>
#include <tools/datetimeutils.hxx>
using namespace ::boost;
diff --git a/sw/source/core/layout/dbg_lay.cxx b/sw/source/core/layout/dbg_lay.cxx
index 6421cda7ea56..73da3a1c8fd9 100644
--- a/sw/source/core/layout/dbg_lay.cxx
+++ b/sw/source/core/layout/dbg_lay.cxx
@@ -97,7 +97,6 @@
#include "dbg_lay.hxx"
-#include <stdio.h>
#include "flyfrm.hxx"
#include "txtfrm.hxx"
#include <fntcache.hxx>
diff --git a/sw/source/core/text/inftxt.cxx b/sw/source/core/text/inftxt.cxx
index 75ea6b0a916c..8f2d3f9e93d2 100644
--- a/sw/source/core/text/inftxt.cxx
+++ b/sw/source/core/text/inftxt.cxx
@@ -70,10 +70,6 @@
#include <unomid.h>
-#if OSL_DEBUG_LEVEL > 1
-#include <stdio.h>
-#endif
-
using namespace ::com::sun::star;
using namespace ::com::sun::star::linguistic2;
using namespace ::com::sun::star::uno;
@@ -1126,10 +1122,7 @@ void SwTxtPaintInfo::DrawBackBrush( const SwLinePortion &rPor ) const
bool bIsStartMark=(1==GetLen() && CH_TXT_ATR_FIELDSTART==GetTxt()[GetIdx()]);
if(pFieldmark) {
OSL_TRACE("Found Fieldmark");
-#if OSL_DEBUG_LEVEL > 1
- OUString str = pFieldmark->ToString( );
- fprintf( stderr, "%s\n", OUStringToOString( str, RTL_TEXTENCODING_UTF8 ).getStr( ) );
-#endif
+ SAL_INFO("sw.core", pFieldmark->ToString() << "\n");
}
if(bIsStartMark) OSL_TRACE("Found StartMark");
if (OnWin() && (pFieldmark!=NULL || bIsStartMark) &&
diff --git a/sw/source/filter/basflt/fltini.cxx b/sw/source/filter/basflt/fltini.cxx
index 378a79e46ccb..e1da5d904eb7 100644
--- a/sw/source/filter/basflt/fltini.cxx
+++ b/sw/source/filter/basflt/fltini.cxx
@@ -18,7 +18,6 @@
*/
#include <string.h>
-#include <stdio.h>
#include <hintids.hxx>
#include <i18nlangtag/lang.h>
#include <i18nlangtag/languagetag.hxx>
diff --git a/sw/source/filter/html/parcss1.cxx b/sw/source/filter/html/parcss1.cxx
index 4c3767ac8767..80e382bfcfe2 100644
--- a/sw/source/filter/html/parcss1.cxx
+++ b/sw/source/filter/html/parcss1.cxx
@@ -19,7 +19,6 @@
#include <ctype.h>
#include <stdlib.h>
-#include <stdio.h>
#include <limits.h>
#include <rtl/ustrbuf.hxx>
#include <vcl/svapp.hxx>
diff --git a/sw/source/filter/ww8/WW8Sttbf.cxx b/sw/source/filter/ww8/WW8Sttbf.cxx
index 0fa8903cb364..be6de9b7d3da 100644
--- a/sw/source/filter/ww8/WW8Sttbf.cxx
+++ b/sw/source/filter/ww8/WW8Sttbf.cxx
@@ -25,10 +25,6 @@
#include <osl/endian.h>
#include <rtl/ustrbuf.hxx>
-#if OSL_DEBUG_LEVEL > 1
-#include <stdio.h>
-#endif
-
namespace ww8
{
WW8Struct::WW8Struct(SvStream& rSt, sal_uInt32 nPos, sal_uInt32 nSize)
diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx
index c7d42c0dcb9c..dcce02f40a02 100644
--- a/sw/source/filter/ww8/docxattributeoutput.cxx
+++ b/sw/source/filter/ww8/docxattributeoutput.cxx
@@ -128,10 +128,6 @@
#include <algorithm>
-#if OSL_DEBUG_LEVEL > 1
-#include <stdio.h>
-#endif
-
using ::editeng::SvxBorderLine;
using namespace oox;
@@ -3670,9 +3666,7 @@ void DocxAttributeOutput::TableOrientation( ww8::WW8TableNodeInfoInner::Pointer_
void DocxAttributeOutput::TableSpacing( ww8::WW8TableNodeInfoInner::Pointer_t /*pTableTextNodeInfoInner*/ )
{
-#if OSL_DEBUG_LEVEL > 1
- fprintf( stderr, "TODO: DocxAttributeOutput::TableSpacing( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner )\n" );
-#endif
+ OSL_TRACE( "TODO: DocxAttributeOutput::TableSpacing( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner )\n" );
}
void DocxAttributeOutput::TableRowEnd( sal_uInt32 /*nDepth*/ )
diff --git a/sw/source/filter/ww8/wrtww8gr.cxx b/sw/source/filter/ww8/wrtww8gr.cxx
index 853c5c0653c0..cf14ca976f3b 100644
--- a/sw/source/filter/ww8/wrtww8gr.cxx
+++ b/sw/source/filter/ww8/wrtww8gr.cxx
@@ -67,10 +67,6 @@
#include <cstdio>
#include <o3tl/enumrange.hxx>
-#if OSL_DEBUG_LEVEL > 1
-#include <stdio.h>
-#endif
-
using namespace ::com::sun::star;
using namespace nsFieldFlags;
diff --git a/sw/source/filter/ww8/ww8par3.cxx b/sw/source/filter/ww8/ww8par3.cxx
index 63c84f0046a0..8d4251ce50ff 100644
--- a/sw/source/filter/ww8/ww8par3.cxx
+++ b/sw/source/filter/ww8/ww8par3.cxx
@@ -82,8 +82,6 @@
#include <rtl/character.hxx>
#include <xmloff/odffields.hxx>
-#include <stdio.h>
-
using namespace com::sun::star;
using namespace sw::util;
using namespace sw::types;
diff --git a/sw/source/filter/ww8/ww8scan.cxx b/sw/source/filter/ww8/ww8scan.cxx
index 5064172a981b..0afbef8749c1 100644
--- a/sw/source/filter/ww8/ww8scan.cxx
+++ b/sw/source/filter/ww8/ww8scan.cxx
@@ -48,7 +48,9 @@
#include <vcl/settings.hxx>
#include <vcl/svapp.hxx>
+#ifdef DEBUGSPRMREADER
#include <stdio.h>
+#endif
#define ASSERT_RET_ON_FAIL( aCon, aError, aRet ) \
OSL_ENSURE(aCon, aError); \
diff --git a/sw/source/ui/dialog/docstdlg.cxx b/sw/source/ui/dialog/docstdlg.cxx
index de1d3d6abcd8..6e2e045bd5fa 100644
--- a/sw/source/ui/dialog/docstdlg.cxx
+++ b/sw/source/ui/dialog/docstdlg.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include <stdio.h>
#include <ctype.h>
#include <swwait.hxx>
#include <wrtsh.hxx>
diff --git a/sw/source/ui/vba/vbaapplication.cxx b/sw/source/ui/vba/vbaapplication.cxx
index ff682479f3d9..51fc70b4b056 100644
--- a/sw/source/ui/vba/vbaapplication.cxx
+++ b/sw/source/ui/vba/vbaapplication.cxx
@@ -16,7 +16,6 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include <stdio.h>
#include "vbaapplication.hxx"
#include "vbadocument.hxx"
#include <osl/file.hxx>
diff --git a/sw/source/uibase/dbui/dbmgr.cxx b/sw/source/uibase/dbui/dbmgr.cxx
index abb06f5bbe4c..9b8ae4231d45 100644
--- a/sw/source/uibase/dbui/dbmgr.cxx
+++ b/sw/source/uibase/dbui/dbmgr.cxx
@@ -19,7 +19,6 @@
#include <cstdarg>
-#include <stdio.h>
#include <unotxdoc.hxx>
#include <com/sun/star/text/NotePrintMode.hpp>
#include <sfx2/app.hxx>
diff --git a/sw/source/uibase/docvw/edtwin2.cxx b/sw/source/uibase/docvw/edtwin2.cxx
index 9151379903b6..38bef344f67d 100644
--- a/sw/source/uibase/docvw/edtwin2.cxx
+++ b/sw/source/uibase/docvw/edtwin2.cxx
@@ -21,9 +21,6 @@
#include <hintids.hxx>
#include <doc.hxx>
-#if OSL_DEBUG_LEVEL > 1
-#include <stdio.h>
-#endif
#include <osl/thread.h>
#include <vcl/help.hxx>
#include <svl/stritem.hxx>