sd/qa/unit/SVGExportTests.cxx                 |    4 ----
 sd/qa/unit/SdrPdfImportTest.cxx               |    3 ---
 sd/qa/unit/export-tests-ooxml1.cxx            |    2 --
 sd/qa/unit/export-tests-ooxml3.cxx            |    1 -
 sd/qa/unit/export-tests.cxx                   |    5 +----
 sd/qa/unit/import-tests.cxx                   |    2 --
 sd/qa/unit/import-tests2.cxx                  |    2 --
 sd/qa/unit/misc-tests.cxx                     |    9 ---------
 sd/qa/unit/tiledrendering/LOKitSearchTest.cxx |    3 ---
 sd/qa/unit/tiledrendering/tiledrendering.cxx  |    3 ---
 sd/qa/unit/uiimpress.cxx                      |    3 ---
 11 files changed, 1 insertion(+), 36 deletions(-)

New commits:
commit 93651bd3a20f7f4174b1324c8a6b6b33450ead81
Author:     Xisco Fauli <xiscofa...@libreoffice.org>
AuthorDate: Tue Nov 29 13:30:32 2022 +0100
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Tue Nov 29 14:34:31 2022 +0100

    sd: remove unused includes
    
    Change-Id: Iecf41f8b09c9b0e5d411af6a4fdf84a1288e4043
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143464
    Tested-by: Jenkins
    Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org>

diff --git a/sd/qa/unit/SVGExportTests.cxx b/sd/qa/unit/SVGExportTests.cxx
index f1c3a8dfc135..a8d64e828a67 100644
--- a/sd/qa/unit/SVGExportTests.cxx
+++ b/sd/qa/unit/SVGExportTests.cxx
@@ -13,10 +13,6 @@
 #include <test/unoapixml_test.hxx>
 
 #include <sal/macros.h>
-#include <unotools/mediadescriptor.hxx>
-#include <com/sun/star/frame/XStorable.hpp>
-#include <com/sun/star/frame/Desktop.hpp>
-#include <comphelper/processfactory.hxx>
 #include <unotools/syslocaleoptions.hxx>
 #include <vcl/svapp.hxx>
 #include <vcl/settings.hxx>
diff --git a/sd/qa/unit/SdrPdfImportTest.cxx b/sd/qa/unit/SdrPdfImportTest.cxx
index 631dcdde3374..87225f66eac2 100644
--- a/sd/qa/unit/SdrPdfImportTest.cxx
+++ b/sd/qa/unit/SdrPdfImportTest.cxx
@@ -14,7 +14,6 @@
 
 #include <unotools/tempfile.hxx>
 #include <unotools/mediadescriptor.hxx>
-#include <tools/stream.hxx>
 #include <svx/svdograf.hxx>
 #include <editeng/outlobj.hxx>
 #include <editeng/editobj.hxx>
@@ -26,8 +25,6 @@
 #include <sdpage.hxx>
 #include <unomodel.hxx>
 
-#include <com/sun/star/frame/Desktop.hpp>
-
 using namespace css;
 
 namespace
diff --git a/sd/qa/unit/export-tests-ooxml1.cxx 
b/sd/qa/unit/export-tests-ooxml1.cxx
index 3345ca9aac68..d61d0c0991d4 100644
--- a/sd/qa/unit/export-tests-ooxml1.cxx
+++ b/sd/qa/unit/export-tests-ooxml1.cxx
@@ -28,10 +28,8 @@
 #include <svx/xlineit0.hxx>
 #include <svx/sdooitm.hxx>
 #include <svx/sdmetitm.hxx>
-#include <unotools/mediadescriptor.hxx>
 
 #include <com/sun/star/awt/FontDescriptor.hpp>
-#include <com/sun/star/frame/XStorable.hpp>
 #include <com/sun/star/drawing/FillStyle.hpp>
 #include <com/sun/star/drawing/LineDash.hpp>
 #include <com/sun/star/text/WritingMode2.hpp>
diff --git a/sd/qa/unit/export-tests-ooxml3.cxx 
b/sd/qa/unit/export-tests-ooxml3.cxx
index c58b40b02b78..2e6a600ec686 100644
--- a/sd/qa/unit/export-tests-ooxml3.cxx
+++ b/sd/qa/unit/export-tests-ooxml3.cxx
@@ -26,7 +26,6 @@
 #include <com/sun/star/drawing/EnhancedCustomShapeAdjustmentValue.hpp>
 #include <com/sun/star/drawing/EnhancedCustomShapeParameterPair.hpp>
 #include <com/sun/star/drawing/FillStyle.hpp>
-#include <com/sun/star/frame/XLoadable.hpp>
 #include <com/sun/star/lang/Locale.hpp>
 #include <com/sun/star/text/GraphicCrop.hpp>
 #include <com/sun/star/text/WritingMode2.hpp>
