diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2018-07-27 22:33:55 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-07-30 16:26:31 +0200 |
commit | c6e5d55171b295149a5e93fa8ee23c9c9908c6dd (patch) | |
tree | f8b2be3f9b44495514cfb96671a0108541d21ee4 /package | |
parent | 5ea91ed27342766f2b6103ddb64f07e35af54e50 (diff) |
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 6ff2d84ade299cb3d14d4110e4cf1a4b8070c030 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 l10ntools to reportdesign
Change-Id: Ia2dc93dd848c2dc0b6a8cb6e19849c614ec55198
Reviewed-on: https://gerrit.libreoffice.org/58205
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'package')
20 files changed, 20 insertions, 0 deletions
diff --git a/package/source/manifest/ManifestExport.cxx b/package/source/manifest/ManifestExport.cxx index 2509c8caf30e..f8c2d0399d4f 100644 --- a/package/source/manifest/ManifestExport.cxx +++ b/package/source/manifest/ManifestExport.cxx @@ -32,6 +32,7 @@ #include <osl/diagnose.h> #include <rtl/ustrbuf.hxx> +#include <sal/log.hxx> #include <comphelper/base64.hxx> #include <comphelper/documentconstants.hxx> #include <comphelper/attributelist.hxx> diff --git a/package/source/manifest/ManifestReader.cxx b/package/source/manifest/ManifestReader.cxx index 99849a54f533..21e662e06baf 100644 --- a/package/source/manifest/ManifestReader.cxx +++ b/package/source/manifest/ManifestReader.cxx @@ -19,6 +19,7 @@ #include "ManifestReader.hxx" #include "ManifestImport.hxx" +#include <sal/log.hxx> #include <comphelper/processfactory.hxx> #include <comphelper/sequence.hxx> #include <cppuhelper/factory.hxx> diff --git a/package/source/manifest/ManifestWriter.cxx b/package/source/manifest/ManifestWriter.cxx index bedb6121d37c..24f4a59c4361 100644 --- a/package/source/manifest/ManifestWriter.cxx +++ b/package/source/manifest/ManifestWriter.cxx @@ -31,6 +31,7 @@ #include <com/sun/star/xml/sax/SAXException.hpp> #include <osl/diagnose.hxx> +#include <sal/log.hxx> using namespace ::com::sun::star; using namespace ::com::sun::star::uno; diff --git a/package/source/xstor/ocompinstream.cxx b/package/source/xstor/ocompinstream.cxx index dd564271ecd8..efa4122e2cd1 100644 --- a/package/source/xstor/ocompinstream.cxx +++ b/package/source/xstor/ocompinstream.cxx @@ -23,6 +23,7 @@ #include <com/sun/star/lang/DisposedException.hpp> #include <cppuhelper/queryinterface.hxx> #include <osl/diagnose.h> +#include <sal/log.hxx> #include "owriteablestream.hxx" #include "xstorage.hxx" diff --git a/package/source/xstor/oseekinstream.cxx b/package/source/xstor/oseekinstream.cxx index 2e8527b5fbdf..34d6a5d8f480 100644 --- a/package/source/xstor/oseekinstream.cxx +++ b/package/source/xstor/oseekinstream.cxx @@ -21,6 +21,7 @@ #include <cppuhelper/typeprovider.hxx> #include <cppuhelper/queryinterface.hxx> #include <osl/diagnose.h> +#include <sal/log.hxx> #include "oseekinstream.hxx" #include "owriteablestream.hxx" diff --git a/package/source/xstor/owriteablestream.cxx b/package/source/xstor/owriteablestream.cxx index 2f49e497dd47..beb71e11d3ec 100644 --- a/package/source/xstor/owriteablestream.cxx +++ b/package/source/xstor/owriteablestream.cxx @@ -19,6 +19,7 @@ #include <memory> #include <sal/config.h> +#include <sal/log.hxx> #include <com/sun/star/packages/WrongPasswordException.hpp> #include <com/sun/star/uno/XComponentContext.hpp> diff --git a/package/source/xstor/xfactory.cxx b/package/source/xstor/xfactory.cxx index 1feb44a84e21..8aeb7979749d 100644 --- a/package/source/xstor/xfactory.cxx +++ b/package/source/xstor/xfactory.cxx @@ -18,6 +18,7 @@ */ #include <sal/config.h> +#include <sal/log.hxx> #include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/ucb/SimpleFileAccess.hpp> diff --git a/package/source/xstor/xstorage.cxx b/package/source/xstor/xstorage.cxx index ca646e10f41b..41bb3ffa8802 100644 --- a/package/source/xstor/xstorage.cxx +++ b/package/source/xstor/xstorage.cxx @@ -19,6 +19,7 @@ #include <memory> #include <sal/config.h> +#include <sal/log.hxx> #include <cassert> diff --git a/package/source/zipapi/ByteGrabber.cxx b/package/source/zipapi/ByteGrabber.cxx index 9552c53f7111..3c9e17dba00e 100644 --- a/package/source/zipapi/ByteGrabber.cxx +++ b/package/source/zipapi/ByteGrabber.cxx @@ -18,6 +18,7 @@ */ #include <ByteGrabber.hxx> +#include <sal/log.hxx> #include <com/sun/star/io/XSeekable.hpp> #include <com/sun/star/io/XInputStream.hpp> diff --git a/package/source/zipapi/XBufferedThreadedStream.cxx b/package/source/zipapi/XBufferedThreadedStream.cxx index 2c36b73ea409..24c68cfc1fe2 100644 --- a/package/source/zipapi/XBufferedThreadedStream.cxx +++ b/package/source/zipapi/XBufferedThreadedStream.cxx @@ -10,6 +10,7 @@ #include "XBufferedThreadedStream.hxx" #include <com/sun/star/packages/zip/ZipIOException.hpp> #include <cppuhelper/exc_hlp.hxx> +#include <sal/log.hxx> using namespace css::uno; using com::sun::star::packages::zip::ZipIOException; diff --git a/package/source/zipapi/XUnbufferedStream.cxx b/package/source/zipapi/XUnbufferedStream.cxx index 9925d1d5dd5c..8c0b97d1367b 100644 --- a/package/source/zipapi/XUnbufferedStream.cxx +++ b/package/source/zipapi/XUnbufferedStream.cxx @@ -31,6 +31,7 @@ #include <osl/diagnose.h> #include <osl/mutex.hxx> +#include <sal/log.hxx> #include <unotools/configmgr.hxx> diff --git a/package/source/zipapi/ZipFile.cxx b/package/source/zipapi/ZipFile.cxx index 1ef81bf582a5..d2fa8a456392 100644 --- a/package/source/zipapi/ZipFile.cxx +++ b/package/source/zipapi/ZipFile.cxx @@ -31,6 +31,7 @@ #include <comphelper/storagehelper.hxx> #include <comphelper/processfactory.hxx> #include <rtl/digest.h> +#include <sal/log.hxx> #include <osl/diagnose.h> #include <o3tl/make_unique.hxx> diff --git a/package/source/zippackage/ZipPackage.cxx b/package/source/zippackage/ZipPackage.cxx index 45eda6d4837e..f9193aaff7c1 100644 --- a/package/source/zippackage/ZipPackage.cxx +++ b/package/source/zippackage/ZipPackage.cxx @@ -64,6 +64,7 @@ #include <rtl/uri.hxx> #include <rtl/random.h> #include <osl/diagnose.h> +#include <sal/log.hxx> #include <com/sun/star/io/XAsyncOutputMonitor.hpp> #include <cstring> diff --git a/package/source/zippackage/ZipPackageBuffer.cxx b/package/source/zippackage/ZipPackageBuffer.cxx index 741c86629038..b50ca89b8dac 100644 --- a/package/source/zippackage/ZipPackageBuffer.cxx +++ b/package/source/zippackage/ZipPackageBuffer.cxx @@ -20,6 +20,7 @@ #include <ZipPackageBuffer.hxx> #include <PackageConstants.hxx> #include <string.h> +#include <sal/log.hxx> #include <com/sun/star/io/BufferSizeExceededException.hpp> #include <com/sun/star/lang/IllegalArgumentException.hpp> diff --git a/package/source/zippackage/ZipPackageEntry.cxx b/package/source/zippackage/ZipPackageEntry.cxx index 38ffc8d071ef..118630eef80b 100644 --- a/package/source/zippackage/ZipPackageEntry.cxx +++ b/package/source/zippackage/ZipPackageEntry.cxx @@ -21,6 +21,7 @@ #include <com/sun/star/lang/NoSupportException.hpp> #include <com/sun/star/packages/zip/ZipConstants.hpp> #include <osl/diagnose.h> +#include <sal/log.hxx> #include <ZipPackageFolder.hxx> #include <ZipPackageStream.hxx> diff --git a/package/source/zippackage/ZipPackageFolder.cxx b/package/source/zippackage/ZipPackageFolder.cxx index 8d9556069d95..443eaf8dce96 100644 --- a/package/source/zippackage/ZipPackageFolder.cxx +++ b/package/source/zippackage/ZipPackageFolder.cxx @@ -30,6 +30,7 @@ #include <cppuhelper/supportsservice.hxx> #include <cppuhelper/typeprovider.hxx> #include <osl/diagnose.h> +#include <sal/log.hxx> #include <rtl/digest.h> #include "ContentInfo.hxx" #include <com/sun/star/beans/PropertyValue.hpp> diff --git a/package/source/zippackage/ZipPackageFolderEnumeration.cxx b/package/source/zippackage/ZipPackageFolderEnumeration.cxx index 91de21dd1afb..229a659d4025 100644 --- a/package/source/zippackage/ZipPackageFolderEnumeration.cxx +++ b/package/source/zippackage/ZipPackageFolderEnumeration.cxx @@ -20,6 +20,7 @@ #include "ZipPackageFolderEnumeration.hxx" #include "ContentInfo.hxx" #include <cppuhelper/supportsservice.hxx> +#include <sal/log.hxx> using namespace com::sun::star; diff --git a/package/source/zippackage/ZipPackageStream.cxx b/package/source/zippackage/ZipPackageStream.cxx index a558be575127..0c780718b251 100644 --- a/package/source/zippackage/ZipPackageStream.cxx +++ b/package/source/zippackage/ZipPackageStream.cxx @@ -54,6 +54,7 @@ #include <rtl/instance.hxx> #include <rtl/random.h> +#include <sal/log.hxx> #include <PackageConstants.hxx> diff --git a/package/source/zippackage/wrapstreamforshare.cxx b/package/source/zippackage/wrapstreamforshare.cxx index 62734f9240e3..e5a47566551e 100644 --- a/package/source/zippackage/wrapstreamforshare.cxx +++ b/package/source/zippackage/wrapstreamforshare.cxx @@ -18,6 +18,7 @@ */ #include <sal/config.h> +#include <sal/log.hxx> #include <com/sun/star/io/IOException.hpp> #include <osl/diagnose.h> diff --git a/package/source/zippackage/zipfileaccess.cxx b/package/source/zippackage/zipfileaccess.cxx index f2b1015a7055..f585d53e9297 100644 --- a/package/source/zippackage/zipfileaccess.cxx +++ b/package/source/zippackage/zipfileaccess.cxx @@ -35,6 +35,7 @@ #include <ucbhelper/content.hxx> #include <rtl/ref.hxx> #include <o3tl/make_unique.hxx> +#include <sal/log.hxx> using namespace ::com::sun::star; |