summaryrefslogtreecommitdiff
path: root/svtools
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 /svtools
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>
Diffstat (limited to 'svtools')
-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
9 files changed, 2 insertions, 19 deletions
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