summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2022-01-28 22:19:26 +0100
committerXisco Fauli <xiscofauli@libreoffice.org>2022-01-29 00:58:28 +0100
commit651ff4f195804b206941e6316c5120a914d28b6b (patch)
treec6c9856e4b78bc361c380eab06a646c455e25987
parente35d6030bc1a5bfb4fb96e5499d75189c96b1a10 (diff)
CppunitTest_sc_ucalc*: remove unused includes
Change-Id: Ia741cd86f36e41282c00670532c407ab896c471c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129126 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
-rw-r--r--sc/qa/unit/ucalc.cxx36
-rw-r--r--sc/qa/unit/ucalc_condformat.cxx7
-rw-r--r--sc/qa/unit/ucalc_copypaste.cxx8
-rw-r--r--sc/qa/unit/ucalc_formula.cxx17
-rw-r--r--sc/qa/unit/ucalc_pivottable.cxx12
-rw-r--r--sc/qa/unit/ucalc_sharedformula.cxx10
-rw-r--r--sc/qa/unit/ucalc_sort.cxx5
7 files changed, 0 insertions, 95 deletions
diff --git a/sc/qa/unit/ucalc.cxx b/sc/qa/unit/ucalc.cxx
index e89ae7c4f5db..8c305df59467 100644
--- a/sc/qa/unit/ucalc.cxx
+++ b/sc/qa/unit/ucalc.cxx
@@ -10,68 +10,40 @@
#include "helper/debughelper.hxx"
#include "helper/qahelper.hxx"
-#include <sal/config.h>
-#include <test/bootstrapfixture.hxx>
-
#include <svl/asiancfg.hxx>
-#include <svl/gridprinter.hxx>
#include <scdll.hxx>
#include <simpleformulacalc.hxx>
-#include <formulaopt.hxx>
#include <stringutil.hxx>
#include <scmatrix.hxx>
-#include <drwlayer.hxx>
#include <scitems.hxx>
#include <reffind.hxx>
-#include <markdata.hxx>
#include <clipparam.hxx>
-#include <refundo.hxx>
-#include <undoblk.hxx>
#include <undotab.hxx>
-#include <queryentry.hxx>
-#include <postit.hxx>
#include <attrib.hxx>
#include <dbdata.hxx>
#include <reftokenhelper.hxx>
#include <userdat.hxx>
-#include <clipcontext.hxx>
#include <refdata.hxx>
-#include <docsh.hxx>
#include <docfunc.hxx>
#include <funcdesc.hxx>
-#include <calcconfig.hxx>
#include <columniterator.hxx>
-#include <types.hxx>
-#include <tokenarray.hxx>
#include <scopetools.hxx>
#include <dociter.hxx>
-#include <queryparam.hxx>
#include <edittextiterator.hxx>
#include <editutil.hxx>
-#include <cellform.hxx>
#include <asciiopt.hxx>
#include <impex.hxx>
-#include <docoptio.hxx>
-#include <patattr.hxx>
#include <docpool.hxx>
#include <globalnames.hxx>
-#include <inputopt.hxx>
#include <columnspanset.hxx>
#include <editable.hxx>
-#include <bcaslot.hxx>
-#include <sharedformula.hxx>
#include <tabprotection.hxx>
-#include <scmod.hxx>
-
-#include <formula/IFunctionDescription.hxx>
-#include <basegfx/polygon/b2dpolygon.hxx>
#include <editeng/borderline.hxx>
-#include <editeng/boxitem.hxx>
#include <editeng/brushitem.hxx>
#include <editeng/eeitem.hxx>
#include <editeng/wghtitem.hxx>
@@ -84,18 +56,10 @@
#include <svx/svdocapt.hxx>
#include <svl/numformat.hxx>
#include <svl/srchitem.hxx>
-#include <svl/sharedstringpool.hxx>
-#include <tools/UnitConversion.hxx>
#include <unotools/collatorwrapper.hxx>
-#include <sfx2/docfile.hxx>
#include <sfx2/sfxsids.hrc>
-#include <iostream>
-#include <limits>
-#include <memory>
-#include <vector>
-
class ScUndoPaste;
class ScUndoCut;
diff --git a/sc/qa/unit/ucalc_condformat.cxx b/sc/qa/unit/ucalc_condformat.cxx
index 56ff357a6bb5..64a8d4cba01a 100644
--- a/sc/qa/unit/ucalc_condformat.cxx
+++ b/sc/qa/unit/ucalc_condformat.cxx
@@ -7,14 +7,8 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#include <memory>
-#include <test/bootstrapfixture.hxx>
#include "helper/qahelper.hxx"
-#include <conditio.hxx>
-#include <colorscale.hxx>
-
-#include <clipparam.hxx>
#include <globstr.hrc>
#include <scresid.hxx>
#include <docfunc.hxx>
@@ -23,7 +17,6 @@
#include <attrib.hxx>
#include <fillinfo.hxx>
#include <compiler.hxx>
-#include <tokenarray.hxx>
#include <svl/sharedstringpool.hxx>
diff --git a/sc/qa/unit/ucalc_copypaste.cxx b/sc/qa/unit/ucalc_copypaste.cxx
index dc3a74f2ec8f..61ecdd651d70 100644
--- a/sc/qa/unit/ucalc_copypaste.cxx
+++ b/sc/qa/unit/ucalc_copypaste.cxx
@@ -7,8 +7,6 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#include <memory>
-#include <test/bootstrapfixture.hxx>
#include "helper/debughelper.hxx"
#include "helper/qahelper.hxx"
@@ -20,19 +18,13 @@
#include <docpool.hxx>
#include <editeng/borderline.hxx>
#include <editeng/brushitem.hxx>
-#include <editeng/editobj.hxx>
#include <editutil.hxx>
#include <formulacell.hxx>
-#include <formulaopt.hxx>
-#include <iostream>
-#include <patattr.hxx>
#include <postit.hxx>
-#include <queryentry.hxx>
#include <queryparam.hxx>
#include <refundo.hxx>
#include <scdll.hxx>
#include <scitems.hxx>
-#include <scmod.hxx>
#include <scopetools.hxx>
#include <sfx2/docfile.hxx>
diff --git a/sc/qa/unit/ucalc_formula.cxx b/sc/qa/unit/ucalc_formula.cxx
index c0fb17bc1b59..544a3aa15fb0 100644
--- a/sc/qa/unit/ucalc_formula.cxx
+++ b/sc/qa/unit/ucalc_formula.cxx
@@ -7,46 +7,29 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#include <test/bootstrapfixture.hxx>
#include "helper/debughelper.hxx"
#include "helper/qahelper.hxx"
-#include <markdata.hxx>
-#include <calcconfig.hxx>
#include <clipparam.hxx>
-#include <compiler.hxx>
-#include <tokenarray.hxx>
-#include <refdata.hxx>
#include <scopetools.hxx>
#include <formulacell.hxx>
-#include <docsh.hxx>
#include <docfunc.hxx>
#include <inputopt.hxx>
-#include <paramisc.hxx>
#include <tokenstringcontext.hxx>
#include <refupdatecontext.hxx>
#include <dbdata.hxx>
#include <scmatrix.hxx>
#include <validat.hxx>
#include <scitems.hxx>
-#include <patattr.hxx>
#include <docpool.hxx>
-#include <docoptio.hxx>
-#include <formulaopt.hxx>
#include <externalrefmgr.hxx>
#include <scdll.hxx>
#include <scmod.hxx>
-#include <svl/itemset.hxx>
#include <formula/vectortoken.hxx>
#include <svl/broadcast.hxx>
#include <svl/intitem.hxx>
#include <sfx2/docfile.hxx>
-#include <memory>
-#include <functional>
-#include <set>
-#include <algorithm>
-
using namespace formula;
namespace {
diff --git a/sc/qa/unit/ucalc_pivottable.cxx b/sc/qa/unit/ucalc_pivottable.cxx
index 9be50c461384..3d2d159a8f96 100644
--- a/sc/qa/unit/ucalc_pivottable.cxx
+++ b/sc/qa/unit/ucalc_pivottable.cxx
@@ -7,13 +7,6 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#include <test/bootstrapfixture.hxx>
-#include <memory>
-#include <string>
-
-#include <cppunit/TestAssert.h>
-
-#include <sal/types.h>
#include <rtl/math.hxx>
#include <scdll.hxx>
#include "helper/qahelper.hxx"
@@ -21,18 +14,13 @@
#include <dpobject.hxx>
#include <dpsave.hxx>
#include <dpdimsave.hxx>
-#include <dpcache.hxx>
-#include <dpfilteredcache.hxx>
#include <scopetools.hxx>
-#include <queryentry.hxx>
#include <stringutil.hxx>
#include <dbdocfun.hxx>
#include <generalfunction.hxx>
#include <formula/errorcodes.hxx>
-#include <com/sun/star/sheet/DataPilotFieldOrientation.hpp>
#include <com/sun/star/sheet/DataPilotFieldGroupBy.hpp>
-#include <com/sun/star/sheet/DataPilotFieldReference.hpp>
#include <com/sun/star/sheet/DataPilotFieldReferenceType.hpp>
#include <com/sun/star/sheet/DataPilotFieldReferenceItemType.hpp>
diff --git a/sc/qa/unit/ucalc_sharedformula.cxx b/sc/qa/unit/ucalc_sharedformula.cxx
index 944c611c5742..2230a5869687 100644
--- a/sc/qa/unit/ucalc_sharedformula.cxx
+++ b/sc/qa/unit/ucalc_sharedformula.cxx
@@ -7,32 +7,22 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#include <test/bootstrapfixture.hxx>
-#include <memory>
-#include <string_view>
#include "helper/debughelper.hxx"
#include "helper/qahelper.hxx"
#include <editutil.hxx>
#include <formulacell.hxx>
#include <cellvalue.hxx>
-#include <docsh.hxx>
-#include <undoblk.hxx>
#include <scopetools.hxx>
#include <docfunc.hxx>
#include <dbdocfun.hxx>
-#include <tokenarray.hxx>
#include <tokenstringcontext.hxx>
#include <globalnames.hxx>
#include <dbdata.hxx>
#include <bcaslot.hxx>
-#include <sharedformula.hxx>
#include <scdll.hxx>
-#include <svl/sharedstring.hxx>
#include <sfx2/docfile.hxx>
-#include <formula/grammar.hxx>
-
class TestSharedFormula : public test::BootstrapFixture
{
public:
diff --git a/sc/qa/unit/ucalc_sort.cxx b/sc/qa/unit/ucalc_sort.cxx
index 6e54e08952bd..fe73d9a71833 100644
--- a/sc/qa/unit/ucalc_sort.cxx
+++ b/sc/qa/unit/ucalc_sort.cxx
@@ -7,7 +7,6 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#include <test/bootstrapfixture.hxx>
#include "helper/sorthelper.hxx"
#include "helper/debughelper.hxx"
#include "helper/qahelper.hxx"
@@ -16,7 +15,6 @@
#include <postit.hxx>
#include <sortparam.hxx>
#include <dbdata.hxx>
-#include <patattr.hxx>
#include <formulacell.hxx>
#include <scopetools.hxx>
#include <globalnames.hxx>
@@ -24,10 +22,7 @@
#include <docfunc.hxx>
#include <scitems.hxx>
#include <editutil.hxx>
-#include <drwlayer.hxx>
-#include <formulaopt.hxx>
-#include <sal/config.h>
#include <editeng/wghtitem.hxx>
#include <editeng/postitem.hxx>
#include <svx/svdocirc.hxx>