diff --git a/sd/qa/unit/export-tests.cxx b/sd/qa/unit/export-tests.cxx
index 656a69bb41b0..9b5c73bd43f3 100644
--- a/sd/qa/unit/export-tests.cxx
+++ b/sd/qa/unit/export-tests.cxx
@@ -9,12 +9,11 @@
 
 #include <sal/config.h>
 
-#include <string_view>
-
 #include <officecfg/Office/Common.hxx>
 #include "sdmodeltestbase.hxx"
 #include <sdpage.hxx>
 
+#include <comphelper/sequenceashashmap.hxx>
 #include <editeng/editobj.hxx>
 #include <editeng/outlobj.hxx>
 #include <editeng/colritem.hxx>
@@ -23,7 +22,6 @@
 #include <svx/svdotext.hxx>
 #include <svx/svdograf.hxx>
 #include <svx/svdomedia.hxx>
-#include <unotools/mediadescriptor.hxx>
 #include <rtl/ustring.hxx>
 
 #include <com/sun/star/drawing/BitmapMode.hpp>
@@ -36,7 +34,6 @@
 #include <com/sun/star/awt/XBitmap.hpp>
 #include <com/sun/star/graphic/XGraphic.hpp>
 #include <com/sun/star/graphic/GraphicType.hpp>
-#include <com/sun/star/frame/XStorable.hpp>
 #include <com/sun/star/style/XStyleFamiliesSupplier.hpp>
 #include <com/sun/star/table/BorderLine2.hpp>
 #include <com/sun/star/text/WritingMode2.hpp>
diff --git a/sd/qa/unit/import-tests.cxx b/sd/qa/unit/import-tests.cxx
index ba05f2a589cd..3f3aafcbe0e8 100644
--- a/sd/qa/unit/import-tests.cxx
+++ b/sd/qa/unit/import-tests.cxx
@@ -49,7 +49,6 @@
 #include <com/sun/star/table/BorderLine2.hpp>
 #include <com/sun/star/style/ParagraphAdjust.hpp>
 #include <com/sun/star/style/XStyleFamiliesSupplier.hpp>
-#include <com/sun/star/frame/Desktop.hpp>
 #include <com/sun/star/presentation/XCustomPresentationSupplier.hpp>
 #include <com/sun/star/drawing/EnhancedCustomShapeParameterPair.hpp>
 #include <com/sun/star/drawing/ConnectorType.hpp>
@@ -61,7 +60,6 @@
 #include <comphelper/lok.hxx>
 #include <svx/svdograf.hxx>
 #include <vcl/filter/PDFiumLibrary.hxx>
-#include <filter/msfilter/escherex.hxx>
 
 using namespace ::com::sun::star;
 
diff --git a/sd/qa/unit/import-tests2.cxx b/sd/qa/unit/import-tests2.cxx
index ad573c3fc8ef..43ea5583a579 100644
--- a/sd/qa/unit/import-tests2.cxx
+++ b/sd/qa/unit/import-tests2.cxx
@@ -20,7 +20,6 @@
 #include <svx/xfillit0.hxx>
 #include <svx/xfilluseslidebackgrounditem.hxx>
 #include <svx/xflclit.hxx>
-#include <svx/xflbckit.hxx>
 #include <svx/xlineit0.hxx>
 #include <svx/xlnclit.hxx>
 #include <svx/sdooitm.hxx>
@@ -48,7 +47,6 @@
 #include <com/sun/star/style/ParagraphAdjust.hpp>
 #include <com/sun/star/style/LineSpacing.hpp>
 #include <com/sun/star/style/LineSpacingMode.hpp>
-#include <com/sun/star/frame/Desktop.hpp>
 #include <com/sun/star/text/GraphicCrop.hpp>
 #include <com/sun/star/text/WritingMode2.hpp>
 #include <com/sun/star/text/XTextColumns.hpp>
diff --git a/sd/qa/unit/misc-tests.cxx b/sd/qa/unit/misc-tests.cxx
index 6aefd4ba7d38..bc741c6ac2fe 100644
--- a/sd/qa/unit/misc-tests.cxx
+++ b/sd/qa/unit/misc-tests.cxx
@@ -13,12 +13,7 @@
 
 #include <com/sun/star/uno/Reference.hxx>
 
-#include <comphelper/processfactory.hxx>
-#include <com/sun/star/frame/Desktop.hpp>
-#include <com/sun/star/frame/XModel2.hpp>
-
 #include <com/sun/star/awt/Gradient.hpp>
-#include <com/sun/star/awt/PosSize.hpp>
 #include <com/sun/star/drawing/FillStyle.hpp>
 #include <com/sun/star/drawing/TextVerticalAdjust.hpp>
 #include <com/sun/star/drawing/XDrawPagesSupplier.hpp>
