[Libreoffice-commits] core.git: avmedia/source basic/source chart2/inc chart2/source cppcanvas/inc cppcanvas/source cppu/source cui/source dbaccess/source desktop/source filter/source forms/source formula/source oox/inc oox/source scripting/source starmath/inc starmath/source ucb/source xmloff/inc xmloff/source
Julien Nabet
serval2412 at yahoo.fr
Sun May 17 22:34:17 PDT 2015
avmedia/source/viewer/mediawindow.cxx | 2 -
basic/source/classes/sb.cxx | 3 --
basic/source/classes/sbxmod.cxx | 1
chart2/inc/pch/precompiled_chartopengl.hxx | 1
chart2/source/view/main/DummyXShape.cxx | 1
cppcanvas/inc/pch/precompiled_cppcanvas.hxx | 1
cppcanvas/source/mtfrenderer/emfplus.cxx | 1
cppu/source/threadpool/thread.cxx | 1
cppu/source/threadpool/threadident.cxx | 2 -
cppu/source/threadpool/threadpool.cxx | 15 +---------
cui/source/dialogs/insdlg.cxx | 1
dbaccess/source/ui/dlg/adodatalinks.cxx | 1
desktop/source/deployment/registry/package/dp_package.cxx | 4 +-
filter/source/flash/swfexporter.hxx | 2 -
filter/source/flash/swfuno.cxx | 2 -
filter/source/flash/swfwriter.hxx | 2 -
filter/source/graphicfilter/ieps/ieps.cxx | 2 -
filter/source/pdf/pdfuno.cxx | 1
filter/source/placeware/uno.cxx | 2 -
filter/source/xmlfilteradaptor/XmlFilterAdaptor.cxx | 1
filter/source/xmlfilteradaptor/genericfilter.cxx | 1
filter/source/xsltfilter/LibXSLTTransformer.hxx | 2 -
filter/source/xsltfilter/XSLTFilter.cxx | 2 -
forms/source/xforms/xpathlib/extension.cxx | 1
formula/source/core/api/FormulaCompiler.cxx | 1
oox/inc/pch/precompiled_oox.hxx | 1
oox/source/mathml/importutils.cxx | 1
scripting/source/provider/ScriptImpl.cxx | 2 -
starmath/inc/node.hxx | 1
starmath/inc/pch/precompiled_sm.hxx | 1
starmath/source/parse.cxx | 2 -
ucb/source/ucp/cmis/cmis_provider.cxx | 2 -
ucb/source/ucp/file/filglob.cxx | 1
ucb/source/ucp/gio/gio_content.cxx | 21 +++-----------
ucb/source/ucp/gio/gio_datasupplier.cxx | 2 -
ucb/source/ucp/gio/gio_mount.cxx | 1
ucb/source/ucp/gio/gio_provider.cxx | 9 ------
ucb/source/ucp/gvfs/gvfs_content.cxx | 2 -
ucb/source/ucp/webdav-neon/DateTimeHelper.cxx | 1
ucb/source/ucp/webdav/DateTimeHelper.cxx | 1
xmloff/inc/pch/precompiled_xo.hxx | 1
xmloff/source/forms/elementexport.cxx | 1
xmloff/source/forms/formlayerexport.cxx | 1
xmloff/source/forms/layerexport.cxx | 1
xmloff/source/forms/propertyexport.cxx | 1
45 files changed, 10 insertions(+), 96 deletions(-)
New commits:
commit 3aebc670e1816a8f4f0759e97d8f39b6aab05044
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Sun May 17 18:54:22 2015 +0200
Remove include stdio (part2)
Change-Id: Iae58d107d8df1c543a165086fb2b7c288e7121dd
Reviewed-on: https://gerrit.libreoffice.org/15775
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
Tested-by: Julien Nabet <serval2412 at yahoo.fr>
diff --git a/avmedia/source/viewer/mediawindow.cxx b/avmedia/source/viewer/mediawindow.cxx
index 267e39f..3108df4 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 a8f1bc6..3365053 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 7fb9fb7..a5b487c 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 f1981a1..ffcb6ed 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 7d81b55..eec97ff 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 a40975e..914bfd2 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 de28124..701cfa3 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 e1be210..d1d448f 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 ce7fdc0..dcf6d1f 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 f910cba..5cfb7e6 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 8fcabe5..eacfed6 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 2cf32be..e30fbd4 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 610a37b..3582479 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 3d33e26..2e78abd 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 a630eb7..f09ca4b 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 7864102..be08fb2 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 503606d..668311f 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 4ad5403..72a324e 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 a14bfaa..4241fbf 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 32274e9..1b88f16 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 2abf3c9..fea9c73 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 4f5e5f9..5f849cd0 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 84afe7d..6241137 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 0588836..b2bb237 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 9a933c1..dc24f45 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 03696c9..e237351 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 2b5ad75..8fe96b7 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 f17bb9a..0741590 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 540de95..89620a4 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 5f9ad05..f910c3d 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 f8bdc5f..fd7bd31 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 7fc710e..a41b52c 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 4f8a2c1..b9c5421 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 f86ee34..96c7c4b 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 2bcc219..02c1e11 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 9b834b8..4ac8b29 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 4832f86..527f1ef 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 6a22e9a..29449f0 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 2b240eb..5765d22 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 3bf7724..961c233 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 e5a3e2e..9d16f44 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 bce1ef7..091e2e7 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 15fbbf8..7697169 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 a4a3861..634aba4 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 a2a6112..4fd3d4f 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"
More information about the Libreoffice-commits
mailing list