summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2022-12-01 15:50:22 +0100
committerXisco Fauli <xiscofauli@libreoffice.org>2022-12-01 21:27:48 +0100
commit88397d5cce34bf24fdb90f60befcc48dd4616187 (patch)
tree98e21d6b8b14a0d4b90c72a4b1896c096e2cd54e /sc
parent64ad923652a11dc68a93f41044df9719c15dec86 (diff)
sc: remove unused includes
Change-Id: I1c108815d3f4e2de51edfd799f8c1e710fe7b1a8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143532 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'sc')
-rw-r--r--sc/IwyuFilter_sc.yaml9
-rw-r--r--sc/qa/unit/bugfix-test.cxx3
-rw-r--r--sc/qa/unit/chart2dataprovider.cxx1
-rw-r--r--sc/qa/unit/dataproviders_test.cxx1
-rw-r--r--sc/qa/unit/filters-test.cxx11
-rw-r--r--sc/qa/unit/helper/qahelper.cxx15
-rw-r--r--sc/qa/unit/subsequent_export_test.cxx5
-rw-r--r--sc/qa/unit/subsequent_export_test2.cxx5
-rw-r--r--sc/qa/unit/subsequent_filters_test2.cxx2
9 files changed, 0 insertions, 52 deletions
diff --git a/sc/IwyuFilter_sc.yaml b/sc/IwyuFilter_sc.yaml
index 956bf6ad9c4c..35a1ad9828d7 100644
--- a/sc/IwyuFilter_sc.yaml
+++ b/sc/IwyuFilter_sc.yaml
@@ -378,9 +378,6 @@ excludelist:
sc/qa/unit/screenshots/screenshots.cxx:
# Needed for template
- sfx2/sfxdlg.hxx
- sc/qa/unit/subsequent_filters-test.cxx:
- # Actually used
- - comphelper/scopeguard.hxx
sc/qa/unit/subsequent_export_test.cxx:
# Actually used
- comphelper/scopeguard.hxx
@@ -396,9 +393,6 @@ excludelist:
# base class has to be a complete type
- com/sun/star/lang/XServiceInfo.hpp
- com/sun/star/sheet/XResultListener.hpp
- sc/source/core/inc/arraysumfunctor.hxx:
- # Needed for uintptr_t
- - cstdint
sc/source/core/opencl/formulagroupcl.cxx:
# Needed for implicit dtor in inverseMatrix()
- scmatrix.hxx
@@ -573,9 +567,6 @@ excludelist:
# base class has to be a complete type
- com/sun/star/lang/XServiceInfo.hpp
- com/sun/star/ui/XUIElementFactory.hpp
- sc/source/ui/vba/service.hxx:
- # Used in extern declaration
- - namespace comphelper::service_decl { class ServiceDecl; } }
sc/source/ui/vba/vbaassistant.hxx:
# base class has to be a complete type
- ooo/vba/XAssistant.hpp
diff --git a/sc/qa/unit/bugfix-test.cxx b/sc/qa/unit/bugfix-test.cxx
index fb8137d4099b..10bfd7199a67 100644
--- a/sc/qa/unit/bugfix-test.cxx
+++ b/sc/qa/unit/bugfix-test.cxx
@@ -15,11 +15,8 @@
#include <postit.hxx>
#include <validat.hxx>
#include <tabvwsh.hxx>
-#include <com/sun/star/frame/Desktop.hpp>
#include <com/sun/star/drawing/FillStyle.hpp>
#include "helper/qahelper.hxx"
-#include <comphelper/processfactory.hxx>
-#include <comphelper/propertyvalue.hxx>
#include <svx/svdocapt.hxx>
#include <svx/xfillit0.hxx>
#include <svx/xflclit.hxx>
diff --git a/sc/qa/unit/chart2dataprovider.cxx b/sc/qa/unit/chart2dataprovider.cxx
index 4c4b8007c15b..5b10ee7f8af2 100644
--- a/sc/qa/unit/chart2dataprovider.cxx
+++ b/sc/qa/unit/chart2dataprovider.cxx
@@ -11,7 +11,6 @@
#include <comphelper/propertyvalue.hxx>
-#include <docsh.hxx>
#include <chart2uno.hxx>
#include <com/sun/star/chart/ChartDataRowSource.hpp>
diff --git a/sc/qa/unit/dataproviders_test.cxx b/sc/qa/unit/dataproviders_test.cxx
index 854757299b9d..d4d0a9f8f60c 100644
--- a/sc/qa/unit/dataproviders_test.cxx
+++ b/sc/qa/unit/dataproviders_test.cxx
@@ -13,7 +13,6 @@
#include <address.hxx>
#include <dbdata.hxx>
#include <datamapper.hxx>
-#include <scdll.hxx>
#include <vcl/scheduler.hxx>
#include <orcusxml.hxx>
diff --git a/sc/qa/unit/filters-test.cxx b/sc/qa/unit/filters-test.cxx
index 63ae46860c4d..671f9760d197 100644
--- a/sc/qa/unit/filters-test.cxx
+++ b/sc/qa/unit/filters-test.cxx
@@ -12,23 +12,12 @@
#include "helper/scfiltertestbase.hxx"
#include <docsh.hxx>
-#include <inputopt.hxx>
-#include <postit.hxx>
#include <document.hxx>
-#include <drwlayer.hxx>
-#include <userdat.hxx>
-#include <formulacell.hxx>
#include <testlotus.hxx>
-#include <dbdata.hxx>
-#include <sortparam.hxx>
-#include <scerrors.hxx>
-#include <scopetools.hxx>
-#include <undomanager.hxx>
#include <osl/file.hxx>
#include <sfx2/docfilt.hxx>
#include <sfx2/docfile.hxx>
-#include <svx/svdpage.hxx>
#include <tools/stream.hxx>
#include <tools/urlobj.hxx>
#include <unotools/tempfile.hxx>
diff --git a/sc/qa/unit/helper/qahelper.cxx b/sc/qa/unit/helper/qahelper.cxx
index dd1c6e09708c..f9c7af04a813 100644
--- a/sc/qa/unit/helper/qahelper.cxx
+++ b/sc/qa/unit/helper/qahelper.cxx
@@ -11,9 +11,7 @@
#include "csv_handler.hxx"
#include "debughelper.hxx"
#include <drwlayer.hxx>
-#include <comphelper/processfactory.hxx>
#include <comphelper/sequence.hxx>
-#include <comphelper/storagehelper.hxx>
#include <compiler.hxx>
#include <conditio.hxx>
#include <stlsheet.hxx>
@@ -23,22 +21,13 @@
#include <tools/UnitConversion.hxx>
#include <editeng/brushitem.hxx>
#include <editeng/justifyitem.hxx>
-#include <formula/errorcodes.hxx>
#include <clipcontext.hxx>
#include <clipparam.hxx>
-#include <cppunit/Asserter.h>
-#include <cppunit/AdditionalMessage.h>
#include <refundo.hxx>
#include <sal/log.hxx>
-#include <sfx2/sfxsids.hrc>
-#include <svl/stritem.hxx>
-#include <svl/intitem.hxx>
#include <svl/gridprinter.hxx>
-#include <sfx2/docfilt.hxx>
#include <sfx2/docfile.hxx>
-#include <sfx2/frame.hxx>
#include <undoblk.hxx>
-#include <unotools/tempfile.hxx>
#include <scdll.hxx>
#include <scitems.hxx>
#include <stringutil.hxx>
@@ -51,10 +40,6 @@
#include <com/sun/star/chart2/XChartDocument.hpp>
#include <com/sun/star/chart2/data/XDataReceiver.hpp>
-#include <com/sun/star/document/MacroExecMode.hpp>
-#include <com/sun/star/frame/Desktop.hpp>
-#include <com/sun/star/frame/XModel2.hpp>
-
using namespace com::sun::star;
using namespace ::com::sun::star::uno;
diff --git a/sc/qa/unit/subsequent_export_test.cxx b/sc/qa/unit/subsequent_export_test.cxx
index 9ef88173d47c..a010a9820ea4 100644
--- a/sc/qa/unit/subsequent_export_test.cxx
+++ b/sc/qa/unit/subsequent_export_test.cxx
@@ -11,10 +11,8 @@
#include <config_fonts.h>
#include "helper/debughelper.hxx"
-#include <sfx2/sfxmodelfactory.hxx>
#include "helper/qahelper.hxx"
-#include <test/unoapixml_test.hxx>
#include "helper/shared_test_impl.hxx"
#include <userdat.hxx>
@@ -44,9 +42,6 @@
#include <editeng/fhgtitem.hxx>
#include <editeng/udlnitem.hxx>
#include <editeng/colritem.hxx>
-#include <osl/file.hxx>
-#include <sfx2/docfile.hxx>
-#include <sfx2/docfilt.hxx>
#include <unotools/tempfile.hxx>
#include <unotools/useroptions.hxx>
#include <tools/datetime.hxx>
diff --git a/sc/qa/unit/subsequent_export_test2.cxx b/sc/qa/unit/subsequent_export_test2.cxx
index 77b033d042a3..4010cc9dce1f 100644
--- a/sc/qa/unit/subsequent_export_test2.cxx
+++ b/sc/qa/unit/subsequent_export_test2.cxx
@@ -10,8 +10,6 @@
#include <officecfg/Office/Common.hxx>
-#include <sfx2/sfxmodelfactory.hxx>
-
#include "helper/qahelper.hxx"
#include <docsh.hxx>
@@ -25,7 +23,6 @@
#include <dpcache.hxx>
#include <dpobject.hxx>
#include <clipparam.hxx>
-#include <viewopti.hxx>
#include <editeng/wghtitem.hxx>
#include <editeng/postitem.hxx>
@@ -33,7 +30,6 @@
#include <editeng/editobj.hxx>
#include <editeng/flditem.hxx>
#include <editeng/justifyitem.hxx>
-#include <comphelper/propertyvalue.hxx>
#include <comphelper/scopeguard.hxx>
#include <unotools/syslocaleoptions.hxx>
#include <formula/grammar.hxx>
@@ -47,7 +43,6 @@
#include <com/sun/star/drawing/XDrawPage.hpp>
#include <com/sun/star/drawing/XDrawPages.hpp>
#include <com/sun/star/drawing/XDrawPagesSupplier.hpp>
-#include <com/sun/star/frame/Desktop.hpp>
#include <com/sun/star/packages/zip/ZipFileAccess.hpp>
#include <com/sun/star/sheet/GlobalSheetSettings.hpp>
#include <com/sun/star/sheet/XHeaderFooterContent.hpp>
diff --git a/sc/qa/unit/subsequent_filters_test2.cxx b/sc/qa/unit/subsequent_filters_test2.cxx
index d3744d33c86c..da79b48af6b5 100644
--- a/sc/qa/unit/subsequent_filters_test2.cxx
+++ b/sc/qa/unit/subsequent_filters_test2.cxx
@@ -11,8 +11,6 @@
#include <memory>
-#include <test/unoapixml_test.hxx>
-
#include <osl/thread.h>
#include <sfx2/docfile.hxx>
#include <svl/numformat.hxx>