diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2023-04-17 13:41:36 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2023-04-17 19:01:11 +0200 |
commit | 3a759a0b0c9605732c95dfac6a3315ed48ec1076 (patch) | |
tree | 73398b02e6771c3daab9f2e69fd581dba568ebf5 /sw | |
parent | 8daa8eef06fa485f5271503921585a3fbef26567 (diff) |
Remove some unused includes
Mostly com/sun/star/frame/Desktop.hpp is unused after inheriting from
UnoApiTest.
Change-Id: I71b75fa5c880337ff294583b96af09c90b5059c9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150514
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'sw')
-rw-r--r-- | sw/qa/core/doc/doc.cxx | 3 | ||||
-rw-r--r-- | sw/qa/core/fields/fields.cxx | 1 | ||||
-rw-r--r-- | sw/qa/core/layout/layout.cxx | 1 | ||||
-rw-r--r-- | sw/qa/core/undo/undo.cxx | 4 | ||||
-rw-r--r-- | sw/qa/extras/rtfimport/rtfimport.cxx | 1 | ||||
-rw-r--r-- | sw/qa/extras/uiwriter/uiwriter2.cxx | 1 | ||||
-rw-r--r-- | sw/qa/extras/uiwriter/uiwriter8.cxx | 1 | ||||
-rw-r--r-- | sw/qa/uibase/shells/shells.cxx | 1 | ||||
-rw-r--r-- | sw/source/core/unocore/unocontentcontrol.cxx | 1 | ||||
-rw-r--r-- | sw/source/core/unocore/unolinebreak.cxx | 1 | ||||
-rw-r--r-- | sw/source/filter/ww8/rtfattributeoutput.cxx | 1 |
11 files changed, 0 insertions, 16 deletions
diff --git a/sw/qa/core/doc/doc.cxx b/sw/qa/core/doc/doc.cxx index d827221f2717..1597302a5f64 100644 --- a/sw/qa/core/doc/doc.cxx +++ b/sw/qa/core/doc/doc.cxx @@ -18,8 +18,6 @@ #include <vcl/errinf.hxx> #include <vcl/event.hxx> #include <editeng/langitem.hxx> -#include <sfx2/viewfrm.hxx> -#include <sfx2/dispatch.hxx> #include <vcl/scheduler.hxx> #include <comphelper/propertyvalue.hxx> @@ -31,7 +29,6 @@ #include <view.hxx> #include <ndtxt.hxx> #include <swdtflvr.hxx> -#include <cmdid.h> #include <unotxdoc.hxx> #include <UndoManager.hxx> #include <IDocumentRedlineAccess.hxx> diff --git a/sw/qa/core/fields/fields.cxx b/sw/qa/core/fields/fields.cxx index 7282d2027088..f2fdd808734f 100644 --- a/sw/qa/core/fields/fields.cxx +++ b/sw/qa/core/fields/fields.cxx @@ -19,7 +19,6 @@ #include <docsh.hxx> #include <rootfrm.hxx> #include <wrtsh.hxx> -#include <ndtxt.hxx> namespace { diff --git a/sw/qa/core/layout/layout.cxx b/sw/qa/core/layout/layout.cxx index f8878ef77bb4..4399c01a0074 100644 --- a/sw/qa/core/layout/layout.cxx +++ b/sw/qa/core/layout/layout.cxx @@ -29,7 +29,6 @@ #include <itabenum.hxx> #include <fmtanchr.hxx> #include <fmtsrnd.hxx> -#include <IDocumentContentOperations.hxx> #include <IDocumentSettingAccess.hxx> #include <fmtfsize.hxx> #include <fmtfollowtextflow.hxx> diff --git a/sw/qa/core/undo/undo.cxx b/sw/qa/core/undo/undo.cxx index cefe4e4051dd..21543416dae8 100644 --- a/sw/qa/core/undo/undo.cxx +++ b/sw/qa/core/undo/undo.cxx @@ -10,8 +10,6 @@ #include <swmodeltestbase.hxx> #include <unotools/mediadescriptor.hxx> -#include <sfx2/viewfrm.hxx> -#include <sfx2/dispatch.hxx> #include <unotxdoc.hxx> #include <docsh.hxx> @@ -19,8 +17,6 @@ #include <swdtflvr.hxx> #include <frameformats.hxx> #include <fmtcntnt.hxx> -#include <view.hxx> -#include <cmdid.h> /// Covers sw/source/core/undo/ fixes. class SwCoreUndoTest : public SwModelTestBase diff --git a/sw/qa/extras/rtfimport/rtfimport.cxx b/sw/qa/extras/rtfimport/rtfimport.cxx index 05bfaf66d6f7..40e31e2695f4 100644 --- a/sw/qa/extras/rtfimport/rtfimport.cxx +++ b/sw/qa/extras/rtfimport/rtfimport.cxx @@ -45,7 +45,6 @@ #include <com/sun/star/drawing/XShapes.hpp> #include <com/sun/star/text/XTextDocument.hpp> #include <com/sun/star/text/XTextSectionsSupplier.hpp> -#include <com/sun/star/beans/NamedValue.hpp> #include <com/sun/star/beans/XPropertyState.hpp> #include <com/sun/star/document/XDocumentInsertable.hpp> diff --git a/sw/qa/extras/uiwriter/uiwriter2.cxx b/sw/qa/extras/uiwriter/uiwriter2.cxx index 3f86b5b69f71..492de89912bc 100644 --- a/sw/qa/extras/uiwriter/uiwriter2.cxx +++ b/sw/qa/extras/uiwriter/uiwriter2.cxx @@ -19,7 +19,6 @@ #include <vcl/settings.hxx> #include <vcl/filter/PDFiumLibrary.hxx> #include <ndtxt.hxx> -#include <swdtflvr.hxx> #include <wrtsh.hxx> #include <IDocumentRedlineAccess.hxx> #include <flyfrm.hxx> diff --git a/sw/qa/extras/uiwriter/uiwriter8.cxx b/sw/qa/extras/uiwriter/uiwriter8.cxx index af839114f9b3..d6816c67eef4 100644 --- a/sw/qa/extras/uiwriter/uiwriter8.cxx +++ b/sw/qa/extras/uiwriter/uiwriter8.cxx @@ -21,7 +21,6 @@ #include <comphelper/propertysequence.hxx> #include <boost/property_tree/json_parser.hpp> #include <frameformats.hxx> -#include <swdtflvr.hxx> #include <tools/json_writer.hxx> #include <unotools/streamwrap.hxx> #include <sfx2/linkmgr.hxx> diff --git a/sw/qa/uibase/shells/shells.cxx b/sw/qa/uibase/shells/shells.cxx index 8f67e6821da3..68118fb760b8 100644 --- a/sw/qa/uibase/shells/shells.cxx +++ b/sw/qa/uibase/shells/shells.cxx @@ -16,7 +16,6 @@ #include <sfx2/dispatch.hxx> #include <sfx2/viewfrm.hxx> -#include <vcl/GraphicObject.hxx> #include <svx/svdpage.hxx> #include <editeng/eeitem.hxx> #include <editeng/adjustitem.hxx> diff --git a/sw/source/core/unocore/unocontentcontrol.cxx b/sw/source/core/unocore/unocontentcontrol.cxx index 12fd86341603..256c39eab526 100644 --- a/sw/source/core/unocore/unocontentcontrol.cxx +++ b/sw/source/core/unocore/unocontentcontrol.cxx @@ -25,7 +25,6 @@ #include <com/sun/star/lang/IndexOutOfBoundsException.hpp> #include <comphelper/interfacecontainer4.hxx> -#include <comphelper/servicehelper.hxx> #include <cppuhelper/supportsservice.hxx> #include <formatcontentcontrol.hxx> diff --git a/sw/source/core/unocore/unolinebreak.cxx b/sw/source/core/unocore/unolinebreak.cxx index 156af6f7ca88..4ad4f756bf03 100644 --- a/sw/source/core/unocore/unolinebreak.cxx +++ b/sw/source/core/unocore/unolinebreak.cxx @@ -20,7 +20,6 @@ #include <unolinebreak.hxx> #include <cppuhelper/supportsservice.hxx> -#include <comphelper/servicehelper.hxx> #include <sal/log.hxx> #include <svl/listener.hxx> #include <svl/itemprop.hxx> diff --git a/sw/source/filter/ww8/rtfattributeoutput.cxx b/sw/source/filter/ww8/rtfattributeoutput.cxx index 53ba6418a904..4e5a583264dd 100644 --- a/sw/source/filter/ww8/rtfattributeoutput.cxx +++ b/sw/source/filter/ww8/rtfattributeoutput.cxx @@ -85,7 +85,6 @@ #include <lineinfo.hxx> #include <redline.hxx> #include <rtf.hxx> -#include <IDocumentSettingAccess.hxx> #include <vcl/cvtgrf.hxx> #include <oox/mathml/imexport.hxx> #include <com/sun/star/i18n/ScriptType.hpp> |