Kaydet (Commit) 3fb5f718 authored tarafından Gabor Kelemen's avatar Gabor Kelemen Kaydeden (comit) Miklos Vajna

Add missing sal/log.hxx headers

rtl/string.hxx and rtl/ustring.hxx both unnecessarily #include <sal/log.hxx> (and don't make use of it themselves), but many other files happen to depend on it.
This is a continuation of commit 6ff2d84a to be able to remove those unneeded includes.

This commit adds missing headers to every file found by:
grep -FwL sal/log.hxx $(git grep -Elw 'SAL_INFO|SAL_INFO_IF|SAL_WARN|SAL_WARN_IF|SAL_DETAIL_LOG_STREAM|SAL_WHERE|SAL_STREAM|SAL_DEBUG')
to directories from dbaccess to extensions

Change-Id: I4d15aa35e11664ef78c836ffc2937c7e0bb6ea59
Reviewed-on: https://gerrit.libreoffice.org/58165
Tested-by: Jenkins
Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.co.uk>
üst d8b7ac32
......@@ -39,6 +39,7 @@
#include <com/sun/star/io/XInputStream.hpp>
#include <comphelper/types.hxx>
#include <rtl/ustrbuf.hxx>
#include <sal/log.hxx>
using namespace comphelper;
......
......@@ -28,6 +28,7 @@
#include <tools/wldcrd.hxx>
#include <tools/diagnose_ex.h>
#include <boost/optional.hpp>
#include <sal/log.hxx>
namespace dbaccess
{
......
......@@ -19,6 +19,7 @@
#include <memory>
#include "KeySet.hxx"
#include <sal/log.hxx>
#include <core_resource.hxx>
#include <strings.hrc>
#include <com/sun/star/beans/XPropertySet.hpp>
......
......@@ -18,6 +18,7 @@
*/
#include <sal/config.h>
#include <sal/log.hxx>
#include <map>
#include <utility>
......
......@@ -22,6 +22,7 @@
#include <connectivity/sdbcx/VCollection.hxx>
#include "RowSetCache.hxx"
#include <stringconstants.hxx>
#include <sal/log.hxx>
#include <core_resource.hxx>
#include <strings.hrc>
#include <strings.hxx>
......
......@@ -27,6 +27,7 @@
#include "RowSetCache.hxx"
#include "StaticSet.hxx"
#include "WrappedResultSet.hxx"
#include <sal/log.hxx>
#include <core_resource.hxx>
#include <strings.hrc>
#include <strings.hxx>
......
......@@ -18,6 +18,7 @@
*/
#include <string.h>
#include <sal/log.hxx>
#include <composertools.hxx>
#include <strings.hrc>
#include <core_resource.hxx>
......
......@@ -25,6 +25,7 @@
#include <core_resource.hxx>
#include <strings.hrc>
#include <osl/diagnose.h>
#include <sal/log.hxx>
#include <cppuhelper/typeprovider.hxx>
#include <comphelper/property.hxx>
......
......@@ -18,6 +18,7 @@
*/
#include "resultset.hxx"
#include <sal/log.hxx>
#include <stringconstants.hxx>
#include <apitools.hxx>
#include <com/sun/star/lang/DisposedException.hpp>
......
......@@ -20,6 +20,7 @@
#include <tablecontainer.hxx>
#include <stringconstants.hxx>
#include <table.hxx>
#include <sal/log.hxx>
#include <comphelper/property.hxx>
#include <comphelper/processfactory.hxx>
#include <tools/debug.hxx>
......
......@@ -59,6 +59,7 @@
#include <cppuhelper/typeprovider.hxx>
#include <cppuhelper/exc_hlp.hxx>
#include <rtl/uri.hxx>
#include <sal/log.hxx>
#include <svl/filenotation.hxx>
#include <tools/debug.hxx>
#include <tools/diagnose_ex.h>
......
......@@ -79,6 +79,7 @@
#include <tools/diagnose_ex.h>
#include <osl/diagnose.h>
#include <vcl/errcode.hxx>
#include <sal/log.hxx>
#include <list>
......
......@@ -62,6 +62,7 @@
#include <tools/diagnose_ex.h>
#include <osl/diagnose.h>
#include <osl/process.h>
#include <sal/log.hxx>
#include <tools/urlobj.hxx>
#include <typelib/typedescription.hxx>
#include <unotools/confignode.hxx>
......
......@@ -21,6 +21,7 @@
#include <stringconstants.hxx>
#include <cppuhelper/typeprovider.hxx>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <sal/log.hxx>
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
......
......@@ -30,6 +30,7 @@
#include <com/sun/star/util/XModifiable.hpp>
#include <rtl/ustrbuf.hxx>
#include <sal/log.hxx>
#include <tools/diagnose_ex.h>
#include <algorithm>
......
......@@ -20,6 +20,7 @@
#include "settingsimport.hxx"
#include <tools/diagnose_ex.h>
#include <sal/log.hxx>
#include <sax/tools/converter.hxx>
#include <xmloff/xmltoken.hxx>
......
......@@ -37,6 +37,7 @@
#include <cppuhelper/implbase.hxx>
#include <connectivity/dbtools.hxx>
#include <tools/diagnose_ex.h>
#include <sal/log.hxx>
#include <xmloff/XMLSettingsExportContext.hxx>
#include <xmloff/SettingsExportHelper.hxx>
......
......@@ -18,6 +18,7 @@
*/
#include <comphelper/string.hxx>
#include <sal/log.hxx>
#include "alterparser.hxx"
#include "utils.hxx"
......
......@@ -18,6 +18,7 @@
*/
#include <comphelper/string.hxx>
#include <sal/log.hxx>
#include "createparser.hxx"
#include "utils.hxx"
#include <com/sun/star/sdbc/DataType.hpp>
......
......@@ -19,6 +19,7 @@
#include "fbalterparser.hxx"
#include <rtl/ustrbuf.hxx>
#include <sal/log.hxx>
namespace dbahsql
{
......
......@@ -31,6 +31,7 @@
#include <com/sun/star/sdbc/SQLException.hpp>
#include <rtl/ustrbuf.hxx>
#include <sal/log.hxx>
#include <connectivity/dbtools.hxx>
#include <connectivity/dbexception.hxx>
#include <comphelper/processfactory.hxx>
......
......@@ -26,6 +26,7 @@
#include <com/sun/star/embed/ElementModes.hpp>
#include <comphelper/processfactory.hxx>
#include <comphelper/string.hxx>
#include <sal/log.hxx>
namespace
{
......
......@@ -18,6 +18,7 @@
*/
#include <sal/config.h>
#include <sal/log.hxx>
#include <map>
......
......@@ -33,6 +33,7 @@
#include <comphelper/types.hxx>
#include <stringconstants.hxx>
#include <strings.hxx>
#include <sal/log.hxx>
#include "xmlEnums.hxx"
#include <com/sun/star/beans/XPropertyState.hpp>
#include <com/sun/star/beans/PropertyAttribute.hpp>
......
......@@ -18,6 +18,7 @@
*/
#include <sal/config.h>
#include <sal/log.hxx>
#include <vcl/errinf.hxx>
#include <com/sun/star/uri/UriReferenceFactory.hpp>
......
......@@ -48,6 +48,7 @@
#include <connectivity/dbexception.hxx>
#include <vcl/waitobj.hxx>
#include <rtl/ustrbuf.hxx>
#include <sal/log.hxx>
#include "AppView.hxx"
#include <svx/dataaccessdescriptor.hxx>
#include <svx/dbaobjectex.hxx>
......
......@@ -78,6 +78,7 @@
#include <cppuhelper/implbase2.hxx>
#include <cppuhelper/typeprovider.hxx>
#include <osl/mutex.hxx>
#include <sal/log.hxx>
#include <sfx2/app.hxx>
#include <svx/fmsearch.hxx>
#include <svx/svxdlg.hxx>
......
......@@ -32,6 +32,7 @@
#include <o3tl/any.hxx>
#include <tools/diagnose_ex.h>
#include <rtl/strbuf.hxx>
#include <sal/log.hxx>
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::sdb;
......
......@@ -55,6 +55,7 @@
#include <com/sun/star/frame/status/Visibility.hpp>
#include <com/sun/star/util/XModifiable.hpp>
#include <rtl/ustring.hxx>
#include <sal/log.hxx>
#include <o3tl/functional.hxx>
#include <limits>
#include <unordered_map>
......
......@@ -52,6 +52,7 @@
#include <com/sun/star/sdbc/XResultSetUpdate.hpp>
#include <tools/diagnose_ex.h>
#include <sal/log.hxx>
#include <svl/intitem.hxx>
#include <svx/algitem.hxx>
#include <tools/multisel.hxx>
......
......@@ -116,6 +116,7 @@
#include <toolkit/helper/vclunohelper.hxx>
#include <tools/diagnose_ex.h>
#include <osl/diagnose.h>
#include <sal/log.hxx>
#include <tools/multisel.hxx>
#include <tools/urlobj.hxx>
#include <unotools/confignode.hxx>
......
......@@ -59,6 +59,7 @@
#include <osl/file.hxx>
#include <tools/diagnose_ex.h>
#include <osl/diagnose.h>
#include <sal/log.hxx>
#include <typelib/typedescription.hxx>
#include <vcl/svapp.hxx>
#include <vcl/stdtext.hxx>
......
......@@ -31,6 +31,7 @@
#include <svl/intitem.hxx>
#include <svl/eitem.hxx>
#include <svl/itemset.hxx>
#include <sal/log.hxx>
namespace dbaui
{
......
......@@ -42,6 +42,7 @@
#include <unotools/confignode.hxx>
#include <osl/diagnose.h>
#include <svtools/miscopt.hxx>
#include <sal/log.hxx>
namespace dbaui
{
......
......@@ -38,6 +38,7 @@
#include <strings.hxx>
#include <connectivity/dbconversion.hxx>
#include <osl/thread.h>
#include <sal/log.hxx>
#include <sfx2/sfxhtml.hxx>
#include <svl/numuno.hxx>
#include <connectivity/dbtools.hxx>
......
......@@ -21,6 +21,7 @@
#include <TokenWriter.hxx>
#include <com/sun/star/sdbc/XColumnLocate.hpp>
#include <com/sun/star/sdbc/XResultSetMetaDataSupplier.hpp>
#include <sal/log.hxx>
#include <core_resource.hxx>
#include <strings.hrc>
#include <strings.hxx>
......
......@@ -41,6 +41,7 @@
#include <unotools/ucbhelper.hxx>
#include <tools/urlobj.hxx>
#include <tools/diagnose_ex.h>
#include <sal/log.hxx>
#include <com/sun/star/sdbcx/XTablesSupplier.hpp>
#include <com/sun/star/sdbcx/XViewsSupplier.hpp>
#include <com/sun/star/sdb/XQueryDefinitionsSupplier.hpp>
......
......@@ -22,6 +22,7 @@
#include <tools/diagnose_ex.h>
#include <tools/stream.hxx>
#include <osl/diagnose.h>
#include <sal/log.hxx>
#include <RtfReader.hxx>
#include <HtmlReader.hxx>
#include <stringconstants.hxx>
......
......@@ -74,6 +74,7 @@
#include <svx/svxids.hrc>
#include <sal/log.hxx>
#include <svl/itempool.hxx>
#include <helpids.h>
#include <svl/itemset.hxx>
......
......@@ -53,6 +53,7 @@
#include <connectivity/dbexception.hxx>
#include <rtl/ustrbuf.hxx>
#include <sal/log.hxx>
#include <tools/debug.hxx>
#include <tools/diagnose_ex.h>
#include <vcl/lstbox.hxx>
......
......@@ -43,6 +43,7 @@
#include <cppuhelper/typeprovider.hxx>
#include <comphelper/interfacecontainer2.hxx>
#include <rtl/ustrbuf.hxx>
#include <sal/log.hxx>
#include <toolkit/helper/vclunohelper.hxx>
#include <tools/debug.hxx>
#include <tools/diagnose_ex.h>
......
......@@ -66,6 +66,7 @@
#include <cppuhelper/implbase.hxx>
#include <comphelper/interfacecontainer2.hxx>
#include <rtl/ustrbuf.hxx>
#include <sal/log.hxx>
#include <svtools/genericunodialog.hxx>
#include <tools/diagnose_ex.h>
#include <unotools/sharedunocomponent.hxx>
......
......@@ -40,6 +40,7 @@
#include <rtl/strbuf.hxx>
#include <osl/file.hxx>
#include <sal/log.hxx>
using namespace com::sun::star::lang;
using namespace com::sun::star::uri;
......
......@@ -19,6 +19,7 @@
#include <config_folders.h>
#include <rtl/bootstrap.hxx>
#include <sal/log.hxx>
#include <officecfg/Office/Calc.hxx>
#include <officecfg/Office/Common.hxx>
......
......@@ -30,6 +30,7 @@
#include <unotools/configmgr.hxx>
#include <osl/file.hxx>
#include <rtl/process.h>
#include <sal/log.hxx>
#include <curl/curl.h>
......
......@@ -21,6 +21,7 @@
#include <dp_misc.h>
#include <dp_services.hxx>
#include <rtl/strbuf.hxx>
#include <sal/log.hxx>
#include <osl/time.h>
#include <osl/thread.h>
#include <cppuhelper/compbase.hxx>
......
......@@ -21,6 +21,7 @@
#include <dp_persmap.h>
#include <rtl/byteseq.hxx>
#include <rtl/strbuf.hxx>
#include <sal/log.hxx>
using namespace ::rtl;
......
......@@ -43,6 +43,7 @@
#include <vcl/builderfactory.hxx>
#include <osl/mutex.hxx>
#include <sal/log.hxx>
#include <svtools/extensionlistbox.hxx>
#include <svtools/restartdialog.hxx>
......
......@@ -31,6 +31,7 @@
#include <com/sun/star/ucb/CommandFailedException.hpp>
#include <comphelper/propertysequence.hxx>
#include <cppuhelper/exc_hlp.hxx>
#include <sal/log.hxx>
#include "dp_gui_dialog2.hxx"
#include "dp_gui_extensioncmdqueue.hxx"
......
......@@ -28,6 +28,7 @@
#include <com/sun/star/ucb/CommandFailedException.hpp>
#include <osl/diagnose.h>
#include <rtl/bootstrap.hxx>
#include <sal/log.hxx>
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
......
......@@ -18,6 +18,7 @@
*/
#include <sal/config.h>
#include <sal/log.hxx>
#include <dp_shared.hxx>
#include <dp_package.hxx>
......
......@@ -21,6 +21,7 @@
#include <cppuhelper/supportsservice.hxx>
#include <tools/urlobj.hxx>
#include <unotools/bootstrap.hxx>
#include <sal/log.hxx>
using namespace ::com::sun::star;
......
......@@ -22,6 +22,7 @@
#include <tools/urlobj.hxx>
#include <unotools/bootstrap.hxx>
#include <unotools/ucbstreamhelper.hxx>
#include <sal/log.hxx>
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
......
......@@ -22,6 +22,7 @@
#include <dp_shared.hxx>
#include "unopkg_shared.h"
#include <osl/thread.h>
#include <sal/log.hxx>
#include <unotools/resmgr.hxx>
#include <cppuhelper/implbase.hxx>
#include <cppuhelper/exc_hlp.hxx>
......
......@@ -26,6 +26,7 @@
#include <rtl/bootstrap.hxx>
#include <rtl/strbuf.hxx>
#include <rtl/ustrbuf.hxx>
#include <sal/log.hxx>
#include <osl/process.h>
#include <osl/file.hxx>
#include <osl/thread.hxx>
......
......@@ -24,6 +24,7 @@
#include <cppuhelper/supportsservice.hxx>
#include <rtl/ustrbuf.hxx>
#include <rtl/math.hxx>
#include <sal/log.hxx>
using namespace com::sun::star;
......
......@@ -18,6 +18,7 @@
*/
#include <sal/config.h>
#include <sal/log.hxx>
#include <algorithm>
#include <map>
......
......@@ -44,6 +44,7 @@
#include <basegfx/polygon/b2dpolypolygontools.hxx>
#include <vcl/hatch.hxx>
#include <tools/diagnose_ex.h>
#include <sal/log.hxx>
#include <com/sun/star/awt/PosSize.hpp>
#include <drawinglayer/primitive2d/invertprimitive2d.hxx>
#include <cstdio>
......
......@@ -43,6 +43,7 @@
#include <drawinglayer/primitive2d/pagepreviewprimitive2d.hxx>
#include <tools/diagnose_ex.h>
#include <rtl/ustrbuf.hxx>
#include <sal/log.hxx>
#include <vcl/metric.hxx>
#include <drawinglayer/primitive2d/textenumsprimitive2d.hxx>
#include <drawinglayer/primitive2d/epsprimitive2d.hxx>
......
......@@ -20,7 +20,7 @@
#include <drawinglayer/texture/texture3d.hxx>
#include <vcl/bitmapaccess.hxx>
#include <drawinglayer/primitive3d/hatchtextureprimitive3d.hxx>
#include <sal/log.hxx>
namespace drawinglayer
{
......
......@@ -34,6 +34,7 @@
#include <basegfx/polygon/b2dpolygontools.hxx>
#include <basegfx/polygon/b2dpolypolygon.hxx>
#include <basegfx/polygon/b2dpolypolygontools.hxx>
#include <sal/log.hxx>
#include <vcl/canvastools.hxx>
#include "emfpbrush.hxx"
#include "emfppath.hxx"
......
......@@ -35,6 +35,7 @@
#include <basegfx/polygon/b2dpolypolygon.hxx>
#include <basegfx/polygon/b2dpolypolygontools.hxx>
#include <vcl/canvastools.hxx>
#include <sal/log.hxx>
#include "emfpcustomlinecap.hxx"
#include "emfppath.hxx"
#include "emfppen.hxx"
......
......@@ -35,6 +35,7 @@
#include <basegfx/polygon/b2dpolypolygon.hxx>
#include <basegfx/polygon/b2dpolypolygontools.hxx>
#include <vcl/canvastools.hxx>
#include <sal/log.hxx>
#include "emfpfont.hxx"
namespace emfplushelper
......
......@@ -38,6 +38,7 @@
#include <basegfx/polygon/b2dpolygonclipper.hxx>
#include <basegfx/polygon/b2dpolygontools.hxx>
#include <basegfx/polygon/b2dpolypolygoncutter.hxx>
#include <sal/log.hxx>
#include <o3tl/make_unique.hxx>
#include <vcl/svapp.hxx>
#include <vcl/settings.hxx>
......
......@@ -17,6 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include <vcl/graphicfilter.hxx>
#include <sal/log.hxx>
#include "emfpimage.hxx"
namespace emfplushelper
......
......@@ -20,6 +20,7 @@
#include <basegfx/point/b2dpoint.hxx>
#include <basegfx/polygon/b2dpolygon.hxx>
#include <basegfx/polygon/b2dpolypolygon.hxx>
#include <sal/log.hxx>
#include "emfppath.hxx"
namespace emfplushelper
......
......@@ -34,6 +34,7 @@
#include <basegfx/polygon/b2dpolygontools.hxx>
#include <basegfx/polygon/b2dpolypolygon.hxx>
#include <basegfx/polygon/b2dpolypolygontools.hxx>
#include <sal/log.hxx>
#include <vcl/canvastools.hxx>
#include "emfppen.hxx"
#include "emfpcustomlinecap.hxx"
......
......@@ -24,6 +24,7 @@
#include <basegfx/polygon/b2dpolygontools.hxx>
#include <basegfx/polygon/b2dpolypolygon.hxx>
#include <basegfx/polygon/b2dpolypolygontools.hxx>
#include <sal/log.hxx>
#include "emfpregion.hxx"
#include "emfppath.hxx"
......
......@@ -19,6 +19,7 @@
#include <com/sun/star/rendering/XCanvas.hpp>
#include <vcl/canvastools.hxx>
#include <sal/log.hxx>
#include "emfpstringformat.hxx"
namespace emfplushelper
......
......@@ -44,6 +44,7 @@
#include <drawinglayer/primitive2d/textstrikeoutprimitive2d.hxx>
#include <drawinglayer/primitive2d/epsprimitive2d.hxx>
#include <o3tl/make_unique.hxx>
#include <sal/log.hxx>
#include <tools/fract.hxx>
#include <vcl/gradient.hxx>
#include <vcl/hatch.hxx>
......
......@@ -27,6 +27,7 @@
#include <vcl/window.hxx>
#include <vcl/svapp.hxx>
#include <tools/diagnose_ex.h>
#include <sal/log.hxx>
#include <editeng/flditem.hxx>
#include <com/sun/star/uno/Any.hxx>
#include <com/sun/star/uno/Reference.hxx>
......
......@@ -24,6 +24,7 @@
#include <com/sun/star/uno/Any.hxx>
#include <com/sun/star/uno/Reference.hxx>
#include <cppuhelper/weakref.hxx>
#include <sal/log.hxx>
#include <com/sun/star/accessibility/XAccessible.hpp>
#include <com/sun/star/accessibility/AccessibleStateType.hpp>
......
......@@ -57,6 +57,7 @@
#include "impedit.hxx"
#include <rtl/ustrbuf.hxx>
#include <sal/log.hxx>
#include <svl/grabbagitem.hxx>
#include <tools/stream.hxx>
......
......@@ -74,6 +74,7 @@
#include <linguistic/lngprops.hxx>
#include <i18nlangtag/mslangid.hxx>
#include <rtl/strbuf.hxx>
#include <sal/log.hxx>
#include <vcl/help.hxx>
#include <com/sun/star/datatransfer/clipboard/XClipboard.hpp>
#include <com/sun/star/i18n/InputSequenceCheckMode.hpp>
......
......@@ -19,6 +19,7 @@
#include <memory>
#include <rtl/strbuf.hxx>
#include <sal/log.hxx>
#include <vcl/wrkwin.hxx>
#include <vcl/dialog.hxx>
#include <vcl/svapp.hxx>
......
......@@ -23,6 +23,7 @@
#include <vcl/svapp.hxx>
#include "impedit.hxx"
#include <sal/log.hxx>
#include <editeng/editview.hxx>
#include <editeng/editeng.hxx>
#include <edtspell.hxx>
......
......@@ -23,6 +23,7 @@
#include <vcl/settings.hxx>
#include "impedit.hxx"
#include <sal/log.hxx>
#include <editeng/editeng.hxx>
#include <editeng/editview.hxx>
#include <editeng/outliner.hxx>
......
......@@ -58,6 +58,7 @@
#include <com/sun/star/i18n/InputSequenceCheckMode.hpp>
#include <sal/log.hxx>
#include <sot/exchange.hxx>
#include <sot/formats.hxx>
#include <svl/asiancfg.hxx>
......