summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2015-05-19 22:45:30 +0200
committerJulien Nabet <serval2412@yahoo.fr>2015-05-20 05:26:33 +0000
commitb255304be9f60f56ad93794d68a1447ed0d9d077 (patch)
tree984cb30c747ce0fc1d835f03f413f9565277c8fc
parentbcdd3a403ca1d0ac05dd2382cf7e8fdfd3281322 (diff)
Remove include stdio (part4)
Change-Id: Ic17885b22167eedd0e56b3e5027c09a1c3aac1d8 Reviewed-on: https://gerrit.libreoffice.org/15819 Tested-by: Jenkins <ci@libreoffice.org> Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
-rw-r--r--sfx2/source/appl/appmain.cxx1
-rw-r--r--sfx2/source/appl/module.cxx1
-rw-r--r--sfx2/source/appl/workwin.cxx1
-rw-r--r--sfx2/source/control/dispatch.cxx1
-rw-r--r--sfx2/source/toolbox/imgmgr.cxx1
-rw-r--r--sfx2/source/view/viewfrm.cxx2
-rw-r--r--svl/source/items/itempool.cxx1
-rw-r--r--svl/source/items/poolio.cxx1
-rw-r--r--svl/source/misc/documentlockfile.cxx2
-rw-r--r--svl/source/misc/ownlist.cxx1
-rw-r--r--svl/source/misc/sharecontrolfile.cxx2
-rw-r--r--svtools/source/config/test/test.cxx1
-rw-r--r--svtools/source/contnr/treelist.cxx2
-rw-r--r--svtools/source/control/ctrlbox.cxx12
-rw-r--r--svtools/source/control/fmtfield.cxx1
-rw-r--r--svtools/source/dialogs/addresstemplate.cxx1
-rw-r--r--svtools/source/svhtml/htmlsupp.cxx1
-rw-r--r--svtools/source/svhtml/parhtml.cxx1
-rw-r--r--svtools/source/svrtf/parrtf.cxx1
-rw-r--r--svtools/source/svrtf/svparser.cxx1
20 files changed, 2 insertions, 33 deletions
diff --git a/sfx2/source/appl/appmain.cxx b/sfx2/source/appl/appmain.cxx
index c8f8da897a18..e2dab3835bec 100644
--- a/sfx2/source/appl/appmain.cxx
+++ b/sfx2/source/appl/appmain.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include <stdio.h>
#include <svtools/ehdl.hxx>
#include <svl/itempool.hxx>
#include <svl/urihelper.hxx>
diff --git a/sfx2/source/appl/module.cxx b/sfx2/source/appl/module.cxx
index d822e0043590..c87e2713581b 100644
--- a/sfx2/source/appl/module.cxx
+++ b/sfx2/source/appl/module.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include <stdio.h>
#include <tools/rcid.h>
#include <cstdarg>
diff --git a/sfx2/source/appl/workwin.cxx b/sfx2/source/appl/workwin.cxx
index d6ec61c5ff3c..b9999cb8b698 100644
--- a/sfx2/source/appl/workwin.cxx
+++ b/sfx2/source/appl/workwin.cxx
@@ -19,7 +19,6 @@
#include <config_features.h>
#include <comphelper/processfactory.hxx>
-#include <stdio.h>
#include <sfx2/docfile.hxx>
#include <sfx2/objsh.hxx>
diff --git a/sfx2/source/control/dispatch.cxx b/sfx2/source/control/dispatch.cxx
index eea0d8ddcbf9..5e6f9bc2898c 100644
--- a/sfx2/source/control/dispatch.cxx
+++ b/sfx2/source/control/dispatch.cxx
@@ -24,7 +24,6 @@
#include <vector>
#include <stdarg.h>
-#include <stdio.h>
#include <stdlib.h>
#include <com/sun/star/beans/XPropertySet.hpp>
diff --git a/sfx2/source/toolbox/imgmgr.cxx b/sfx2/source/toolbox/imgmgr.cxx
index c1842198d206..7bdda110e279 100644
--- a/sfx2/source/toolbox/imgmgr.cxx
+++ b/sfx2/source/toolbox/imgmgr.cxx
@@ -18,7 +18,6 @@
*/
-#include <stdio.h>
#include <boost/shared_ptr.hpp>
#include <sfx2/imgmgr.hxx>
diff --git a/sfx2/source/view/viewfrm.cxx b/sfx2/source/view/viewfrm.cxx
index bc40e9d85571..fc8dbae2d294 100644
--- a/sfx2/source/view/viewfrm.cxx
+++ b/sfx2/source/view/viewfrm.cxx
@@ -19,8 +19,6 @@
#include <config_features.h>
-#include <stdio.h>
-
#include <sfx2/infobar.hxx>
#include <sfx2/viewfrm.hxx>
#include <com/sun/star/document/MacroExecMode.hpp>
diff --git a/svl/source/items/itempool.cxx b/svl/source/items/itempool.cxx
index 62c4aaf6c414..8f4a860af519 100644
--- a/svl/source/items/itempool.cxx
+++ b/svl/source/items/itempool.cxx
@@ -20,7 +20,6 @@
#include <svl/itempool.hxx>
#include <string.h>
-#include <stdio.h>
#include <osl/diagnose.h>
#include <sal/log.hxx>
diff --git a/svl/source/items/poolio.cxx b/svl/source/items/poolio.cxx
index f460725343e5..6b0fee8785f1 100644
--- a/svl/source/items/poolio.cxx
+++ b/svl/source/items/poolio.cxx
@@ -19,7 +19,6 @@
#include <string.h>
-#include <stdio.h>
#include <sal/log.hxx>
#include <tools/solar.h>
diff --git a/svl/source/misc/documentlockfile.cxx b/svl/source/misc/documentlockfile.cxx
index db7b76999c6c..ba55fcb61272 100644
--- a/svl/source/misc/documentlockfile.cxx
+++ b/svl/source/misc/documentlockfile.cxx
@@ -18,8 +18,6 @@
*/
-#include <stdio.h>
-
#include <com/sun/star/ucb/XSimpleFileAccess.hpp>
#include <com/sun/star/ucb/XCommandEnvironment.hpp>
#include <com/sun/star/ucb/InsertCommandArgument.hpp>
diff --git a/svl/source/misc/ownlist.cxx b/svl/source/misc/ownlist.cxx
index 16d63a5fe010..d2b87c9b8ad6 100644
--- a/svl/source/misc/ownlist.cxx
+++ b/svl/source/misc/ownlist.cxx
@@ -18,7 +18,6 @@
*/
#include <ctype.h>
-#include <stdio.h>
#include <com/sun/star/beans/PropertyValues.hpp>
#include <svl/ownlist.hxx>
diff --git a/svl/source/misc/sharecontrolfile.cxx b/svl/source/misc/sharecontrolfile.cxx
index b866e8475503..009eceac7276 100644
--- a/svl/source/misc/sharecontrolfile.cxx
+++ b/svl/source/misc/sharecontrolfile.cxx
@@ -18,8 +18,6 @@
*/
-#include <stdio.h>
-
#include <com/sun/star/ucb/SimpleFileAccess.hpp>
#include <com/sun/star/ucb/XCommandEnvironment.hpp>
#include <com/sun/star/ucb/XContent.hpp>
diff --git a/svtools/source/config/test/test.cxx b/svtools/source/config/test/test.cxx
index 42965692f1b0..78d7064ee15c 100644
--- a/svtools/source/config/test/test.cxx
+++ b/svtools/source/config/test/test.cxx
@@ -46,7 +46,6 @@
#include <vcl/svapp.hxx>
#include <vcl/wrkwin.hxx>
#include <vcl/msgbox.hxx>
-#include <stdio.h>
using namespace ::osl ;
using namespace ::comphelper ;
diff --git a/svtools/source/contnr/treelist.cxx b/svtools/source/contnr/treelist.cxx
index 03b91523cda8..f1283f2b8124 100644
--- a/svtools/source/contnr/treelist.cxx
+++ b/svtools/source/contnr/treelist.cxx
@@ -22,8 +22,6 @@
#include <svtools/viewdataentry.hxx>
#include <osl/diagnose.h>
-#include <stdio.h>
-
SvTreeList::SvTreeList() :
mbEnableInvalidate(true)
{
diff --git a/svtools/source/control/ctrlbox.cxx b/svtools/source/control/ctrlbox.cxx
index 96cfd804d857..e4c278d06a69 100644
--- a/svtools/source/control/ctrlbox.cxx
+++ b/svtools/source/control/ctrlbox.cxx
@@ -47,10 +47,6 @@
#include <rtl/bootstrap.hxx>
-#if OSL_DEBUG_LEVEL > 1
-#include <cstdio>
-#endif
-
#include <stdio.h>
#define IMGOUTERTEXTSPACE 5
@@ -978,9 +974,7 @@ void FontNameBox::SaveMRUEntries( const OUString& aFontMRUEntriesFile, sal_Unico
aStream.Open( aFontMRUEntriesFile, StreamMode::WRITE | StreamMode::TRUNC );
if( ! (aStream.IsOpen() && aStream.IsWritable()) )
{
-#if OSL_DEBUG_LEVEL > 1
- fprintf( stderr, "FontNameBox::SaveMRUEntries: opening mru entries file %s failed\n", OUStringToOString(aFontMRUEntriesFile, RTL_TEXTENCODING_UTF8 ).getStr() );
-#endif
+ SAL_WARN("svtools.control", "FontNameBox::SaveMRUEntries: opening mru entries file " << aFontMRUEntriesFile << " failed\n");
return;
}
@@ -997,9 +991,7 @@ void FontNameBox::LoadMRUEntries( const OUString& aFontMRUEntriesFile, sal_Unico
SvFileStream aStream( aFontMRUEntriesFile, StreamMode::READ );
if( ! aStream.IsOpen() )
{
-#if OSL_DEBUG_LEVEL > 1
- fprintf( stderr, "FontNameBox::LoadMRUEntries: opening mru entries file %s failed\n", OUStringToOString(aFontMRUEntriesFile, RTL_TEXTENCODING_UTF8).getStr() );
-#endif
+ SAL_WARN("svtools.control", "FontNameBox::LoadMRUEntries: opening mru entries file " << aFontMRUEntriesFile << " failed\n");
return;
}
diff --git a/svtools/source/control/fmtfield.cxx b/svtools/source/control/fmtfield.cxx
index 0b09fb3ebce6..720b2044565d 100644
--- a/svtools/source/control/fmtfield.cxx
+++ b/svtools/source/control/fmtfield.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include <stdio.h>
#include <tools/debug.hxx>
#include <comphelper/processfactory.hxx>
#include <comphelper/string.hxx>
diff --git a/svtools/source/dialogs/addresstemplate.cxx b/svtools/source/dialogs/addresstemplate.cxx
index a7ae81865c30..fdcb5251dea0 100644
--- a/svtools/source/dialogs/addresstemplate.cxx
+++ b/svtools/source/dialogs/addresstemplate.cxx
@@ -18,7 +18,6 @@
*/
-#include <stdio.h>
#include <svtools/addresstemplate.hxx>
#include "addresstemplate.hrc"
#include <svtools/svtools.hrc>
diff --git a/svtools/source/svhtml/htmlsupp.cxx b/svtools/source/svhtml/htmlsupp.cxx
index 8c4324b6cc89..b9109260177d 100644
--- a/svtools/source/svhtml/htmlsupp.cxx
+++ b/svtools/source/svhtml/htmlsupp.cxx
@@ -19,7 +19,6 @@
#include <ctype.h>
-#include <stdio.h>
#include <comphelper/string.hxx>
#include <svtools/parhtml.hxx>
#include <svtools/htmltokn.h>
diff --git a/svtools/source/svhtml/parhtml.cxx b/svtools/source/svhtml/parhtml.cxx
index 11e173cc768f..4ea4835aafb8 100644
--- a/svtools/source/svhtml/parhtml.cxx
+++ b/svtools/source/svhtml/parhtml.cxx
@@ -19,7 +19,6 @@
#include <ctype.h>
-#include <stdio.h>
#include <comphelper/string.hxx>
#include <o3tl/ptr_container.hxx>
#include <tools/stream.hxx>
diff --git a/svtools/source/svrtf/parrtf.cxx b/svtools/source/svrtf/parrtf.cxx
index b15aca721ecf..fc98b8781e60 100644
--- a/svtools/source/svrtf/parrtf.cxx
+++ b/svtools/source/svrtf/parrtf.cxx
@@ -18,7 +18,6 @@
*/
-#include <stdio.h>
#include <rtl/tencinfo.h>
#include <tools/stream.hxx>
#include <tools/debug.hxx>
diff --git a/svtools/source/svrtf/svparser.cxx b/svtools/source/svrtf/svparser.cxx
index 370464945c04..5b5354081bd2 100644
--- a/svtools/source/svrtf/svparser.cxx
+++ b/svtools/source/svrtf/svparser.cxx
@@ -23,7 +23,6 @@
#include <rtl/textcvt.h>
#include <rtl/tencinfo.h>
-#include <stdio.h>
#include <boost/ptr_container/ptr_vector.hpp>
// structure to store the actuel data