summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--avmedia/source/viewer/mediawindow.cxx2
-rw-r--r--basic/source/classes/sb.cxx3
-rw-r--r--basic/source/classes/sbxmod.cxx1
-rw-r--r--chart2/inc/pch/precompiled_chartopengl.hxx1
-rw-r--r--chart2/source/view/main/DummyXShape.cxx1
-rw-r--r--cppcanvas/inc/pch/precompiled_cppcanvas.hxx1
-rw-r--r--cppcanvas/source/mtfrenderer/emfplus.cxx1
-rw-r--r--cppu/source/threadpool/thread.cxx1
-rw-r--r--cppu/source/threadpool/threadident.cxx2
-rw-r--r--cppu/source/threadpool/threadpool.cxx15
-rw-r--r--cui/source/dialogs/insdlg.cxx1
-rw-r--r--dbaccess/source/ui/dlg/adodatalinks.cxx1
-rw-r--r--desktop/source/deployment/registry/package/dp_package.cxx4
-rw-r--r--filter/source/flash/swfexporter.hxx2
-rw-r--r--filter/source/flash/swfuno.cxx2
-rw-r--r--filter/source/flash/swfwriter.hxx2
-rw-r--r--filter/source/graphicfilter/ieps/ieps.cxx2
-rw-r--r--filter/source/pdf/pdfuno.cxx1
-rw-r--r--filter/source/placeware/uno.cxx2
-rw-r--r--filter/source/xmlfilteradaptor/XmlFilterAdaptor.cxx1
-rw-r--r--filter/source/xmlfilteradaptor/genericfilter.cxx1
-rw-r--r--filter/source/xsltfilter/LibXSLTTransformer.hxx2
-rw-r--r--filter/source/xsltfilter/XSLTFilter.cxx2
-rw-r--r--forms/source/xforms/xpathlib/extension.cxx1
-rw-r--r--formula/source/core/api/FormulaCompiler.cxx1
-rw-r--r--oox/inc/pch/precompiled_oox.hxx1
-rw-r--r--oox/source/mathml/importutils.cxx1
-rw-r--r--scripting/source/provider/ScriptImpl.cxx2
-rw-r--r--starmath/inc/node.hxx1
-rw-r--r--starmath/inc/pch/precompiled_sm.hxx1
-rw-r--r--starmath/source/parse.cxx2
-rw-r--r--ucb/source/ucp/cmis/cmis_provider.cxx2
-rw-r--r--ucb/source/ucp/file/filglob.cxx1
-rw-r--r--ucb/source/ucp/gio/gio_content.cxx21
-rw-r--r--ucb/source/ucp/gio/gio_datasupplier.cxx2
-rw-r--r--ucb/source/ucp/gio/gio_mount.cxx1
-rw-r--r--ucb/source/ucp/gio/gio_provider.cxx9
-rw-r--r--ucb/source/ucp/gvfs/gvfs_content.cxx2
-rw-r--r--ucb/source/ucp/webdav-neon/DateTimeHelper.cxx1
-rw-r--r--ucb/source/ucp/webdav/DateTimeHelper.cxx1
-rw-r--r--xmloff/inc/pch/precompiled_xo.hxx1
-rw-r--r--xmloff/source/forms/elementexport.cxx1
-rw-r--r--xmloff/source/forms/formlayerexport.cxx1
-rw-r--r--xmloff/source/forms/layerexport.cxx1
-rw-r--r--xmloff/source/forms/propertyexport.cxx1
45 files changed, 10 insertions, 96 deletions
diff --git a/avmedia/source/viewer/mediawindow.cxx b/avmedia/source/viewer/mediawindow.cxx
index 267e39fb7d6a..3108df45d8c9 100644
--- a/avmedia/source/viewer/mediawindow.cxx
+++ b/avmedia/source/viewer/mediawindow.cxx
@@ -17,8 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include <stdio.h>
-
#include <avmedia/mediawindow.hxx>
#include "mediawindow_impl.hxx"
#include "mediamisc.hxx"
diff --git a/basic/source/classes/sb.cxx b/basic/source/classes/sb.cxx
index a8f1bc699332..336505396c58 100644
--- a/basic/source/classes/sb.cxx
+++ b/basic/source/classes/sb.cxx
@@ -17,9 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
-#include <stdio.h>
-
#include "sb.hxx"
#include <tools/rcid.h>
#include <tools/stream.hxx>
diff --git a/basic/source/classes/sbxmod.cxx b/basic/source/classes/sbxmod.cxx
index 7fb9fb727179..a5b487c9cc70 100644
--- a/basic/source/classes/sbxmod.cxx
+++ b/basic/source/classes/sbxmod.cxx
@@ -58,7 +58,6 @@
#include <sys/resource.h>
#endif
-#include <stdio.h>
#include <com/sun/star/frame/XDesktop.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <comphelper/processfactory.hxx>
diff --git a/chart2/inc/pch/precompiled_chartopengl.hxx b/chart2/inc/pch/precompiled_chartopengl.hxx
index f1981a13e6a3..ffcb6ed83d09 100644
--- a/chart2/inc/pch/precompiled_chartopengl.hxx
+++ b/chart2/inc/pch/precompiled_chartopengl.hxx
@@ -45,7 +45,6 @@
#include <iostream>
#include <rtl/math.hxx>
#include <rtl/ustring.hxx>
-#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <string>
diff --git a/chart2/source/view/main/DummyXShape.cxx b/chart2/source/view/main/DummyXShape.cxx
index 7d81b5581228..eec97ff3395d 100644
--- a/chart2/source/view/main/DummyXShape.cxx
+++ b/chart2/source/view/main/DummyXShape.cxx
@@ -8,7 +8,6 @@
*/
#include "DummyXShape.hxx"
-#include <stdio.h>
#include <string>
#include <vector>
#include <iostream>
diff --git a/cppcanvas/inc/pch/precompiled_cppcanvas.hxx b/cppcanvas/inc/pch/precompiled_cppcanvas.hxx
index a40975e73b15..914bfd2fddf2 100644
--- a/cppcanvas/inc/pch/precompiled_cppcanvas.hxx
+++ b/cppcanvas/inc/pch/precompiled_cppcanvas.hxx
@@ -74,7 +74,6 @@
#include <sal/alloca.h>
#include <sal/config.h>
#include <sal/types.h>
-#include <stdio.h>
#include <tools/diagnose_ex.h>
#include <tools/gen.hxx>
#include <tools/poly.hxx>
diff --git a/cppcanvas/source/mtfrenderer/emfplus.cxx b/cppcanvas/source/mtfrenderer/emfplus.cxx
index de2812487ca7..701cfa3d7153 100644
--- a/cppcanvas/source/mtfrenderer/emfplus.cxx
+++ b/cppcanvas/source/mtfrenderer/emfplus.cxx
@@ -47,7 +47,6 @@
#include <outdevstate.hxx>
#include <polypolyaction.hxx>
#include <textaction.hxx>
-#include <stdio.h>
namespace
{
diff --git a/cppu/source/threadpool/thread.cxx b/cppu/source/threadpool/thread.cxx
index e1be210fefe3..d1d448f42906 100644
--- a/cppu/source/threadpool/thread.cxx
+++ b/cppu/source/threadpool/thread.cxx
@@ -20,7 +20,6 @@
#include <sal/config.h>
#include <cstdlib>
-#include <stdio.h>
#include <osl/diagnose.h>
#include <uno/threadpool.h>
diff --git a/cppu/source/threadpool/threadident.cxx b/cppu/source/threadpool/threadident.cxx
index ce7fdc0efc68..dcf6d1fe9475 100644
--- a/cppu/source/threadpool/threadident.cxx
+++ b/cppu/source/threadpool/threadident.cxx
@@ -17,8 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include <stdio.h>
-
#include <list>
#include <osl/mutex.hxx>
diff --git a/cppu/source/threadpool/threadpool.cxx b/cppu/source/threadpool/threadpool.cxx
index f910cba4c10e..5cfb7e63e8b1 100644
--- a/cppu/source/threadpool/threadpool.cxx
+++ b/cppu/source/threadpool/threadpool.cxx
@@ -21,7 +21,6 @@
#include <cassert>
#include <unordered_map>
-#include <stdio.h>
#include <osl/diagnose.h>
#include <osl/mutex.hxx>
@@ -55,12 +54,7 @@ namespace cppu_threadpool
DisposedCallerAdmin::~DisposedCallerAdmin()
{
-#if OSL_DEBUG_LEVEL > 1
- if( !m_lst.empty() )
- {
- printf( "DisposedCallerList : %lu left\n" , static_cast<unsigned long>(m_lst.size( )));
- }
-#endif
+ SAL_WARN_IF( !m_lst.empty(), "cppu.threadpool", "DisposedCallerList : " << m_lst.size() << " left\n");
}
void DisposedCallerAdmin::dispose( sal_Int64 nDisposeId )
@@ -109,12 +103,7 @@ namespace cppu_threadpool
ThreadPool::~ThreadPool()
{
-#if OSL_DEBUG_LEVEL > 1
- if( m_mapQueue.size() )
- {
- printf( "ThreadIdHashMap : %lu left\n" , static_cast<unsigned long>(m_mapQueue.size()) );
- }
-#endif
+ SAL_WARN_IF( m_mapQueue.size(), "cppu.threadpool", "ThreadIdHashMap: " << m_mapQueue.size() << " left\n");
}
void ThreadPool::dispose( sal_Int64 nDisposeId )
diff --git a/cui/source/dialogs/insdlg.cxx b/cui/source/dialogs/insdlg.cxx
index 8fcabe526a8a..eacfed6d6e9b 100644
--- a/cui/source/dialogs/insdlg.cxx
+++ b/cui/source/dialogs/insdlg.cxx
@@ -37,7 +37,6 @@
#include <dialmgr.hxx>
#include <svtools/sores.hxx>
-#include <stdio.h>
#include <tools/urlobj.hxx>
#include <tools/debug.hxx>
#include <svl/urihelper.hxx>
diff --git a/dbaccess/source/ui/dlg/adodatalinks.cxx b/dbaccess/source/ui/dlg/adodatalinks.cxx
index 2cf32be1e879..e30fbd493870 100644
--- a/dbaccess/source/ui/dlg/adodatalinks.cxx
+++ b/dbaccess/source/ui/dlg/adodatalinks.cxx
@@ -31,7 +31,6 @@
#if defined _MSC_VER
#pragma warning(push, 1)
#endif
-#include "stdio.h"
#include <initguid.h>
#include <adoid.h>
diff --git a/desktop/source/deployment/registry/package/dp_package.cxx b/desktop/source/deployment/registry/package/dp_package.cxx
index 610a37b78376..358247908307 100644
--- a/desktop/source/deployment/registry/package/dp_package.cxx
+++ b/desktop/source/deployment/registry/package/dp_package.cxx
@@ -66,7 +66,6 @@
#include <com/sun/star/deployment/XPackageManager.hpp>
#include <boost/optional.hpp>
#include <vector>
-#include <stdio.h>
#include "dp_extbackenddb.hxx"
using namespace ::dp_misc;
@@ -1534,7 +1533,8 @@ void BackendImpl::PackageImpl::scanBundle(
}
else
{
- fprintf(stderr, "manifest.xml contains a duplicate entry!\n");
+ SAL_WARN(
+ "desktop.deployment", "manifest.xml contains a duplicate entry!\n");
}
}
diff --git a/filter/source/flash/swfexporter.hxx b/filter/source/flash/swfexporter.hxx
index 3d33e26cef42..2e78abdf7031 100644
--- a/filter/source/flash/swfexporter.hxx
+++ b/filter/source/flash/swfexporter.hxx
@@ -33,8 +33,6 @@
#include <vector>
#include <map>
-#include <stdio.h>
-
typedef ::std::map<sal_uInt32, sal_uInt16> ChecksumCache;
class GDIMetaFile;
diff --git a/filter/source/flash/swfuno.cxx b/filter/source/flash/swfuno.cxx
index a630eb7daa85..f09ca4bd36b1 100644
--- a/filter/source/flash/swfuno.cxx
+++ b/filter/source/flash/swfuno.cxx
@@ -17,8 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include <stdio.h>
-
#include <osl/mutex.hxx>
#include <osl/thread.h>
#include <cppuhelper/factory.hxx>
diff --git a/filter/source/flash/swfwriter.hxx b/filter/source/flash/swfwriter.hxx
index 786410259559..be08fb2fab43 100644
--- a/filter/source/flash/swfwriter.hxx
+++ b/filter/source/flash/swfwriter.hxx
@@ -38,8 +38,6 @@
#include <stack>
#include <map>
-#include <stdio.h>
-
class GDIMetaFile;
class BitmapEx;
namespace tools { class PolyPolygon; }
diff --git a/filter/source/graphicfilter/ieps/ieps.cxx b/filter/source/graphicfilter/ieps/ieps.cxx
index 503606dd4977..668311ff1e08 100644
--- a/filter/source/graphicfilter/ieps/ieps.cxx
+++ b/filter/source/graphicfilter/ieps/ieps.cxx
@@ -18,8 +18,6 @@
*/
-#include <stdio.h>
-
#include <tools/solar.h>
#include <vcl/svapp.hxx>
#include <vcl/bitmap.hxx>
diff --git a/filter/source/pdf/pdfuno.cxx b/filter/source/pdf/pdfuno.cxx
index 4ad540392e67..72a324e6ff03 100644
--- a/filter/source/pdf/pdfuno.cxx
+++ b/filter/source/pdf/pdfuno.cxx
@@ -18,7 +18,6 @@
*/
-#include <stdio.h>
#include <osl/mutex.hxx>
#include <osl/thread.h>
#include <cppuhelper/factory.hxx>
diff --git a/filter/source/placeware/uno.cxx b/filter/source/placeware/uno.cxx
index a14bfaad330a..4241fbfc6d07 100644
--- a/filter/source/placeware/uno.cxx
+++ b/filter/source/placeware/uno.cxx
@@ -18,8 +18,6 @@
*/
-#include <stdio.h>
-
#include <osl/mutex.hxx>
#include <osl/thread.h>
#include <cppuhelper/factory.hxx>
diff --git a/filter/source/xmlfilteradaptor/XmlFilterAdaptor.cxx b/filter/source/xmlfilteradaptor/XmlFilterAdaptor.cxx
index 32274e908f5e..1b88f167d35d 100644
--- a/filter/source/xmlfilteradaptor/XmlFilterAdaptor.cxx
+++ b/filter/source/xmlfilteradaptor/XmlFilterAdaptor.cxx
@@ -20,7 +20,6 @@
#include <iostream>
#include <stdlib.h>
#include <ctype.h>
-#include <stdio.h>
#include <rtl/ustring.hxx>
#include <tools/urlobj.hxx>
#include "XmlFilterAdaptor.hxx"
diff --git a/filter/source/xmlfilteradaptor/genericfilter.cxx b/filter/source/xmlfilteradaptor/genericfilter.cxx
index 2abf3c9d8e87..fea9c732907c 100644
--- a/filter/source/xmlfilteradaptor/genericfilter.cxx
+++ b/filter/source/xmlfilteradaptor/genericfilter.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include <stdio.h>
#include <osl/mutex.hxx>
#include <osl/thread.h>
#include <cppuhelper/factory.hxx>
diff --git a/filter/source/xsltfilter/LibXSLTTransformer.hxx b/filter/source/xsltfilter/LibXSLTTransformer.hxx
index 4f5e5f9fe33e..5f849cd092ca 100644
--- a/filter/source/xsltfilter/LibXSLTTransformer.hxx
+++ b/filter/source/xsltfilter/LibXSLTTransformer.hxx
@@ -10,8 +10,6 @@
#ifndef INCLUDED_FILTER_SOURCE_XSLTFILTER_LIBXSLTTRANSFORMER_HXX
#define INCLUDED_FILTER_SOURCE_XSLTFILTER_LIBXSLTTRANSFORMER_HXX
-#include <stdio.h>
-
#include <list>
#include <map>
diff --git a/filter/source/xsltfilter/XSLTFilter.cxx b/filter/source/xsltfilter/XSLTFilter.cxx
index 84afe7d4e9b7..6241137eea88 100644
--- a/filter/source/xsltfilter/XSLTFilter.cxx
+++ b/filter/source/xsltfilter/XSLTFilter.cxx
@@ -18,8 +18,6 @@
*/
-#include <stdio.h>
-
#include <cppuhelper/factory.hxx>
#include <cppuhelper/implbase4.hxx>
diff --git a/forms/source/xforms/xpathlib/extension.cxx b/forms/source/xforms/xpathlib/extension.cxx
index 0588836179f6..b2bb2371a04d 100644
--- a/forms/source/xforms/xpathlib/extension.cxx
+++ b/forms/source/xforms/xpathlib/extension.cxx
@@ -18,7 +18,6 @@
*/
-#include <stdio.h>
#include <com/sun/star/xml/xpath/Libxml2ExtensionHandle.hpp>
#include <com/sun/star/beans/NamedValue.hpp>
#include "extension.hxx"
diff --git a/formula/source/core/api/FormulaCompiler.cxx b/formula/source/core/api/FormulaCompiler.cxx
index 9a933c10b928..dc24f459a4e1 100644
--- a/formula/source/core/api/FormulaCompiler.cxx
+++ b/formula/source/core/api/FormulaCompiler.cxx
@@ -33,7 +33,6 @@
#include <com/sun/star/sheet/FormulaMapGroup.hpp>
#include <com/sun/star/sheet/FormulaMapGroupSpecialOffset.hpp>
#include <rtl/strbuf.hxx>
-#include <stdio.h>
#include <algorithm>
namespace formula
diff --git a/oox/inc/pch/precompiled_oox.hxx b/oox/inc/pch/precompiled_oox.hxx
index 03696c9667ae..e237351cb2fa 100644
--- a/oox/inc/pch/precompiled_oox.hxx
+++ b/oox/inc/pch/precompiled_oox.hxx
@@ -392,7 +392,6 @@
#include <set>
#include <sfx2/app.hxx>
#include <sfx2/docfile.hxx>
-#include <stdio.h>
#include <string.h>
#include <svl/languageoptions.hxx>
#include <svl/outstrm.hxx>
diff --git a/oox/source/mathml/importutils.cxx b/oox/source/mathml/importutils.cxx
index 2b5ad75ea105..8fe96b772ed2 100644
--- a/oox/source/mathml/importutils.cxx
+++ b/oox/source/mathml/importutils.cxx
@@ -10,7 +10,6 @@
#include "oox/mathml/importutils.hxx"
#include <assert.h>
-#include <stdio.h>
#include <oox/token/namespacemap.hxx>
#include <oox/token/tokenmap.hxx>
diff --git a/scripting/source/provider/ScriptImpl.cxx b/scripting/source/provider/ScriptImpl.cxx
index f17bb9a2f006..074159042d5f 100644
--- a/scripting/source/provider/ScriptImpl.cxx
+++ b/scripting/source/provider/ScriptImpl.cxx
@@ -18,8 +18,6 @@
*/
-#include <stdio.h>
-
#include "ScriptImpl.hxx"
#include "sal/log.hxx"
diff --git a/starmath/inc/node.hxx b/starmath/inc/node.hxx
index 540de952c9bf..89620a439865 100644
--- a/starmath/inc/node.hxx
+++ b/starmath/inc/node.hxx
@@ -22,7 +22,6 @@
#include <vector>
#include <ostream>
-#include <stdio.h>
#include "types.hxx"
#include "token.hxx"
diff --git a/starmath/inc/pch/precompiled_sm.hxx b/starmath/inc/pch/precompiled_sm.hxx
index 5f9ad05f4a47..f910c3dde627 100644
--- a/starmath/inc/pch/precompiled_sm.hxx
+++ b/starmath/inc/pch/precompiled_sm.hxx
@@ -129,7 +129,6 @@
#include <sot/formats.hxx>
#include <sot/storage.hxx>
#include <stack>
-#include <stdio.h>
#include <svl/eitem.hxx>
#include <svl/fstathelper.hxx>
#include <svl/hint.hxx>
diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx
index f8bdc5f13cc2..fd7bd31e0760 100644
--- a/starmath/source/parse.cxx
+++ b/starmath/source/parse.cxx
@@ -17,8 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include <stdio.h>
-
#include <com/sun/star/i18n/UnicodeType.hpp>
#include <i18nlangtag/lang.h>
#include <unotools/charclass.hxx>
diff --git a/ucb/source/ucp/cmis/cmis_provider.cxx b/ucb/source/ucp/cmis/cmis_provider.cxx
index 7fc710e85fda..a41b52c9cf94 100644
--- a/ucb/source/ucp/cmis/cmis_provider.cxx
+++ b/ucb/source/ucp/cmis/cmis_provider.cxx
@@ -7,8 +7,6 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#include <stdio.h>
-
#include <comphelper/processfactory.hxx>
#include <ucbhelper/contentidentifier.hxx>
#include <ucbhelper/contenthelper.hxx>
diff --git a/ucb/source/ucp/file/filglob.cxx b/ucb/source/ucp/file/filglob.cxx
index 4f8a2c19a9d5..b9c54218686b 100644
--- a/ucb/source/ucp/file/filglob.cxx
+++ b/ucb/source/ucp/file/filglob.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include <stdio.h>
#include "filglob.hxx"
#include "filerror.hxx"
#include "shell.hxx"
diff --git a/ucb/source/ucp/gio/gio_content.cxx b/ucb/source/ucp/gio/gio_content.cxx
index f86ee345ded5..96c7c4b96f2f 100644
--- a/ucb/source/ucp/gio/gio_content.cxx
+++ b/ucb/source/ucp/gio/gio_content.cxx
@@ -90,9 +90,7 @@ Content::Content(
: ContentImplHelper( rxContext, pProvider, Identifier ),
m_pProvider( pProvider ), mpFile (NULL), mpInfo( NULL ), mbTransient(false)
{
-#if OSL_DEBUG_LEVEL > 1
- fprintf(stderr, "New Content ('%s')\n", OUStringToOString(m_xIdentifier->getContentIdentifier(), RTL_TEXTENCODING_UTF8).getStr());
-#endif
+ SAL_INFO("ucb.ucp.gio", "New Content ('" << m_xIdentifier->getContentIdentifier() << "')\n");
}
Content::Content(
@@ -104,9 +102,7 @@ Content::Content(
: ContentImplHelper( rxContext, pProvider, Identifier ),
m_pProvider( pProvider ), mpFile (NULL), mpInfo( NULL ), mbTransient(true)
{
-#if OSL_DEBUG_LEVEL > 1
- fprintf(stderr, "Create Content ('%s')\n", OUStringToOString(m_xIdentifier->getContentIdentifier(), RTL_TEXTENCODING_UTF8).getStr());
-#endif
+ SAL_INFO("ucb.ucp.gio", "Create Content ('" << m_xIdentifier->getContentIdentifier() << "')\n");
mpInfo = g_file_info_new();
g_file_info_set_file_type(mpInfo, bIsFolder ? G_FILE_TYPE_DIRECTORY : G_FILE_TYPE_REGULAR);
}
@@ -744,9 +740,7 @@ uno::Sequence< uno::Any > Content::setPropertyValues(
}
else
{
-#ifdef DEBUG
- fprintf(stderr, "Unknown property %s\n", OUStringToOString(rValue.Name, RTL_TEXTENCODING_UTF8).getStr());
-#endif
+ SAL_WARN("ucb.ucp.gio", "Unknown property " << rValue.Name << "\n");
aRet[ n ] <<= getReadOnlyException( static_cast< cppu::OWeakObject * >(this) );
//TODO
}
@@ -942,9 +936,7 @@ uno::Any SAL_CALL Content::execute(
ucb::CommandAbortedException,
uno::RuntimeException, std::exception )
{
-#if OSL_DEBUG_LEVEL > 1
- fprintf(stderr, "Content::execute %s\n", OUStringToOString(aCommand.Name, RTL_TEXTENCODING_UTF8).getStr());
-#endif
+ SAL_INFO("ucb.ucp.gio", "Content::execute " << aCommand.Name << "\n");
uno::Any aRet;
if ( aCommand.Name == "getPropertyValues" )
@@ -1015,10 +1007,7 @@ uno::Any SAL_CALL Content::execute(
}
else
{
-#ifdef DEBUG
- fprintf(stderr, "UNKNOWN COMMAND\n");
- //TODO
-#endif
+ SAL_WARN("ucb.ucp.gio", "Unknown command " << aCommand.Name << "\n");
ucbhelper::cancelCommandExecution
( uno::makeAny( ucb::UnsupportedCommandException
diff --git a/ucb/source/ucp/gio/gio_datasupplier.cxx b/ucb/source/ucp/gio/gio_datasupplier.cxx
index 2bcc219c1b67..02c1e11df61e 100644
--- a/ucb/source/ucp/gio/gio_datasupplier.cxx
+++ b/ucb/source/ucp/gio/gio_datasupplier.cxx
@@ -28,8 +28,6 @@
#include "gio_content.hxx"
#include "gio_provider.hxx"
-#include <stdio.h>
-
using namespace com::sun::star;
using namespace gio;
diff --git a/ucb/source/ucp/gio/gio_mount.cxx b/ucb/source/ucp/gio/gio_mount.cxx
index 9b834b83965a..4ac8b2987e60 100644
--- a/ucb/source/ucp/gio/gio_mount.cxx
+++ b/ucb/source/ucp/gio/gio_mount.cxx
@@ -19,7 +19,6 @@
#include "gio_mount.hxx"
#include <ucbhelper/simpleauthenticationrequest.hxx>
-#include <stdio.h>
#include <string.h>
#ifdef __GNUC__
diff --git a/ucb/source/ucp/gio/gio_provider.cxx b/ucb/source/ucp/gio/gio_provider.cxx
index 4832f86e2065..527f1ef0b627 100644
--- a/ucb/source/ucp/gio/gio_provider.cxx
+++ b/ucb/source/ucp/gio/gio_provider.cxx
@@ -23,8 +23,6 @@
#include "gio_provider.hxx"
#include "gio_content.hxx"
-#include <stdio.h>
-
using namespace com::sun::star;
namespace gio
@@ -36,12 +34,7 @@ ContentProvider::queryContent(
throw( com::sun::star::ucb::IllegalIdentifierException,
uno::RuntimeException, std::exception )
{
-#if OSL_DEBUG_LEVEL > 1
- fprintf(stderr, "QueryContent: '%s'",
- OUStringToOString
- (Identifier->getContentIdentifier(), RTL_TEXTENCODING_UTF8).getStr());
-#endif
-
+ SAL_INFO("ucb.ucp.gio", "QueryContent: " << Identifier->getContentIdentifier());
osl::MutexGuard aGuard( m_aMutex );
// Check, if a content with given id already exists...
diff --git a/ucb/source/ucp/gvfs/gvfs_content.cxx b/ucb/source/ucp/gvfs/gvfs_content.cxx
index 6a22e9affca8..29449f08634f 100644
--- a/ucb/source/ucp/gvfs/gvfs_content.cxx
+++ b/ucb/source/ucp/gvfs/gvfs_content.cxx
@@ -274,8 +274,6 @@ uno::Any Content::getBadArgExcept()
-1 ) );
}
-#include <stdio.h>
-
uno::Any SAL_CALL Content::execute(
const ucb::Command& aCommand,
sal_Int32 /*CommandId*/,
diff --git a/ucb/source/ucp/webdav-neon/DateTimeHelper.cxx b/ucb/source/ucp/webdav-neon/DateTimeHelper.cxx
index 2b240eb2e74d..5765d225a563 100644
--- a/ucb/source/ucp/webdav-neon/DateTimeHelper.cxx
+++ b/ucb/source/ucp/webdav-neon/DateTimeHelper.cxx
@@ -27,7 +27,6 @@
************************************************************************/
-#include <stdio.h>
#include <osl/time.h>
#include <com/sun/star/util/DateTime.hpp>
#include "DateTimeHelper.hxx"
diff --git a/ucb/source/ucp/webdav/DateTimeHelper.cxx b/ucb/source/ucp/webdav/DateTimeHelper.cxx
index 3bf77248deb5..961c2332e977 100644
--- a/ucb/source/ucp/webdav/DateTimeHelper.cxx
+++ b/ucb/source/ucp/webdav/DateTimeHelper.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include <stdio.h>
#include <osl/time.h>
#include <com/sun/star/util/DateTime.hpp>
#include "DateTimeHelper.hxx"
diff --git a/xmloff/inc/pch/precompiled_xo.hxx b/xmloff/inc/pch/precompiled_xo.hxx
index e5a3e2e4ba9f..9d16f44a58e9 100644
--- a/xmloff/inc/pch/precompiled_xo.hxx
+++ b/xmloff/inc/pch/precompiled_xo.hxx
@@ -532,7 +532,6 @@
#include <sax/tools/converter.hxx>
#include <set>
#include <stack>
-#include <stdio.h>
#include <string.h>
#include <svl/itemset.hxx>
#include <svl/nfsymbol.hxx>
diff --git a/xmloff/source/forms/elementexport.cxx b/xmloff/source/forms/elementexport.cxx
index bce1ef76ed78..091e2e73e38e 100644
--- a/xmloff/source/forms/elementexport.cxx
+++ b/xmloff/source/forms/elementexport.cxx
@@ -60,7 +60,6 @@
#include <comphelper/extract.hxx>
#include <sal/macros.h>
-#include <stdio.h>
#include <algorithm>
namespace xmloff
diff --git a/xmloff/source/forms/formlayerexport.cxx b/xmloff/source/forms/formlayerexport.cxx
index 15fbbf813f17..76971699819e 100644
--- a/xmloff/source/forms/formlayerexport.cxx
+++ b/xmloff/source/forms/formlayerexport.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include <stdio.h>
#include <xmloff/formlayerexport.hxx>
#include "strings.hxx"
#include "elementexport.hxx"
diff --git a/xmloff/source/forms/layerexport.cxx b/xmloff/source/forms/layerexport.cxx
index a4a38614bbb4..634aba470eb6 100644
--- a/xmloff/source/forms/layerexport.cxx
+++ b/xmloff/source/forms/layerexport.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include <stdio.h>
#include "layerexport.hxx"
#include "strings.hxx"
#include <xmloff/xmlexp.hxx>
diff --git a/xmloff/source/forms/propertyexport.cxx b/xmloff/source/forms/propertyexport.cxx
index a2a611238666..4fd3d4f02658 100644
--- a/xmloff/source/forms/propertyexport.cxx
+++ b/xmloff/source/forms/propertyexport.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include <stdio.h>
#include "propertyexport.hxx"
#include <xmloff/xmlexp.hxx>
#include "strings.hxx"