From 06f99cd5520fa431ffb74ca5dd4691e892715657 Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Sun, 25 Aug 2019 14:00:27 +0200 Subject: tdf#42949 Fix IWYU warnings in sc/qa/extras/* Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: Ic6f0627ac49a43e6bbfae8e07fbf110abfaba9ee Reviewed-on: https://gerrit.libreoffice.org/78080 Tested-by: Jenkins Reviewed-by: Miklos Vajna --- sc/qa/extras/anchor.cxx | 2 -- sc/qa/extras/check_data_pilot_field.cxx | 3 --- sc/qa/extras/check_data_pilot_table.cxx | 3 --- sc/qa/extras/check_xcell_ranges_query.cxx | 3 --- sc/qa/extras/htmlexporttest.cxx | 4 ---- sc/qa/extras/macros-test.cxx | 11 ----------- sc/qa/extras/new_cond_format.cxx | 2 -- sc/qa/extras/scarealinkobj.cxx | 1 - sc/qa/extras/sccellobj.cxx | 2 -- sc/qa/extras/sccellrangeobj.cxx | 7 ------- sc/qa/extras/sccellrangesobj.cxx | 1 - sc/qa/extras/scdatapilotfieldgroupitemobj.cxx | 2 -- sc/qa/extras/scdatapilotfieldgroupobj.cxx | 1 - sc/qa/extras/scdatapilotfieldgroupsobj.cxx | 2 -- sc/qa/extras/scdatapilotitemobj.cxx | 1 - sc/qa/extras/scdatapilotitemsobj.cxx | 4 ---- sc/qa/extras/scddelinkobj.cxx | 2 -- sc/qa/extras/scddelinksobj.cxx | 3 --- sc/qa/extras/sceditfieldobj-cell.cxx | 2 -- sc/qa/extras/sceditfieldobj-header.cxx | 3 --- sc/qa/extras/scfunctiondescriptionobj.cxx | 1 - sc/qa/extras/scheaderfieldsobj.cxx | 3 --- .../extras/scindexenumeration_datapilotfieldsenumeration.cxx | 2 -- .../extras/scindexenumeration_datapilottablesenumeration.cxx | 2 -- sc/qa/extras/scindexenumeration_ddelinksenumeration.cxx | 1 - sc/qa/extras/scindexenumeration_labelrangesenumeration.cxx | 1 - sc/qa/extras/scindexenumeration_namedrangesenumeration.cxx | 1 - sc/qa/extras/scindexenumeration_sheetlinksenumeration.cxx | 1 - .../scindexenumeration_tableconditionalentryenumeration.cxx | 2 -- sc/qa/extras/scmodelobj.cxx | 1 - sc/qa/extras/scnamedrangeobj.cxx | 2 -- sc/qa/extras/scpdfexport.cxx | 2 -- sc/qa/extras/screcentfunctionsobj.cxx | 1 - sc/qa/extras/scscenariosobj.cxx | 2 -- sc/qa/extras/scsheetlinkobj.cxx | 1 - sc/qa/extras/scsheetlinksobj.cxx | 1 - sc/qa/extras/scsortdescriptorbaseobj.cxx | 1 - sc/qa/extras/scsubtotaldescriptorbase.cxx | 1 - sc/qa/extras/scsubtotalfieldobj.cxx | 1 - sc/qa/extras/sctableconditionalentryobj.cxx | 1 - sc/qa/extras/sctableconditionalformat.cxx | 1 - sc/qa/extras/sctablesheetsobj.cxx | 1 - sc/qa/extras/sctablevalidationobj.cxx | 2 -- sc/qa/extras/scuniquecellformatsenumeration.cxx | 1 - 44 files changed, 92 deletions(-) (limited to 'sc/qa/extras') diff --git a/sc/qa/extras/anchor.cxx b/sc/qa/extras/anchor.cxx index 8ec960489d65..c003c09d8084 100644 --- a/sc/qa/extras/anchor.cxx +++ b/sc/qa/extras/anchor.cxx @@ -12,11 +12,9 @@ #include #include -#include #include #include #include -#include #include #include diff --git a/sc/qa/extras/check_data_pilot_field.cxx b/sc/qa/extras/check_data_pilot_field.cxx index a132788e2b8b..3445245ade2b 100644 --- a/sc/qa/extras/check_data_pilot_field.cxx +++ b/sc/qa/extras/check_data_pilot_field.cxx @@ -10,9 +10,6 @@ #include #include #include -#include -#include -#include #include #include #include diff --git a/sc/qa/extras/check_data_pilot_table.cxx b/sc/qa/extras/check_data_pilot_table.cxx index 586fe72b0af3..79fcd14c66ca 100644 --- a/sc/qa/extras/check_data_pilot_table.cxx +++ b/sc/qa/extras/check_data_pilot_table.cxx @@ -10,9 +10,6 @@ #include #include #include -#include -#include -#include #include #include #include diff --git a/sc/qa/extras/check_xcell_ranges_query.cxx b/sc/qa/extras/check_xcell_ranges_query.cxx index 2270b356cc34..e2d216dc22a0 100644 --- a/sc/qa/extras/check_xcell_ranges_query.cxx +++ b/sc/qa/extras/check_xcell_ranges_query.cxx @@ -9,15 +9,12 @@ #include #include -#include #include #include #include #include #include -#include #include -#include using namespace css; using namespace css::lang; diff --git a/sc/qa/extras/htmlexporttest.cxx b/sc/qa/extras/htmlexporttest.cxx index 50b1842071bb..37aa69e4a4f9 100644 --- a/sc/qa/extras/htmlexporttest.cxx +++ b/sc/qa/extras/htmlexporttest.cxx @@ -20,10 +20,6 @@ #include #include #include -#include -#include - -#include using namespace css::uno; using namespace css::lang; diff --git a/sc/qa/extras/macros-test.cxx b/sc/qa/extras/macros-test.cxx index 475320d470f9..fea08dd0fa71 100644 --- a/sc/qa/extras/macros-test.cxx +++ b/sc/qa/extras/macros-test.cxx @@ -9,23 +9,12 @@ #include #include -#include #include #include #include -#include -#include -#include -#include -#include -#include - -#include #include -#include -#include #include using namespace ::com::sun::star; diff --git a/sc/qa/extras/new_cond_format.cxx b/sc/qa/extras/new_cond_format.cxx index d0453e181063..67d3d4bf6bd2 100644 --- a/sc/qa/extras/new_cond_format.cxx +++ b/sc/qa/extras/new_cond_format.cxx @@ -13,13 +13,11 @@ #include #include #include -#include #include #include #include #include #include -#include using namespace css; diff --git a/sc/qa/extras/scarealinkobj.cxx b/sc/qa/extras/scarealinkobj.cxx index 6a704120834d..359dd2ce69de 100644 --- a/sc/qa/extras/scarealinkobj.cxx +++ b/sc/qa/extras/scarealinkobj.cxx @@ -12,7 +12,6 @@ #include #include #include -#include #include #include diff --git a/sc/qa/extras/sccellobj.cxx b/sc/qa/extras/sccellobj.cxx index 0ae0fd759492..590dad2eb0f4 100644 --- a/sc/qa/extras/sccellobj.cxx +++ b/sc/qa/extras/sccellobj.cxx @@ -25,8 +25,6 @@ #include #include #include -#include -#include #include using namespace css; diff --git a/sc/qa/extras/sccellrangeobj.cxx b/sc/qa/extras/sccellrangeobj.cxx index d62bbb938c3c..1c0513a9a836 100644 --- a/sc/qa/extras/sccellrangeobj.cxx +++ b/sc/qa/extras/sccellrangeobj.cxx @@ -33,16 +33,9 @@ #include #include -#include -#include -#include -#include -#include #include #include #include -#include -#include #include #include diff --git a/sc/qa/extras/sccellrangesobj.cxx b/sc/qa/extras/sccellrangesobj.cxx index 0b529aa4f76f..174552d9c598 100644 --- a/sc/qa/extras/sccellrangesobj.cxx +++ b/sc/qa/extras/sccellrangesobj.cxx @@ -21,7 +21,6 @@ #include #include #include -#include #include #include diff --git a/sc/qa/extras/scdatapilotfieldgroupitemobj.cxx b/sc/qa/extras/scdatapilotfieldgroupitemobj.cxx index 37f0fa8db619..f3e1fc11aa79 100644 --- a/sc/qa/extras/scdatapilotfieldgroupitemobj.cxx +++ b/sc/qa/extras/scdatapilotfieldgroupitemobj.cxx @@ -14,7 +14,6 @@ #include #include #include -#include #include #include #include @@ -34,7 +33,6 @@ #include #include -#include using namespace css; diff --git a/sc/qa/extras/scdatapilotfieldgroupobj.cxx b/sc/qa/extras/scdatapilotfieldgroupobj.cxx index 3268f4fe6f83..e59ccf713adc 100644 --- a/sc/qa/extras/scdatapilotfieldgroupobj.cxx +++ b/sc/qa/extras/scdatapilotfieldgroupobj.cxx @@ -15,7 +15,6 @@ #include #include #include -#include #include #include diff --git a/sc/qa/extras/scdatapilotfieldgroupsobj.cxx b/sc/qa/extras/scdatapilotfieldgroupsobj.cxx index 8780b6df4dbe..0d8b3c8b3656 100644 --- a/sc/qa/extras/scdatapilotfieldgroupsobj.cxx +++ b/sc/qa/extras/scdatapilotfieldgroupsobj.cxx @@ -16,12 +16,10 @@ #include #include -#include #include #include #include -#include #include #include #include diff --git a/sc/qa/extras/scdatapilotitemobj.cxx b/sc/qa/extras/scdatapilotitemobj.cxx index 6a61ff5be220..217c28267c47 100644 --- a/sc/qa/extras/scdatapilotitemobj.cxx +++ b/sc/qa/extras/scdatapilotitemobj.cxx @@ -10,7 +10,6 @@ #include #include #include -#include #include #include diff --git a/sc/qa/extras/scdatapilotitemsobj.cxx b/sc/qa/extras/scdatapilotitemsobj.cxx index 8568bea0929a..dba8e9ac5100 100644 --- a/sc/qa/extras/scdatapilotitemsobj.cxx +++ b/sc/qa/extras/scdatapilotitemsobj.cxx @@ -16,7 +16,6 @@ #include #include -#include #include #include #include @@ -33,9 +32,6 @@ #include -#include -#include - using namespace css; namespace sc_apitest diff --git a/sc/qa/extras/scddelinkobj.cxx b/sc/qa/extras/scddelinkobj.cxx index c51d2329291b..49a8fda8c244 100644 --- a/sc/qa/extras/scddelinkobj.cxx +++ b/sc/qa/extras/scddelinkobj.cxx @@ -13,14 +13,12 @@ #include #include -#include #include #include #include #include #include -#include #include #include #include diff --git a/sc/qa/extras/scddelinksobj.cxx b/sc/qa/extras/scddelinksobj.cxx index 5c9daa25239e..a8bd6aff8775 100644 --- a/sc/qa/extras/scddelinksobj.cxx +++ b/sc/qa/extras/scddelinksobj.cxx @@ -17,13 +17,10 @@ #include #include -#include #include #include -#include #include -#include #include #include #include diff --git a/sc/qa/extras/sceditfieldobj-cell.cxx b/sc/qa/extras/sceditfieldobj-cell.cxx index 4852fcc1ca41..53f333269989 100644 --- a/sc/qa/extras/sceditfieldobj-cell.cxx +++ b/sc/qa/extras/sceditfieldobj-cell.cxx @@ -14,7 +14,6 @@ #include #include -#include #include #include #include @@ -25,7 +24,6 @@ #include #include #include -#include #include #include diff --git a/sc/qa/extras/sceditfieldobj-header.cxx b/sc/qa/extras/sceditfieldobj-header.cxx index 16dadbf08017..57e4d067f381 100644 --- a/sc/qa/extras/sceditfieldobj-header.cxx +++ b/sc/qa/extras/sceditfieldobj-header.cxx @@ -17,8 +17,6 @@ #include #include #include -#include -#include #include #include #include @@ -26,7 +24,6 @@ #include #include #include -#include #include #include diff --git a/sc/qa/extras/scfunctiondescriptionobj.cxx b/sc/qa/extras/scfunctiondescriptionobj.cxx index 90446072835a..ee6456be1a99 100644 --- a/sc/qa/extras/scfunctiondescriptionobj.cxx +++ b/sc/qa/extras/scfunctiondescriptionobj.cxx @@ -16,7 +16,6 @@ #include #include #include -#include #include #include diff --git a/sc/qa/extras/scheaderfieldsobj.cxx b/sc/qa/extras/scheaderfieldsobj.cxx index fc266efba130..2265fb795d83 100644 --- a/sc/qa/extras/scheaderfieldsobj.cxx +++ b/sc/qa/extras/scheaderfieldsobj.cxx @@ -21,14 +21,11 @@ #include #include #include -#include #include #include #include -#include - using namespace css; namespace sc_apitest diff --git a/sc/qa/extras/scindexenumeration_datapilotfieldsenumeration.cxx b/sc/qa/extras/scindexenumeration_datapilotfieldsenumeration.cxx index 3b2cb5601f1b..c59291ebcf71 100644 --- a/sc/qa/extras/scindexenumeration_datapilotfieldsenumeration.cxx +++ b/sc/qa/extras/scindexenumeration_datapilotfieldsenumeration.cxx @@ -25,8 +25,6 @@ #include -#include - using namespace css; using namespace css::uno; diff --git a/sc/qa/extras/scindexenumeration_datapilottablesenumeration.cxx b/sc/qa/extras/scindexenumeration_datapilottablesenumeration.cxx index e46d085c8bc9..33e5092b170b 100644 --- a/sc/qa/extras/scindexenumeration_datapilottablesenumeration.cxx +++ b/sc/qa/extras/scindexenumeration_datapilottablesenumeration.cxx @@ -25,8 +25,6 @@ #include -#include - using namespace css; using namespace css::uno; diff --git a/sc/qa/extras/scindexenumeration_ddelinksenumeration.cxx b/sc/qa/extras/scindexenumeration_ddelinksenumeration.cxx index 142fcf5c58f4..da64bc9a1c35 100644 --- a/sc/qa/extras/scindexenumeration_ddelinksenumeration.cxx +++ b/sc/qa/extras/scindexenumeration_ddelinksenumeration.cxx @@ -21,7 +21,6 @@ #include -#include #include using namespace css; diff --git a/sc/qa/extras/scindexenumeration_labelrangesenumeration.cxx b/sc/qa/extras/scindexenumeration_labelrangesenumeration.cxx index 16ecba28da57..1da0b0138050 100644 --- a/sc/qa/extras/scindexenumeration_labelrangesenumeration.cxx +++ b/sc/qa/extras/scindexenumeration_labelrangesenumeration.cxx @@ -19,7 +19,6 @@ #include #include -#include #include using namespace css; diff --git a/sc/qa/extras/scindexenumeration_namedrangesenumeration.cxx b/sc/qa/extras/scindexenumeration_namedrangesenumeration.cxx index e89ec57b1b04..2a1b2a8c4ee2 100644 --- a/sc/qa/extras/scindexenumeration_namedrangesenumeration.cxx +++ b/sc/qa/extras/scindexenumeration_namedrangesenumeration.cxx @@ -20,7 +20,6 @@ #include #include -#include #include using namespace css; diff --git a/sc/qa/extras/scindexenumeration_sheetlinksenumeration.cxx b/sc/qa/extras/scindexenumeration_sheetlinksenumeration.cxx index 8ce8138b155b..b68f540c2d48 100644 --- a/sc/qa/extras/scindexenumeration_sheetlinksenumeration.cxx +++ b/sc/qa/extras/scindexenumeration_sheetlinksenumeration.cxx @@ -23,7 +23,6 @@ #include #include -#include #include using namespace css; diff --git a/sc/qa/extras/scindexenumeration_tableconditionalentryenumeration.cxx b/sc/qa/extras/scindexenumeration_tableconditionalentryenumeration.cxx index 25a9e16a44e3..fd8cd5d8ef43 100644 --- a/sc/qa/extras/scindexenumeration_tableconditionalentryenumeration.cxx +++ b/sc/qa/extras/scindexenumeration_tableconditionalentryenumeration.cxx @@ -27,8 +27,6 @@ #include #include -#include - using namespace css; using namespace css::uno; diff --git a/sc/qa/extras/scmodelobj.cxx b/sc/qa/extras/scmodelobj.cxx index 3f53ba659c08..b939d7558cff 100644 --- a/sc/qa/extras/scmodelobj.cxx +++ b/sc/qa/extras/scmodelobj.cxx @@ -18,7 +18,6 @@ #include #include #include -#include #include #include #include diff --git a/sc/qa/extras/scnamedrangeobj.cxx b/sc/qa/extras/scnamedrangeobj.cxx index 85e32cacb0b5..710b40bb2654 100644 --- a/sc/qa/extras/scnamedrangeobj.cxx +++ b/sc/qa/extras/scnamedrangeobj.cxx @@ -14,8 +14,6 @@ #include #include -#include -#include using namespace css; using namespace css::uno; diff --git a/sc/qa/extras/scpdfexport.cxx b/sc/qa/extras/scpdfexport.cxx index 059401f86340..2bc2ed76f3ba 100644 --- a/sc/qa/extras/scpdfexport.cxx +++ b/sc/qa/extras/scpdfexport.cxx @@ -14,7 +14,6 @@ #include #include #include -#include #include #include #include @@ -22,7 +21,6 @@ #include #include #include -#include #include #include #include diff --git a/sc/qa/extras/screcentfunctionsobj.cxx b/sc/qa/extras/screcentfunctionsobj.cxx index 6981826af126..84fdc38578e1 100644 --- a/sc/qa/extras/screcentfunctionsobj.cxx +++ b/sc/qa/extras/screcentfunctionsobj.cxx @@ -12,7 +12,6 @@ #include #include -#include #include #include diff --git a/sc/qa/extras/scscenariosobj.cxx b/sc/qa/extras/scscenariosobj.cxx index a379cf249ece..78e94ae381db 100644 --- a/sc/qa/extras/scscenariosobj.cxx +++ b/sc/qa/extras/scscenariosobj.cxx @@ -21,13 +21,11 @@ #include #include #include -#include #include #include #include #include -#include #include #include diff --git a/sc/qa/extras/scsheetlinkobj.cxx b/sc/qa/extras/scsheetlinkobj.cxx index b7c31aff4a55..7b248c0a9603 100644 --- a/sc/qa/extras/scsheetlinkobj.cxx +++ b/sc/qa/extras/scsheetlinkobj.cxx @@ -11,7 +11,6 @@ #include #include #include -#include #include #include diff --git a/sc/qa/extras/scsheetlinksobj.cxx b/sc/qa/extras/scsheetlinksobj.cxx index b75fb4d84cbd..39c45477b0d8 100644 --- a/sc/qa/extras/scsheetlinksobj.cxx +++ b/sc/qa/extras/scsheetlinksobj.cxx @@ -15,7 +15,6 @@ #include #include -#include #include #include diff --git a/sc/qa/extras/scsortdescriptorbaseobj.cxx b/sc/qa/extras/scsortdescriptorbaseobj.cxx index 898d97278be9..439e906fa95c 100644 --- a/sc/qa/extras/scsortdescriptorbaseobj.cxx +++ b/sc/qa/extras/scsortdescriptorbaseobj.cxx @@ -12,7 +12,6 @@ #include #include -#include #include #include #include diff --git a/sc/qa/extras/scsubtotaldescriptorbase.cxx b/sc/qa/extras/scsubtotaldescriptorbase.cxx index 24d282ba9c7f..7b2b14365fc8 100644 --- a/sc/qa/extras/scsubtotaldescriptorbase.cxx +++ b/sc/qa/extras/scsubtotaldescriptorbase.cxx @@ -22,7 +22,6 @@ #include #include #include -#include #include #include #include diff --git a/sc/qa/extras/scsubtotalfieldobj.cxx b/sc/qa/extras/scsubtotalfieldobj.cxx index c0a487801e68..2667f28a4098 100644 --- a/sc/qa/extras/scsubtotalfieldobj.cxx +++ b/sc/qa/extras/scsubtotalfieldobj.cxx @@ -15,7 +15,6 @@ #include #include #include -#include #include #include #include diff --git a/sc/qa/extras/sctableconditionalentryobj.cxx b/sc/qa/extras/sctableconditionalentryobj.cxx index e1c37711571c..519ee8fad638 100644 --- a/sc/qa/extras/sctableconditionalentryobj.cxx +++ b/sc/qa/extras/sctableconditionalentryobj.cxx @@ -19,7 +19,6 @@ #include #include #include -#include #include #include diff --git a/sc/qa/extras/sctableconditionalformat.cxx b/sc/qa/extras/sctableconditionalformat.cxx index cc5b42f5be20..e26664bf5c14 100644 --- a/sc/qa/extras/sctableconditionalformat.cxx +++ b/sc/qa/extras/sctableconditionalformat.cxx @@ -23,7 +23,6 @@ #include #include #include -#include #include #include #include diff --git a/sc/qa/extras/sctablesheetsobj.cxx b/sc/qa/extras/sctablesheetsobj.cxx index 363ee924fc09..6a8f0928d954 100644 --- a/sc/qa/extras/sctablesheetsobj.cxx +++ b/sc/qa/extras/sctablesheetsobj.cxx @@ -13,7 +13,6 @@ #include #include -#include #include using namespace css; diff --git a/sc/qa/extras/sctablevalidationobj.cxx b/sc/qa/extras/sctablevalidationobj.cxx index 6eb5e58d2987..852738c227cf 100644 --- a/sc/qa/extras/sctablevalidationobj.cxx +++ b/sc/qa/extras/sctablevalidationobj.cxx @@ -19,12 +19,10 @@ #include #include #include -#include #include #include #include -#include using namespace css; using namespace css::uno; diff --git a/sc/qa/extras/scuniquecellformatsenumeration.cxx b/sc/qa/extras/scuniquecellformatsenumeration.cxx index e55e5808bfcc..c0a8f9cdf8fa 100644 --- a/sc/qa/extras/scuniquecellformatsenumeration.cxx +++ b/sc/qa/extras/scuniquecellformatsenumeration.cxx @@ -23,7 +23,6 @@ #include -#include #include using namespace css; -- cgit