diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2018-07-31 19:58:50 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-08-03 09:43:04 +0200 |
commit | 4760bc9916cb726321bf4506bb48a26cfb239753 (patch) | |
tree | 2048928f9bc83e25bab028abbfb24d04c6d60bea /sw/source/ui/vba | |
parent | 28fa64612a3b4b9496da68ba83b54bbd80b75eaa (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 directory sw
Change-Id: I1ede3f86e390bfec1a2d3ee8e8bb6ec67083b194
Reviewed-on: https://gerrit.libreoffice.org/58372
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'sw/source/ui/vba')
-rw-r--r-- | sw/source/ui/vba/service.cxx | 1 | ||||
-rw-r--r-- | sw/source/ui/vba/vbaaddins.cxx | 1 | ||||
-rw-r--r-- | sw/source/ui/vba/vbaapplication.cxx | 1 | ||||
-rw-r--r-- | sw/source/ui/vba/vbadocument.cxx | 1 | ||||
-rw-r--r-- | sw/source/ui/vba/vbadocumentproperties.cxx | 1 | ||||
-rw-r--r-- | sw/source/ui/vba/vbafield.cxx | 1 | ||||
-rw-r--r-- | sw/source/ui/vba/vbaglobals.cxx | 1 | ||||
-rw-r--r-- | sw/source/ui/vba/vbalisthelper.cxx | 1 | ||||
-rw-r--r-- | sw/source/ui/vba/vbarevision.cxx | 1 | ||||
-rw-r--r-- | sw/source/ui/vba/vbastyles.cxx | 1 |
10 files changed, 10 insertions, 0 deletions
diff --git a/sw/source/ui/vba/service.cxx b/sw/source/ui/vba/service.cxx index 1924abc1689d..00e8797fd67b 100644 --- a/sw/source/ui/vba/service.cxx +++ b/sw/source/ui/vba/service.cxx @@ -18,6 +18,7 @@ */ #include <cppuhelper/implementationentry.hxx> #include <comphelper/servicedecl.hxx> +#include <sal/log.hxx> #include "service.hxx" diff --git a/sw/source/ui/vba/vbaaddins.cxx b/sw/source/ui/vba/vbaaddins.cxx index af69cfe3f844..265f850206b8 100644 --- a/sw/source/ui/vba/vbaaddins.cxx +++ b/sw/source/ui/vba/vbaaddins.cxx @@ -19,6 +19,7 @@ #include "vbaaddins.hxx" #include "vbaaddin.hxx" #include <unotools/pathoptions.hxx> +#include <sal/log.hxx> #include <com/sun/star/lang/XMultiComponentFactory.hpp> #include <com/sun/star/ucb/SimpleFileAccess.hpp> diff --git a/sw/source/ui/vba/vbaapplication.cxx b/sw/source/ui/vba/vbaapplication.cxx index a1ff66bdaf1a..eae06b29457a 100644 --- a/sw/source/ui/vba/vbaapplication.cxx +++ b/sw/source/ui/vba/vbaapplication.cxx @@ -22,6 +22,7 @@ #include "vbaapplication.hxx" #include "vbadocument.hxx" +#include <sal/log.hxx> #include <osl/file.hxx> #include <vbahelper/vbahelper.hxx> #include "vbawindow.hxx" diff --git a/sw/source/ui/vba/vbadocument.cxx b/sw/source/ui/vba/vbadocument.cxx index 18273d813e91..851920b56005 100644 --- a/sw/source/ui/vba/vbadocument.cxx +++ b/sw/source/ui/vba/vbadocument.cxx @@ -18,6 +18,7 @@ */ #include <sal/config.h> +#include <sal/log.hxx> #include "service.hxx" #include "vbadocument.hxx" diff --git a/sw/source/ui/vba/vbadocumentproperties.cxx b/sw/source/ui/vba/vbadocumentproperties.cxx index 625c46e0e1e2..4a74d5abd25b 100644 --- a/sw/source/ui/vba/vbadocumentproperties.cxx +++ b/sw/source/ui/vba/vbadocumentproperties.cxx @@ -18,6 +18,7 @@ */ #include "vbadocumentproperties.hxx" #include <cppuhelper/implbase.hxx> +#include <sal/log.hxx> #include <com/sun/star/document/XDocumentProperties.hpp> #include <com/sun/star/document/XDocumentPropertiesSupplier.hpp> #include <com/sun/star/beans/NamedValue.hpp> diff --git a/sw/source/ui/vba/vbafield.cxx b/sw/source/ui/vba/vbafield.cxx index d58d267d655e..01f0d1541b00 100644 --- a/sw/source/ui/vba/vbafield.cxx +++ b/sw/source/ui/vba/vbafield.cxx @@ -29,6 +29,7 @@ #include <swtypes.hxx> #include <basic/sberrors.hxx> #include <cppuhelper/implbase.hxx> +#include <sal/log.hxx> using namespace ::ooo::vba; using namespace ::com::sun::star; diff --git a/sw/source/ui/vba/vbaglobals.cxx b/sw/source/ui/vba/vbaglobals.cxx index 79954a706f86..40e95e467dbe 100644 --- a/sw/source/ui/vba/vbaglobals.cxx +++ b/sw/source/ui/vba/vbaglobals.cxx @@ -20,6 +20,7 @@ #include "service.hxx" #include "vbaglobals.hxx" #include <sal/macros.h> +#include <sal/log.hxx> #include <com/sun/star/lang/XMultiComponentFactory.hpp> #include <com/sun/star/beans/PropertyValue.hpp> diff --git a/sw/source/ui/vba/vbalisthelper.cxx b/sw/source/ui/vba/vbalisthelper.cxx index cc14183fc813..0fed4ca41936 100644 --- a/sw/source/ui/vba/vbalisthelper.cxx +++ b/sw/source/ui/vba/vbalisthelper.cxx @@ -18,6 +18,7 @@ */ #include "vbalisthelper.hxx" #include <tools/diagnose_ex.h> +#include <sal/log.hxx> #include <ooo/vba/word/WdListGalleryType.hpp> #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/lang/XMultiServiceFactory.hpp> diff --git a/sw/source/ui/vba/vbarevision.cxx b/sw/source/ui/vba/vbarevision.cxx index 556a65bd18f7..a82c5a5f59db 100644 --- a/sw/source/ui/vba/vbarevision.cxx +++ b/sw/source/ui/vba/vbarevision.cxx @@ -19,6 +19,7 @@ #include "vbarevision.hxx" #include <vbahelper/vbahelper.hxx> #include <tools/diagnose_ex.h> +#include <sal/log.hxx> #include <com/sun/star/document/XRedlinesSupplier.hpp> #include "wordvbahelper.hxx" #include <docsh.hxx> diff --git a/sw/source/ui/vba/vbastyles.cxx b/sw/source/ui/vba/vbastyles.cxx index 5dddfd9c7bdf..06ea4d159375 100644 --- a/sw/source/ui/vba/vbastyles.cxx +++ b/sw/source/ui/vba/vbastyles.cxx @@ -20,6 +20,7 @@ #include "vbastyle.hxx" #include <basic/sberrors.hxx> #include <cppuhelper/implbase.hxx> +#include <sal/log.hxx> #include <com/sun/star/container/XEnumerationAccess.hpp> #include <com/sun/star/lang/IndexOutOfBoundsException.hpp> #include <com/sun/star/style/XStyleFamiliesSupplier.hpp> |