summaryrefslogtreecommitdiff
path: root/sw/source/ui
diff options
context:
space:
mode:
authorGabor Kelemen <kelemen.gabor2@nisz.hu>2020-11-19 20:11:29 +0100
committerMiklos Vajna <vmiklos@collabora.com>2020-11-24 15:45:27 +0100
commitfe88ffb661053f8fff9bd77affdf4de820c43ca8 (patch)
treedde9201a1a7e3d67cf6fe1b45296e57e89d60d1a /sw/source/ui
parent7c0fcb016718b25981903ad2b979e186638a6031 (diff)
tdf#42949 Fix new IWYU warnings in directory sw
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: I4bb84c3f401aba8a3dede9cec3a7f2187a2ba02a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106473 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sw/source/ui')
-rw-r--r--sw/source/ui/dbui/dbtablepreviewdialog.cxx2
-rw-r--r--sw/source/ui/dbui/mmlayoutpage.cxx1
-rw-r--r--sw/source/ui/dialog/swdlgfact.hxx2
-rw-r--r--sw/source/ui/dialog/wordcountdialog.cxx1
-rw-r--r--sw/source/ui/envelp/envfmt.cxx1
-rw-r--r--sw/source/ui/inc/mmresultdialogs.hxx1
-rw-r--r--sw/source/ui/vba/vbaaddin.cxx1
-rw-r--r--sw/source/ui/vba/vbabookmark.cxx1
-rw-r--r--sw/source/ui/vba/vbacell.cxx1
-rw-r--r--sw/source/ui/vba/vbafind.cxx1
-rw-r--r--sw/source/ui/vba/vbaframe.cxx1
-rw-r--r--sw/source/ui/vba/vbaheaderfooter.cxx1
-rw-r--r--sw/source/ui/vba/vbalistgallery.cxx1
-rw-r--r--sw/source/ui/vba/vbalisttemplate.cxx1
-rw-r--r--sw/source/ui/vba/vbaparagraph.cxx1
-rw-r--r--sw/source/ui/vba/vbareplacement.cxx1
-rw-r--r--sw/source/ui/vba/vbarevision.cxx1
-rw-r--r--sw/source/ui/vba/vbatableofcontents.cxx1
-rw-r--r--sw/source/ui/vba/vbatabstop.cxx1
-rw-r--r--sw/source/ui/vba/vbavariable.cxx1
20 files changed, 1 insertions, 21 deletions
diff --git a/sw/source/ui/dbui/dbtablepreviewdialog.cxx b/sw/source/ui/dbui/dbtablepreviewdialog.cxx
index b8c755d83e46..3bbfa989f7f7 100644
--- a/sw/source/ui/dbui/dbtablepreviewdialog.cxx
+++ b/sw/source/ui/dbui/dbtablepreviewdialog.cxx
@@ -20,7 +20,7 @@
#include "dbtablepreviewdialog.hxx"
#include <comphelper/processfactory.hxx>
#include <cppuhelper/implbase.hxx>
-#include <com/sun/star/document/XEventListener.hpp>
+#include <com/sun/star/lang/XEventListener.hpp>
#include <com/sun/star/frame/Frame.hpp>
using namespace ::com::sun::star;
diff --git a/sw/source/ui/dbui/mmlayoutpage.cxx b/sw/source/ui/dbui/mmlayoutpage.cxx
index 2793ddfe0a28..b31025719351 100644
--- a/sw/source/ui/dbui/mmlayoutpage.cxx
+++ b/sw/source/ui/dbui/mmlayoutpage.cxx
@@ -49,7 +49,6 @@
#include <osl/file.hxx>
#include <vcl/settings.hxx>
#include <unoprnms.hxx>
-#include <iodetect.hxx>
#include <dbui.hrc>
diff --git a/sw/source/ui/dialog/swdlgfact.hxx b/sw/source/ui/dialog/swdlgfact.hxx
index 4d334f9d61cf..65870505bda5 100644
--- a/sw/source/ui/dialog/swdlgfact.hxx
+++ b/sw/source/ui/dialog/swdlgfact.hxx
@@ -23,7 +23,6 @@
#include <abstract.hxx>
#include <ascfldlg.hxx>
-#include <break.hxx>
#include <cnttab.hxx>
#include <colwd.hxx>
#include <convert.hxx>
@@ -35,7 +34,6 @@
#include <glossary.hxx>
#include <inpdlg.hxx>
#include <insfnote.hxx>
-#include <instable.hxx>
#include <javaedit.hxx>
#include <label.hxx>
#include <mailmergewizard.hxx>
diff --git a/sw/source/ui/dialog/wordcountdialog.cxx b/sw/source/ui/dialog/wordcountdialog.cxx
index e7b739ac9a2a..9052c6c4ae61 100644
--- a/sw/source/ui/dialog/wordcountdialog.cxx
+++ b/sw/source/ui/dialog/wordcountdialog.cxx
@@ -31,7 +31,6 @@
#include <vcl/settings.hxx>
#include <vcl/svapp.hxx>
#include <comphelper/lok.hxx>
-#include <sfx2/lokhelper.hxx>
#define IS_MOBILE_PHONE (comphelper::LibreOfficeKit::isActive() && SfxViewShell::Current() && SfxViewShell::Current()->isLOKMobilePhone())
diff --git a/sw/source/ui/envelp/envfmt.cxx b/sw/source/ui/envelp/envfmt.cxx
index d691c96fc892..a8dd562debfa 100644
--- a/sw/source/ui/envelp/envfmt.cxx
+++ b/sw/source/ui/envelp/envfmt.cxx
@@ -22,7 +22,6 @@
#include <editeng/paperinf.hxx>
#include <editeng/tstpitem.hxx>
#include <editeng/lrspitem.hxx>
-#include <editeng/brushitem.hxx>
#include <svtools/unitconv.hxx>
#include <cmdid.h>
diff --git a/sw/source/ui/inc/mmresultdialogs.hxx b/sw/source/ui/inc/mmresultdialogs.hxx
index 8c28383f7345..1e78fc80203f 100644
--- a/sw/source/ui/inc/mmresultdialogs.hxx
+++ b/sw/source/ui/inc/mmresultdialogs.hxx
@@ -19,7 +19,6 @@
#ifndef INCLUDED_SW_SOURCE_UI_DBUI_MMOUTPUTPAGE_HXX
#define INCLUDED_SW_SOURCE_UI_DBUI_MMOUTPUTPAGE_HXX
-#include <vcl/wizardmachine.hxx>
#include <vcl/weld.hxx>
#include <vcl/print.hxx>
#include <sfx2/basedlgs.hxx>
diff --git a/sw/source/ui/vba/vbaaddin.cxx b/sw/source/ui/vba/vbaaddin.cxx
index b3a424d6a01b..226ecfe2f149 100644
--- a/sw/source/ui/vba/vbaaddin.cxx
+++ b/sw/source/ui/vba/vbaaddin.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include "vbaaddin.hxx"
-#include <vbahelper/vbahelper.hxx>
#include <tools/urlobj.hxx>
#include <osl/file.hxx>
diff --git a/sw/source/ui/vba/vbabookmark.cxx b/sw/source/ui/vba/vbabookmark.cxx
index 6c156973058c..4ba7030c13c6 100644
--- a/sw/source/ui/vba/vbabookmark.cxx
+++ b/sw/source/ui/vba/vbabookmark.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include "vbabookmark.hxx"
-#include <vbahelper/vbahelper.hxx>
#include <com/sun/star/text/XBookmarksSupplier.hpp>
#include <com/sun/star/text/XTextDocument.hpp>
#include <com/sun/star/text/XTextContent.hpp>
diff --git a/sw/source/ui/vba/vbacell.cxx b/sw/source/ui/vba/vbacell.cxx
index e4a573b2c72a..6b9c248caf15 100644
--- a/sw/source/ui/vba/vbacell.cxx
+++ b/sw/source/ui/vba/vbacell.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include "vbacell.hxx"
-#include <vbahelper/vbahelper.hxx>
#include "vbatablehelper.hxx"
#include "vbarow.hxx"
diff --git a/sw/source/ui/vba/vbafind.cxx b/sw/source/ui/vba/vbafind.cxx
index bb8f457fdafb..dcc7be4f4ce1 100644
--- a/sw/source/ui/vba/vbafind.cxx
+++ b/sw/source/ui/vba/vbafind.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include "vbafind.hxx"
-#include <vbahelper/vbahelper.hxx>
#include "vbareplacement.hxx"
#include <ooo/vba/word/WdFindWrap.hpp>
#include <ooo/vba/word/WdReplace.hpp>
diff --git a/sw/source/ui/vba/vbaframe.cxx b/sw/source/ui/vba/vbaframe.cxx
index 4aec19444be9..a149ab9c07e1 100644
--- a/sw/source/ui/vba/vbaframe.cxx
+++ b/sw/source/ui/vba/vbaframe.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include "vbaframe.hxx"
-#include <vbahelper/vbahelper.hxx>
#include <com/sun/star/frame/XModel.hpp>
#include <com/sun/star/view/XSelectionSupplier.hpp>
diff --git a/sw/source/ui/vba/vbaheaderfooter.cxx b/sw/source/ui/vba/vbaheaderfooter.cxx
index 9a9df62acaa8..3382d3155e49 100644
--- a/sw/source/ui/vba/vbaheaderfooter.cxx
+++ b/sw/source/ui/vba/vbaheaderfooter.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include "vbaheaderfooter.hxx"
-#include <vbahelper/vbahelper.hxx>
#include <ooo/vba/word/WdHeaderFooterIndex.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/text/XText.hpp>
diff --git a/sw/source/ui/vba/vbalistgallery.cxx b/sw/source/ui/vba/vbalistgallery.cxx
index d07e96c4e55e..d7f41e88160f 100644
--- a/sw/source/ui/vba/vbalistgallery.cxx
+++ b/sw/source/ui/vba/vbalistgallery.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include "vbalistgallery.hxx"
-#include <vbahelper/vbahelper.hxx>
#include "vbalisttemplates.hxx"
using namespace ::ooo::vba;
diff --git a/sw/source/ui/vba/vbalisttemplate.cxx b/sw/source/ui/vba/vbalisttemplate.cxx
index 43f3ac1294aa..cffea7728051 100644
--- a/sw/source/ui/vba/vbalisttemplate.cxx
+++ b/sw/source/ui/vba/vbalisttemplate.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include "vbalisttemplate.hxx"
-#include <vbahelper/vbahelper.hxx>
#include "vbalistlevels.hxx"
#include <com/sun/star/beans/XPropertySet.hpp>
diff --git a/sw/source/ui/vba/vbaparagraph.cxx b/sw/source/ui/vba/vbaparagraph.cxx
index 30ad4fd51f1f..5d0363e924ce 100644
--- a/sw/source/ui/vba/vbaparagraph.cxx
+++ b/sw/source/ui/vba/vbaparagraph.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include "vbaparagraph.hxx"
-#include <vbahelper/vbahelper.hxx>
#include "vbarange.hxx"
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <cppuhelper/implbase.hxx>
diff --git a/sw/source/ui/vba/vbareplacement.cxx b/sw/source/ui/vba/vbareplacement.cxx
index 6aab38b59e0e..693a20c6ad91 100644
--- a/sw/source/ui/vba/vbareplacement.cxx
+++ b/sw/source/ui/vba/vbareplacement.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include "vbareplacement.hxx"
-#include <vbahelper/vbahelper.hxx>
using namespace ::ooo::vba;
using namespace ::com::sun::star;
diff --git a/sw/source/ui/vba/vbarevision.cxx b/sw/source/ui/vba/vbarevision.cxx
index d0439a8b3bb9..ee1f4412dc97 100644
--- a/sw/source/ui/vba/vbarevision.cxx
+++ b/sw/source/ui/vba/vbarevision.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include "vbarevision.hxx"
-#include <vbahelper/vbahelper.hxx>
#include <sal/log.hxx>
#include <com/sun/star/document/XRedlinesSupplier.hpp>
#include <com/sun/star/container/XIndexAccess.hpp>
diff --git a/sw/source/ui/vba/vbatableofcontents.cxx b/sw/source/ui/vba/vbatableofcontents.cxx
index 2afceac20e3a..8c5fa066abe5 100644
--- a/sw/source/ui/vba/vbatableofcontents.cxx
+++ b/sw/source/ui/vba/vbatableofcontents.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include "vbatableofcontents.hxx"
-#include <vbahelper/vbahelper.hxx>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <ooo/vba/word/WdTabLeader.hpp>
diff --git a/sw/source/ui/vba/vbatabstop.cxx b/sw/source/ui/vba/vbatabstop.cxx
index 44574bab0a39..8ebfdfa421a2 100644
--- a/sw/source/ui/vba/vbatabstop.cxx
+++ b/sw/source/ui/vba/vbatabstop.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include "vbatabstop.hxx"
-#include <vbahelper/vbahelper.hxx>
using namespace ::ooo::vba;
using namespace ::com::sun::star;
diff --git a/sw/source/ui/vba/vbavariable.cxx b/sw/source/ui/vba/vbavariable.cxx
index c2dd26dbd110..525225c675b3 100644
--- a/sw/source/ui/vba/vbavariable.cxx
+++ b/sw/source/ui/vba/vbavariable.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include "vbavariable.hxx"
-#include <vbahelper/vbahelper.hxx>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/beans/PropertyValue.hpp>