diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2015-05-18 22:31:09 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2015-05-19 05:29:48 +0000 |
commit | 5f653490a40850886f94c9fd6b381b4bed1de58a (patch) | |
tree | 0fb01dd501d8723f36e002db07a0aa91645d4557 /sw/source | |
parent | c4151c058167a9076d9c77cd7ac71ed0a41c2ba7 (diff) |
Remove include stdio (part3)
Change-Id: I0b44a33dc38b76130a7b230962de7ce86bd4574b
Reviewed-on: https://gerrit.libreoffice.org/15793
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/core/SwNumberTree/SwNodeNum.cxx | 1 | ||||
-rw-r--r-- | sw/source/core/doc/docbm.cxx | 1 | ||||
-rw-r--r-- | sw/source/core/layout/dbg_lay.cxx | 1 | ||||
-rw-r--r-- | sw/source/core/text/inftxt.cxx | 9 | ||||
-rw-r--r-- | sw/source/filter/basflt/fltini.cxx | 1 | ||||
-rw-r--r-- | sw/source/filter/html/parcss1.cxx | 1 | ||||
-rw-r--r-- | sw/source/filter/ww8/WW8Sttbf.cxx | 4 | ||||
-rw-r--r-- | sw/source/filter/ww8/docxattributeoutput.cxx | 8 | ||||
-rw-r--r-- | sw/source/filter/ww8/wrtww8gr.cxx | 4 | ||||
-rw-r--r-- | sw/source/filter/ww8/ww8par3.cxx | 2 | ||||
-rw-r--r-- | sw/source/filter/ww8/ww8scan.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/dialog/docstdlg.cxx | 1 | ||||
-rw-r--r-- | sw/source/ui/vba/vbaapplication.cxx | 1 | ||||
-rw-r--r-- | sw/source/uibase/dbui/dbmgr.cxx | 1 | ||||
-rw-r--r-- | sw/source/uibase/docvw/edtwin2.cxx | 3 |
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> |