@@ -27,14 +22,12 @@
 #include <com/sun/star/drawing/XShapes.hpp>
 #include <com/sun/star/graphic/XGraphic.hpp>
 #include <com/sun/star/container/XIndexAccess.hpp>
-#include <com/sun/star/frame/XLoadable.hpp>
 #include <com/sun/star/table/XTable.hpp>
 #include <com/sun/star/table/XMergeableCellRange.hpp>
 
 #include <DrawDocShell.hxx>
 #include <drawdoc.hxx>
 #include <vcl/scheduler.hxx>
-#include <osl/thread.hxx>
 #include <svx/sdr/table/tablecontroller.hxx>
 #include <sfx2/request.hxx>
 #include <svx/svdpagv.hxx>
@@ -45,7 +38,6 @@
 #include <editeng/editobj.hxx>
 #include <undo/undomanager.hxx>
 #include <GraphicViewShell.hxx>
-#include <chrono>
 #include <sdpage.hxx>
 #include <comphelper/base64.hxx>
 #include <LayerTabBar.hxx>
@@ -57,7 +49,6 @@
 #include <svx/scene3d.hxx>
 #include <svx/sdmetitm.hxx>
 #include <unomodel.hxx>
-#include <unotools/fcm.hxx>
 
 using namespace ::com::sun::star;
 
diff --git a/sd/qa/unit/tiledrendering/LOKitSearchTest.cxx 
b/sd/qa/unit/tiledrendering/LOKitSearchTest.cxx
index 3d6d74d6702b..5e578218c659 100644
--- a/sd/qa/unit/tiledrendering/LOKitSearchTest.cxx
+++ b/sd/qa/unit/tiledrendering/LOKitSearchTest.cxx
@@ -13,7 +13,6 @@
 #include <test/helper/transferable.hxx>
 
 #include <comphelper/dispatchcommand.hxx>
-#include <comphelper/processfactory.hxx>
 #include <comphelper/propertysequence.hxx>
 #include <comphelper/lok.hxx>
 #include <svl/srchitem.hxx>
@@ -28,8 +27,6 @@
 #include <svx/svdograf.hxx>
 #include <vcl/filter/PDFiumLibrary.hxx>
 
-#include <com/sun/star/frame/Desktop.hpp>
-
 using namespace css;
 
 class LOKitSearchTest : public UnoApiTest
diff --git a/sd/qa/unit/tiledrendering/tiledrendering.cxx 
b/sd/qa/unit/tiledrendering/tiledrendering.cxx
index c1a8890cf5a4..36ead01c3fb4 100644
--- a/sd/qa/unit/tiledrendering/tiledrendering.cxx
+++ b/sd/qa/unit/tiledrendering/tiledrendering.cxx
@@ -10,15 +10,12 @@
 #include <test/unoapixml_test.hxx>
 
 #include <app.hrc>
-#include <test/bootstrapfixture.hxx>
 #include <test/helper/transferable.hxx>
 #include <boost/property_tree/json_parser.hpp>
 #include <LibreOfficeKit/LibreOfficeKitEnums.h>
 #include <sal/log.hxx>
 #include <sfx2/lokhelper.hxx>
-#include <com/sun/star/frame/Desktop.hpp>
 #include <comphelper/dispatchcommand.hxx>
-#include <comphelper/processfactory.hxx>
 #include <comphelper/propertysequence.hxx>
 #include <comphelper/propertyvalue.hxx>
 #include <comphelper/string.hxx>
diff --git a/sd/qa/unit/uiimpress.cxx b/sd/qa/unit/uiimpress.cxx
index e5c3c9d3ccd8..32ea8642e2ed 100644
--- a/sd/qa/unit/uiimpress.cxx
+++ b/sd/qa/unit/uiimpress.cxx
@@ -12,19 +12,16 @@
 #include <LibreOfficeKit/LibreOfficeKitEnums.h>
 
 #include <com/sun/star/beans/XPropertySet.hpp>
-#include <com/sun/star/frame/Desktop.hpp>
 #include <com/sun/star/uno/Reference.hxx>
 #include <com/sun/star/drawing/FillStyle.hpp>
 #include <com/sun/star/drawing/XDrawView.hpp>
 #include <com/sun/star/drawing/XDrawPage.hpp>
 #include <com/sun/star/drawing/XMasterPageTarget.hpp>
-#include <com/sun/star/frame/DispatchHelper.hpp>
 #include <com/sun/star/table/XMergeableCell.hpp>
 #include <com/sun/star/text/WritingMode2.hpp>
 #include <com/sun/star/view/XSelectionSupplier.hpp>
 
 #include <comphelper/dispatchcommand.hxx>
-#include <comphelper/processfactory.hxx>
 #include <comphelper/propertysequence.hxx>
 #include <sfx2/dispatch.hxx>
 #include <sfx2/request.hxx>

Reply via email to