[Libreoffice-commits] core.git: sc/qa sc/source

Gabor Kelemen kelemeng at ubuntu.com
Mon Apr 16 08:12:46 UTC 2018


 sc/qa/unit/subsequent_export-test.cxx                          |    1 -
 sc/qa/unit/ucalc.cxx                                           |    1 -
 sc/source/core/data/colorscale.cxx                             |    1 -
 sc/source/core/data/documen2.cxx                               |    1 -
 sc/source/core/data/documen7.cxx                               |    2 --
 sc/source/core/data/document.cxx                               |    1 -
 sc/source/core/data/dpdimsave.cxx                              |    1 -
 sc/source/core/data/dpitemdata.cxx                             |    1 -
 sc/source/core/data/dpobject.cxx                               |    1 -
 sc/source/core/data/global2.cxx                                |    1 -
 sc/source/core/data/pivot2.cxx                                 |    1 -
 sc/source/core/data/table2.cxx                                 |    1 -
 sc/source/core/data/table4.cxx                                 |    1 -
 sc/source/core/tool/address.cxx                                |    1 -
 sc/source/core/tool/appoptio.cxx                               |    5 ++---
 sc/source/core/tool/compiler.cxx                               |    1 -
 sc/source/core/tool/consoli.cxx                                |    1 -
 sc/source/core/tool/docoptio.cxx                               |    2 --
 sc/source/core/tool/inputopt.cxx                               |    1 -
 sc/source/core/tool/interpr1.cxx                               |    1 -
 sc/source/core/tool/interpr2.cxx                               |    1 -
 sc/source/core/tool/interpr3.cxx                               |    1 -
 sc/source/core/tool/rangeutl.cxx                               |    2 --
 sc/source/core/tool/token.cxx                                  |    1 -
 sc/source/core/tool/viewopti.cxx                               |    1 -
 sc/source/filter/excel/excdoc.cxx                              |    1 -
 sc/source/filter/excel/excimp8.cxx                             |    1 -
 sc/source/filter/excel/excrecds.cxx                            |    1 -
 sc/source/filter/excel/exctools.cxx                            |    1 -
 sc/source/filter/excel/read.cxx                                |    1 +
 sc/source/filter/excel/xehelper.cxx                            |    1 +
 sc/source/filter/excel/xename.cxx                              |    1 -
 sc/source/filter/ftools/fprogressbar.cxx                       |    1 +
 sc/source/filter/inc/fprogressbar.hxx                          |    1 -
 sc/source/filter/xml/XMLExportDatabaseRanges.cxx               |    1 -
 sc/source/filter/xml/xmldrani.cxx                              |    1 -
 sc/source/ui/Accessibility/AccessibleCellBase.cxx              |    2 --
 sc/source/ui/Accessibility/AccessiblePreviewHeaderCell.cxx     |    2 --
 sc/source/ui/StatisticsDialogs/AnalysisOfVarianceDialog.cxx    |    1 +
 sc/source/ui/StatisticsDialogs/ChiSquareTestDialog.cxx         |    1 +
 sc/source/ui/StatisticsDialogs/CorrelationDialog.cxx           |    1 +
 sc/source/ui/StatisticsDialogs/CovarianceDialog.cxx            |    1 +
 sc/source/ui/StatisticsDialogs/DescriptiveStatisticsDialog.cxx |    1 +
 sc/source/ui/StatisticsDialogs/ExponentialSmoothingDialog.cxx  |    1 +
 sc/source/ui/StatisticsDialogs/FTestDialog.cxx                 |    1 +
 sc/source/ui/StatisticsDialogs/MatrixComparisonGenerator.cxx   |    1 +
 sc/source/ui/StatisticsDialogs/MovingAverageDialog.cxx         |    1 +
 sc/source/ui/StatisticsDialogs/RandomNumberGeneratorDialog.cxx |    1 +
 sc/source/ui/StatisticsDialogs/RegressionDialog.cxx            |    1 +
 sc/source/ui/StatisticsDialogs/SamplingDialog.cxx              |    1 +
 sc/source/ui/StatisticsDialogs/TTestDialog.cxx                 |    1 +
 sc/source/ui/StatisticsDialogs/ZTestDialog.cxx                 |    1 +
 sc/source/ui/app/scmod.cxx                                     |    2 --
 sc/source/ui/attrdlg/attrdlg.cxx                               |    1 -
 sc/source/ui/attrdlg/tabpages.cxx                              |    1 -
 sc/source/ui/condformat/condformatdlg.cxx                      |    2 --
 sc/source/ui/condformat/condformatdlgentry.cxx                 |    2 +-
 sc/source/ui/condformat/condformatmgr.cxx                      |    1 -
 sc/source/ui/dbgui/dapidata.cxx                                |    1 -
 sc/source/ui/dbgui/dapitype.cxx                                |    1 -
 sc/source/ui/dbgui/dbnamdlg.cxx                                |    1 -
 sc/source/ui/dbgui/dpgroupdlg.cxx                              |    1 -
 sc/source/ui/dbgui/imoptdlg.cxx                                |    1 -
 sc/source/ui/dbgui/pfiltdlg.cxx                                |    1 -
 sc/source/ui/dbgui/scendlg.cxx                                 |    1 -
 sc/source/ui/dbgui/sortdlg.cxx                                 |    1 -
 sc/source/ui/dbgui/subtdlg.cxx                                 |    1 -
 sc/source/ui/docshell/tpstat.cxx                               |    1 -
 sc/source/ui/drawfunc/chartsh.cxx                              |    1 -
 sc/source/ui/drawfunc/drawsh5.cxx                              |    1 -
 sc/source/ui/drawfunc/drformsh.cxx                             |    1 -
 sc/source/ui/drawfunc/drtxtob.cxx                              |    1 -
 sc/source/ui/drawfunc/drtxtob1.cxx                             |    1 -
 sc/source/ui/drawfunc/fuconrec.cxx                             |    2 --
 sc/source/ui/drawfunc/fudraw.cxx                               |    2 --
 sc/source/ui/drawfunc/fuins2.cxx                               |    1 -
 sc/source/ui/drawfunc/fusel.cxx                                |    1 -
 sc/source/ui/drawfunc/oleobjsh.cxx                             |    1 -
 sc/source/ui/formdlg/dwfunctr.cxx                              |    1 -
 sc/source/ui/formdlg/formula.cxx                               |    2 --
 sc/source/ui/inc/anyrefdg.hxx                                  |    1 -
 sc/source/ui/inc/namemgrtable.hxx                              |    1 -
 sc/source/ui/miscdlgs/acredlin.cxx                             |    1 -
 sc/source/ui/miscdlgs/anyrefdg.cxx                             |    1 -
 sc/source/ui/miscdlgs/autofmt.cxx                              |    1 -
 sc/source/ui/miscdlgs/crdlg.cxx                                |    2 --
 sc/source/ui/miscdlgs/crnrdlg.cxx                              |    1 -
 sc/source/ui/miscdlgs/datafdlg.cxx                             |    1 -
 sc/source/ui/miscdlgs/delcldlg.cxx                             |    2 --
 sc/source/ui/miscdlgs/delcodlg.cxx                             |    2 --
 sc/source/ui/miscdlgs/filldlg.cxx                              |    1 -
 sc/source/ui/miscdlgs/groupdlg.cxx                             |    1 -
 sc/source/ui/miscdlgs/highred.cxx                              |    2 --
 sc/source/ui/miscdlgs/inscldlg.cxx                             |    2 --
 sc/source/ui/miscdlgs/inscodlg.cxx                             |    2 --
 sc/source/ui/miscdlgs/instbdlg.cxx                             |    1 -
 sc/source/ui/miscdlgs/lbseldlg.cxx                             |    2 --
 sc/source/ui/miscdlgs/linkarea.cxx                             |    1 -
 sc/source/ui/miscdlgs/mtrindlg.cxx                             |    2 --
 sc/source/ui/miscdlgs/mvtabdlg.cxx                             |    2 --
 sc/source/ui/miscdlgs/namecrea.cxx                             |    1 -
 sc/source/ui/miscdlgs/optsolver.cxx                            |    1 -
 sc/source/ui/miscdlgs/protectiondlg.cxx                        |    1 -
 sc/source/ui/miscdlgs/sharedocdlg.cxx                          |    1 -
 sc/source/ui/miscdlgs/shtabdlg.cxx                             |    2 --
 sc/source/ui/miscdlgs/simpref.cxx                              |    2 --
 sc/source/ui/miscdlgs/solveroptions.cxx                        |    1 -
 sc/source/ui/miscdlgs/solvrdlg.cxx                             |    1 -
 sc/source/ui/miscdlgs/strindlg.cxx                             |    1 -
 sc/source/ui/miscdlgs/tabbgcolordlg.cxx                        |    2 --
 sc/source/ui/miscdlgs/textdlgs.cxx                             |    1 -
 sc/source/ui/miscdlgs/warnbox.cxx                              |    2 --
 sc/source/ui/namedlg/namedlg.cxx                               |    1 -
 sc/source/ui/namedlg/namemgrtable.cxx                          |    1 -
 sc/source/ui/namedlg/namepast.cxx                              |    2 --
 sc/source/ui/navipi/content.cxx                                |    1 -
 sc/source/ui/navipi/scenwnd.cxx                                |    2 --
 sc/source/ui/optdlg/calcoptionsdlg.cxx                         |    1 -
 sc/source/ui/optdlg/opredlin.cxx                               |    2 --
 sc/source/ui/optdlg/tpcalc.cxx                                 |    1 -
 sc/source/ui/optdlg/tpcompatibility.cxx                        |    1 -
 sc/source/ui/optdlg/tpdefaults.cxx                             |    1 -
 sc/source/ui/optdlg/tpprint.cxx                                |    1 -
 sc/source/ui/optdlg/tpusrlst.cxx                               |    1 -
 sc/source/ui/pagedlg/areasdlg.cxx                              |    1 -
 sc/source/ui/pagedlg/hfedtdlg.cxx                              |    1 -
 sc/source/ui/pagedlg/scuitphfedit.cxx                          |    2 --
 sc/source/ui/pagedlg/tphf.cxx                                  |    1 -
 sc/source/ui/pagedlg/tptable.cxx                               |    1 -
 sc/source/ui/sidebar/AlignmentPropertyPanel.cxx                |    1 -
 sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx           |    2 --
 sc/source/ui/sidebar/CellBorderStyleControl.cxx                |    1 -
 sc/source/ui/sidebar/CellLineStyleControl.cxx                  |    1 -
 sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx             |    1 -
 sc/source/ui/styleui/styledlg.cxx                              |    2 --
 sc/source/ui/undo/undobase.cxx                                 |    1 -
 sc/source/ui/undo/undoutil.cxx                                 |    1 -
 sc/source/ui/unoobj/datauno.cxx                                |    1 -
 sc/source/ui/vba/vbarange.cxx                                  |    1 -
 sc/source/ui/view/auditsh.cxx                                  |    1 -
 sc/source/ui/view/cellsh.cxx                                   |    1 -
 sc/source/ui/view/cellsh1.cxx                                  |    1 -
 sc/source/ui/view/cellsh2.cxx                                  |    1 -
 sc/source/ui/view/editsh.cxx                                   |    1 -
 sc/source/ui/view/formatsh.cxx                                 |    1 -
 sc/source/ui/view/hdrcont.cxx                                  |    1 -
 sc/source/ui/view/olinewin.cxx                                 |    2 --
 sc/source/ui/view/output.cxx                                   |    1 -
 sc/source/ui/view/pgbrksh.cxx                                  |    1 -
 sc/source/ui/view/pivotsh.cxx                                  |    1 -
 sc/source/ui/view/prevwsh.cxx                                  |    1 -
 sc/source/ui/view/printfun.cxx                                 |    1 -
 sc/source/ui/view/tabcont.cxx                                  |    1 -
 sc/source/ui/view/tabvwsh.cxx                                  |    1 -
 sc/source/ui/view/tabvwsh4.cxx                                 |    1 -
 sc/source/ui/view/tabvwsh5.cxx                                 |    1 -
 sc/source/ui/view/tabvwshb.cxx                                 |    1 -
 sc/source/ui/view/tabvwshc.cxx                                 |    1 -
 sc/source/ui/view/viewfun6.cxx                                 |    1 -
 sc/source/ui/xmlsource/xmlsourcedlg.cxx                        |    1 -
 160 files changed, 20 insertions(+), 175 deletions(-)

New commits:
commit 104b26b246c94c8c66864b20d00e419d96b15961
Author: Gabor Kelemen <kelemeng at ubuntu.com>
Date:   Wed Mar 28 00:13:28 2018 +0200

    tdf#42949 Remove unnecessary localization headers from sc
    
    Found by searching for the header names and the localization function:
    git grep -l -e \<scresid.hxx\> -e \<strings.hrc\> sc | xargs grep -c ScResId | grep :0$ | grep -v /pch
    and
    git grep -l -e \<globstr.hrc\> sc | xargs grep -c GetRscString | grep :0$ | grep -v /pch
    since global.hxx contains so much more, it's omitted from this round.
    This also gives some false positives used in ErrorMessage() calls or just untranslated strings.
    
    Also translate some stray German comments
    
    Change-Id: Icfea2b2942d12c3c134d419cb7c9a84534c04a86
    Reviewed-on: https://gerrit.libreoffice.org/52932
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>

diff --git a/sc/qa/unit/subsequent_export-test.cxx b/sc/qa/unit/subsequent_export-test.cxx
index f6582cd8e7d0..1339274f5ddd 100644
--- a/sc/qa/unit/subsequent_export-test.cxx
+++ b/sc/qa/unit/subsequent_export-test.cxx
@@ -42,7 +42,6 @@
 #include <chgtrack.hxx>
 #include <validat.hxx>
 #include <attrib.hxx>
-#include <globstr.hrc>
 #include <global.hxx>
 
 #include <svx/svdoole2.hxx>
diff --git a/sc/qa/unit/ucalc.cxx b/sc/qa/unit/ucalc.cxx
index 907c8f6a04ae..103ee5d3de71 100644
--- a/sc/qa/unit/ucalc.cxx
+++ b/sc/qa/unit/ucalc.cxx
@@ -48,7 +48,6 @@
 #include <columniterator.hxx>
 #include <types.hxx>
 #include <fillinfo.hxx>
-#include <globstr.hrc>
 #include <tokenarray.hxx>
 #include <scopetools.hxx>
 #include <dociter.hxx>
diff --git a/sc/source/core/data/colorscale.cxx b/sc/source/core/data/colorscale.cxx
index 8826fada3d04..77e2d1a7c524 100644
--- a/sc/source/core/data/colorscale.cxx
+++ b/sc/source/core/data/colorscale.cxx
@@ -13,7 +13,6 @@
 #include <formulacell.hxx>
 #include <fillinfo.hxx>
 #include <bitmaps.hlst>
-#include <scresid.hxx>
 #include <tokenarray.hxx>
 #include <refupdatecontext.hxx>
 
diff --git a/sc/source/core/data/documen2.cxx b/sc/source/core/data/documen2.cxx
index f213947c3e46..acb96bc1fc70 100644
--- a/sc/source/core/data/documen2.cxx
+++ b/sc/source/core/data/documen2.cxx
@@ -52,7 +52,6 @@
 #include <docpool.hxx>
 #include <stlpool.hxx>
 #include <stlsheet.hxx>
-#include <globstr.hrc>
 #include <chartarr.hxx>
 #include <chartlock.hxx>
 #include <rechead.hxx>
diff --git a/sc/source/core/data/documen7.cxx b/sc/source/core/data/documen7.cxx
index 63e14bba26ea..c2395210df9d 100644
--- a/sc/source/core/data/documen7.cxx
+++ b/sc/source/core/data/documen7.cxx
@@ -39,8 +39,6 @@
 #include <formulagroup.hxx>
 #include <refhint.hxx>
 
-#include <globstr.hrc>
-
 void ScDocument::StartListeningArea(
     const ScRange& rRange, bool bGroupListening, SvtListener* pListener )
 {
diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx
index ace7ed8f0f7a..98fc873f04eb 100644
--- a/sc/source/core/data/document.cxx
+++ b/sc/source/core/data/document.cxx
@@ -72,7 +72,6 @@
 #include <prnsave.hxx>
 #include <chgtrack.hxx>
 #include <sc.hrc>
-#include <scresid.hxx>
 #include <hints.hxx>
 #include <detdata.hxx>
 #include <dpobject.hxx>
diff --git a/sc/source/core/data/dpdimsave.cxx b/sc/source/core/data/dpdimsave.cxx
index 9c368ab62364..18581a5e94e4 100644
--- a/sc/source/core/data/dpdimsave.cxx
+++ b/sc/source/core/data/dpdimsave.cxx
@@ -31,7 +31,6 @@
 #include <algorithm>
 
 #include <global.hxx>
-#include <scresid.hxx>
 #include <globstr.hrc>
 
 using namespace com::sun::star;
diff --git a/sc/source/core/data/dpitemdata.cxx b/sc/source/core/data/dpitemdata.cxx
index 3dddf085df14..155a2c2dc899 100644
--- a/sc/source/core/data/dpitemdata.cxx
+++ b/sc/source/core/data/dpitemdata.cxx
@@ -22,7 +22,6 @@
 #include <document.hxx>
 #include <dpobject.hxx>
 #include <formulacell.hxx>
-#include <globstr.hrc>
 #include <dptabdat.hxx>
 #include <rtl/math.hxx>
 
diff --git a/sc/source/core/data/dpobject.cxx b/sc/source/core/data/dpobject.cxx
index 40710f16ff25..eebe2f5f10ac 100644
--- a/sc/source/core/data/dpobject.cxx
+++ b/sc/source/core/data/dpobject.cxx
@@ -32,7 +32,6 @@
 #include <miscuno.hxx>
 #include <scerrors.hxx>
 #include <refupdat.hxx>
-#include <scresid.hxx>
 #include <sc.hrc>
 #include <attrib.hxx>
 #include <scitems.hxx>
diff --git a/sc/source/core/data/global2.cxx b/sc/source/core/data/global2.cxx
index 56349cd7e949..d75f64c1c57c 100644
--- a/sc/source/core/data/global2.cxx
+++ b/sc/source/core/data/global2.cxx
@@ -37,7 +37,6 @@
 #include <calcconfig.hxx>
 
 #include <sc.hrc>
-#include <globstr.hrc>
 
 
 // struct ScImportParam:
diff --git a/sc/source/core/data/pivot2.cxx b/sc/source/core/data/pivot2.cxx
index 70ec9c71898d..0e9371ee4b27 100644
--- a/sc/source/core/data/pivot2.cxx
+++ b/sc/source/core/data/pivot2.cxx
@@ -23,7 +23,6 @@
 #include <svx/algitem.hxx>
 #include <unotools/transliterationwrapper.hxx>
 
-#include <globstr.hrc>
 #include <subtotal.hxx>
 #include <rangeutl.hxx>
 #include <attrib.hxx>
diff --git a/sc/source/core/data/table2.cxx b/sc/source/core/data/table2.cxx
index ccbadd6c0f51..8c548acd1462 100644
--- a/sc/source/core/data/table2.cxx
+++ b/sc/source/core/data/table2.cxx
@@ -38,7 +38,6 @@
 #include <bcaslot.hxx>
 #include <postit.hxx>
 #include <sheetevents.hxx>
-#include <globstr.hrc>
 #include <segmenttree.hxx>
 #include <queryparam.hxx>
 #include <queryentry.hxx>
diff --git a/sc/source/core/data/table4.cxx b/sc/source/core/data/table4.cxx
index 15aadf998d11..61a818000980 100644
--- a/sc/source/core/data/table4.cxx
+++ b/sc/source/core/data/table4.cxx
@@ -46,7 +46,6 @@
 #include <patattr.hxx>
 #include <formulacell.hxx>
 #include <table.hxx>
-#include <globstr.hrc>
 #include <global.hxx>
 #include <document.hxx>
 #include <autoform.hxx>
diff --git a/sc/source/core/tool/address.cxx b/sc/source/core/tool/address.cxx
index 37d04b4e432e..f97eed8ef039 100644
--- a/sc/source/core/tool/address.cxx
+++ b/sc/source/core/tool/address.cxx
@@ -23,7 +23,6 @@
 #include <document.hxx>
 #include <externalrefmgr.hxx>
 
-#include <globstr.hrc>
 #include <osl/diagnose.h>
 
 #include <com/sun/star/frame/XModel.hpp>
diff --git a/sc/source/core/tool/appoptio.cxx b/sc/source/core/tool/appoptio.cxx
index 464baa9fc251..8ff2eff2c937 100644
--- a/sc/source/core/tool/appoptio.cxx
+++ b/sc/source/core/tool/appoptio.cxx
@@ -23,7 +23,6 @@
 #include <com/sun/star/uno/Sequence.hxx>
 #include <appoptio.hxx>
 #include <rechead.hxx>
-#include <scresid.hxx>
 #include <global.hxx>
 #include <userlist.hxx>
 #include <sc.hrc>
@@ -34,7 +33,7 @@
 using namespace utl;
 using namespace com::sun::star::uno;
 
-//      ScAppOptions - Applikations-Optionen
+//      ScAppOptions - Application Options
 
 ScAppOptions::ScAppOptions() : pLRUList( nullptr )
 {
@@ -64,7 +63,7 @@ void ScAppOptions::SetDefaults()
     bAutoComplete   = true;
     bDetectiveAuto  = true;
 
-    pLRUList.reset( new sal_uInt16[5] );               // sinnvoll vorbelegen
+    pLRUList.reset( new sal_uInt16[5] );               // sensible initialization
     pLRUList[0] = SC_OPCODE_SUM;
     pLRUList[1] = SC_OPCODE_AVERAGE;
     pLRUList[2] = SC_OPCODE_MIN;
diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx
index 2b22c08171a8..beaf4a69dbbb 100644
--- a/sc/source/core/tool/compiler.cxx
+++ b/sc/source/core/tool/compiler.cxx
@@ -50,7 +50,6 @@
 #include <callform.hxx>
 #include <addincol.hxx>
 #include <refupdat.hxx>
-#include <scresid.hxx>
 #include <sc.hrc>
 #include <globstr.hrc>
 #include <formulacell.hxx>
diff --git a/sc/source/core/tool/consoli.cxx b/sc/source/core/tool/consoli.cxx
index ebb4e41437a4..bc0bd265bb70 100644
--- a/sc/source/core/tool/consoli.cxx
+++ b/sc/source/core/tool/consoli.cxx
@@ -20,7 +20,6 @@
 #include <consoli.hxx>
 #include <document.hxx>
 #include <olinetab.hxx>
-#include <globstr.hrc>
 #include <subtotal.hxx>
 #include <formula/errorcodes.hxx>
 #include <formulacell.hxx>
diff --git a/sc/source/core/tool/docoptio.cxx b/sc/source/core/tool/docoptio.cxx
index 859d73126c01..271ccd157931 100644
--- a/sc/source/core/tool/docoptio.cxx
+++ b/sc/source/core/tool/docoptio.cxx
@@ -25,11 +25,9 @@
 
 #include <docoptio.hxx>
 #include <rechead.hxx>
-#include <scresid.hxx>
 #include <sc.hrc>
 #include <miscuno.hxx>
 #include <global.hxx>
-#include <globstr.hrc>
 
 using namespace utl;
 using namespace com::sun::star::uno;
diff --git a/sc/source/core/tool/inputopt.cxx b/sc/source/core/tool/inputopt.cxx
index e51586ea10fc..f78d059cb864 100644
--- a/sc/source/core/tool/inputopt.cxx
+++ b/sc/source/core/tool/inputopt.cxx
@@ -23,7 +23,6 @@
 
 #include <inputopt.hxx>
 #include <rechead.hxx>
-#include <scresid.hxx>
 #include <global.hxx>
 #include <sc.hrc>
 #include <miscuno.hxx>
diff --git a/sc/source/core/tool/interpr1.cxx b/sc/source/core/tool/interpr1.cxx
index 41f0ead79097..4abacf0ca3cf 100644
--- a/sc/source/core/tool/interpr1.cxx
+++ b/sc/source/core/tool/interpr1.cxx
@@ -43,7 +43,6 @@
 #include <formulacell.hxx>
 #include <scmatrix.hxx>
 #include <docoptio.hxx>
-#include <globstr.hrc>
 #include <attrib.hxx>
 #include <jumpmatrix.hxx>
 #include <cellkeytranslator.hxx>
diff --git a/sc/source/core/tool/interpr2.cxx b/sc/source/core/tool/interpr2.cxx
index ad99e99ace38..db02e70710eb 100644
--- a/sc/source/core/tool/interpr2.cxx
+++ b/sc/source/core/tool/interpr2.cxx
@@ -39,7 +39,6 @@
 #include <dociter.hxx>
 #include <docoptio.hxx>
 #include <unitconv.hxx>
-#include <globstr.hrc>
 #include <hints.hxx>
 #include <dpobject.hxx>
 #include <postit.hxx>
diff --git a/sc/source/core/tool/interpr3.cxx b/sc/source/core/tool/interpr3.cxx
index a33470ec9c30..46328e5d8009 100644
--- a/sc/source/core/tool/interpr3.cxx
+++ b/sc/source/core/tool/interpr3.cxx
@@ -29,7 +29,6 @@
 #include <dociter.hxx>
 #include <matrixoperators.hxx>
 #include <scmatrix.hxx>
-#include <globstr.hrc>
 
 #include <math.h>
 #include <memory>
diff --git a/sc/source/core/tool/rangeutl.cxx b/sc/source/core/tool/rangeutl.cxx
index 153fc21ca3ff..607d4c28f0ee 100644
--- a/sc/source/core/tool/rangeutl.cxx
+++ b/sc/source/core/tool/rangeutl.cxx
@@ -24,8 +24,6 @@
 #include <global.hxx>
 #include <dbdata.hxx>
 #include <rangenam.hxx>
-#include <scresid.hxx>
-#include <globstr.hrc>
 #include <convuno.hxx>
 #include <externalrefmgr.hxx>
 #include <compiler.hxx>
diff --git a/sc/source/core/tool/token.cxx b/sc/source/core/tool/token.cxx
index e51b3c120ed4..6548a82830d7 100644
--- a/sc/source/core/tool/token.cxx
+++ b/sc/source/core/tool/token.cxx
@@ -47,7 +47,6 @@
 #include <refupdatecontext.hxx>
 #include <tokenstringcontext.hxx>
 #include <types.hxx>
-#include <globstr.hrc>
 #include <addincol.hxx>
 #include <dbdata.hxx>
 #include <reordermap.hxx>
diff --git a/sc/source/core/tool/viewopti.cxx b/sc/source/core/tool/viewopti.cxx
index d882e82e6fd2..6d8dd9089089 100644
--- a/sc/source/core/tool/viewopti.cxx
+++ b/sc/source/core/tool/viewopti.cxx
@@ -26,7 +26,6 @@
 #include <globstr.hrc>
 #include <viewopti.hxx>
 #include <rechead.hxx>
-#include <scresid.hxx>
 #include <sc.hrc>
 #include <miscuno.hxx>
 
diff --git a/sc/source/filter/excel/excdoc.cxx b/sc/source/filter/excel/excdoc.cxx
index 638b593c32d1..e2b30c261837 100644
--- a/sc/source/filter/excel/excdoc.cxx
+++ b/sc/source/filter/excel/excdoc.cxx
@@ -35,7 +35,6 @@
 #include <document.hxx>
 #include <dbdata.hxx>
 #include <global.hxx>
-#include <globstr.hrc>
 #include <progress.hxx>
 #include <conditio.hxx>
 #include <dpobject.hxx>
diff --git a/sc/source/filter/excel/excimp8.cxx b/sc/source/filter/excel/excimp8.cxx
index 2cf116b9ee4d..0acb857079bf 100644
--- a/sc/source/filter/excel/excimp8.cxx
+++ b/sc/source/filter/excel/excimp8.cxx
@@ -75,7 +75,6 @@
 #include <markdata.hxx>
 #include <rangenam.hxx>
 #include <docoptio.hxx>
-#include <globstr.hrc>
 #include <fprogressbar.hxx>
 #include <xltracer.hxx>
 #include <xihelper.hxx>
diff --git a/sc/source/filter/excel/excrecds.cxx b/sc/source/filter/excel/excrecds.cxx
index ba8904885925..61daa9295ee6 100644
--- a/sc/source/filter/excel/excrecds.cxx
+++ b/sc/source/filter/excel/excrecds.cxx
@@ -52,7 +52,6 @@
 #include <string.h>
 
 #include <global.hxx>
-#include <globstr.hrc>
 #include <docpool.hxx>
 #include <patattr.hxx>
 #include <formulacell.hxx>
diff --git a/sc/source/filter/excel/exctools.cxx b/sc/source/filter/excel/exctools.cxx
index 6a2962899782..8531779412ae 100644
--- a/sc/source/filter/excel/exctools.cxx
+++ b/sc/source/filter/excel/exctools.cxx
@@ -28,7 +28,6 @@
 #include <document.hxx>
 #include <patattr.hxx>
 #include <attrib.hxx>
-#include <globstr.hrc>
 #include <scextopt.hxx>
 #include <progress.hxx>
 #include <rangenam.hxx>
diff --git a/sc/source/filter/excel/read.cxx b/sc/source/filter/excel/read.cxx
index 54fd40dea65a..903b6fca70fc 100644
--- a/sc/source/filter/excel/read.cxx
+++ b/sc/source/filter/excel/read.cxx
@@ -22,6 +22,7 @@
 #include <document.hxx>
 #include <scerrors.hxx>
 #include <fprogressbar.hxx>
+#include <globstr.hrc>
 #include <xltracer.hxx>
 #include <xltable.hxx>
 #include <xihelper.hxx>
diff --git a/sc/source/filter/excel/xehelper.cxx b/sc/source/filter/excel/xehelper.cxx
index 0d9d7b473462..45b17ab694a1 100644
--- a/sc/source/filter/excel/xehelper.cxx
+++ b/sc/source/filter/excel/xehelper.cxx
@@ -43,6 +43,7 @@
 #include <scmatrix.hxx>
 #include <xestyle.hxx>
 #include <fprogressbar.hxx>
+#include <globstr.hrc>
 #include <xltracer.hxx>
 #include <xecontent.hxx>
 #include <xelink.hxx>
diff --git a/sc/source/filter/excel/xename.cxx b/sc/source/filter/excel/xename.cxx
index d0f957924a99..4f9963b53b1f 100644
--- a/sc/source/filter/excel/xename.cxx
+++ b/sc/source/filter/excel/xename.cxx
@@ -21,7 +21,6 @@
 
 #include <map>
 
-#include <globstr.hrc>
 #include <document.hxx>
 #include <rangenam.hxx>
 #include <dbdata.hxx>
diff --git a/sc/source/filter/ftools/fprogressbar.cxx b/sc/source/filter/ftools/fprogressbar.cxx
index a3d63921ac4a..d61fdc2b2ae7 100644
--- a/sc/source/filter/ftools/fprogressbar.cxx
+++ b/sc/source/filter/ftools/fprogressbar.cxx
@@ -19,6 +19,7 @@
 
 #include <fprogressbar.hxx>
 #include <global.hxx>
+#include <globstr.hrc>
 #include <progress.hxx>
 #include <osl/diagnose.h>
 #include <o3tl/make_unique.hxx>
diff --git a/sc/source/filter/inc/fprogressbar.hxx b/sc/source/filter/inc/fprogressbar.hxx
index ae6f7f9c96cf..6e8946985e58 100644
--- a/sc/source/filter/inc/fprogressbar.hxx
+++ b/sc/source/filter/inc/fprogressbar.hxx
@@ -22,7 +22,6 @@
 
 #include <vector>
 #include <memory>
-#include <globstr.hrc>
 #include "ftools.hxx"
 #include <scdllapi.h>
 
diff --git a/sc/source/filter/xml/XMLExportDatabaseRanges.cxx b/sc/source/filter/xml/XMLExportDatabaseRanges.cxx
index 76e9438aa843..a11a796a7e3d 100644
--- a/sc/source/filter/xml/XMLExportDatabaseRanges.cxx
+++ b/sc/source/filter/xml/XMLExportDatabaseRanges.cxx
@@ -29,7 +29,6 @@
 #include <unonames.hxx>
 #include <dbdata.hxx>
 #include <document.hxx>
-#include <globstr.hrc>
 #include <globalnames.hxx>
 #include "XMLExportSharedData.hxx"
 #include <rangeutl.hxx>
diff --git a/sc/source/filter/xml/xmldrani.cxx b/sc/source/filter/xml/xmldrani.cxx
index 6297a62c7c7a..a323762d5c1b 100644
--- a/sc/source/filter/xml/xmldrani.cxx
+++ b/sc/source/filter/xml/xmldrani.cxx
@@ -22,7 +22,6 @@
 #include "xmlfilti.hxx"
 #include "xmlsorti.hxx"
 #include <document.hxx>
-#include <globstr.hrc>
 #include <globalnames.hxx>
 #include <docuno.hxx>
 #include <dbdata.hxx>
diff --git a/sc/source/ui/Accessibility/AccessibleCellBase.cxx b/sc/source/ui/Accessibility/AccessibleCellBase.cxx
index b8ca55e48091..287a5b19a841 100644
--- a/sc/source/ui/Accessibility/AccessibleCellBase.cxx
+++ b/sc/source/ui/Accessibility/AccessibleCellBase.cxx
@@ -25,8 +25,6 @@
 #include <docfunc.hxx>
 #include <docsh.hxx>
 #include <formulacell.hxx>
-#include <scresid.hxx>
-#include <strings.hrc>
 #include <strings.hxx>
 #include <unonames.hxx>
 #include <detfunc.hxx>
diff --git a/sc/source/ui/Accessibility/AccessiblePreviewHeaderCell.cxx b/sc/source/ui/Accessibility/AccessiblePreviewHeaderCell.cxx
index 6ba7b9e1e527..80eb03c026a5 100644
--- a/sc/source/ui/Accessibility/AccessiblePreviewHeaderCell.cxx
+++ b/sc/source/ui/Accessibility/AccessiblePreviewHeaderCell.cxx
@@ -30,8 +30,6 @@
 #include <prevwsh.hxx>
 #include <miscuno.hxx>
 #include <prevloc.hxx>
-#include <scresid.hxx>
-#include <strings.hrc>
 #include <strings.hxx>
 
 #include <com/sun/star/accessibility/AccessibleRole.hpp>
diff --git a/sc/source/ui/StatisticsDialogs/AnalysisOfVarianceDialog.cxx b/sc/source/ui/StatisticsDialogs/AnalysisOfVarianceDialog.cxx
index f6613f63d2e2..66672b095831 100644
--- a/sc/source/ui/StatisticsDialogs/AnalysisOfVarianceDialog.cxx
+++ b/sc/source/ui/StatisticsDialogs/AnalysisOfVarianceDialog.cxx
@@ -23,6 +23,7 @@
 #include <docfunc.hxx>
 #include <TableFillingAndNavigationTools.hxx>
 #include <AnalysisOfVarianceDialog.hxx>
+#include <scresid.hxx>
 #include <strings.hrc>
 
 namespace
diff --git a/sc/source/ui/StatisticsDialogs/ChiSquareTestDialog.cxx b/sc/source/ui/StatisticsDialogs/ChiSquareTestDialog.cxx
index ff6741ca0c70..36537e0e9ffa 100644
--- a/sc/source/ui/StatisticsDialogs/ChiSquareTestDialog.cxx
+++ b/sc/source/ui/StatisticsDialogs/ChiSquareTestDialog.cxx
@@ -22,6 +22,7 @@
 #include <docfunc.hxx>
 #include <TableFillingAndNavigationTools.hxx>
 #include <ChiSquareTestDialog.hxx>
+#include <scresid.hxx>
 #include <strings.hrc>
 
 ScChiSquareTestDialog::ScChiSquareTestDialog(
diff --git a/sc/source/ui/StatisticsDialogs/CorrelationDialog.cxx b/sc/source/ui/StatisticsDialogs/CorrelationDialog.cxx
index 93be22dfe42f..48b7e7bbdcb9 100644
--- a/sc/source/ui/StatisticsDialogs/CorrelationDialog.cxx
+++ b/sc/source/ui/StatisticsDialogs/CorrelationDialog.cxx
@@ -11,6 +11,7 @@
 #include <docsh.hxx>
 #include <reffact.hxx>
 #include <CorrelationDialog.hxx>
+#include <scresid.hxx>
 #include <strings.hrc>
 
 ScCorrelationDialog::ScCorrelationDialog(
diff --git a/sc/source/ui/StatisticsDialogs/CovarianceDialog.cxx b/sc/source/ui/StatisticsDialogs/CovarianceDialog.cxx
index ea9b25a5abf4..4407a50b691c 100644
--- a/sc/source/ui/StatisticsDialogs/CovarianceDialog.cxx
+++ b/sc/source/ui/StatisticsDialogs/CovarianceDialog.cxx
@@ -11,6 +11,7 @@
 #include <docsh.hxx>
 #include <reffact.hxx>
 #include <CovarianceDialog.hxx>
+#include <scresid.hxx>
 #include <strings.hrc>
 
 ScCovarianceDialog::ScCovarianceDialog(
diff --git a/sc/source/ui/StatisticsDialogs/DescriptiveStatisticsDialog.cxx b/sc/source/ui/StatisticsDialogs/DescriptiveStatisticsDialog.cxx
index 6c8e24d3daae..91537815b59c 100644
--- a/sc/source/ui/StatisticsDialogs/DescriptiveStatisticsDialog.cxx
+++ b/sc/source/ui/StatisticsDialogs/DescriptiveStatisticsDialog.cxx
@@ -23,6 +23,7 @@
 #include <docfunc.hxx>
 #include <TableFillingAndNavigationTools.hxx>
 #include <DescriptiveStatisticsDialog.hxx>
+#include <scresid.hxx>
 #include <strings.hrc>
 
 namespace
diff --git a/sc/source/ui/StatisticsDialogs/ExponentialSmoothingDialog.cxx b/sc/source/ui/StatisticsDialogs/ExponentialSmoothingDialog.cxx
index 6d3a067ed482..4fc1d7be9ae3 100644
--- a/sc/source/ui/StatisticsDialogs/ExponentialSmoothingDialog.cxx
+++ b/sc/source/ui/StatisticsDialogs/ExponentialSmoothingDialog.cxx
@@ -23,6 +23,7 @@
 #include <docfunc.hxx>
 #include <TableFillingAndNavigationTools.hxx>
 #include <ExponentialSmoothingDialog.hxx>
+#include <scresid.hxx>
 #include <strings.hrc>
 
 ScExponentialSmoothingDialog::ScExponentialSmoothingDialog(
diff --git a/sc/source/ui/StatisticsDialogs/FTestDialog.cxx b/sc/source/ui/StatisticsDialogs/FTestDialog.cxx
index 1c9560d729a5..10d6aa8cb273 100644
--- a/sc/source/ui/StatisticsDialogs/FTestDialog.cxx
+++ b/sc/source/ui/StatisticsDialogs/FTestDialog.cxx
@@ -23,6 +23,7 @@
 #include <docfunc.hxx>
 #include <TableFillingAndNavigationTools.hxx>
 #include <FTestDialog.hxx>
+#include <scresid.hxx>
 #include <strings.hrc>
 
 ScFTestDialog::ScFTestDialog(
diff --git a/sc/source/ui/StatisticsDialogs/MatrixComparisonGenerator.cxx b/sc/source/ui/StatisticsDialogs/MatrixComparisonGenerator.cxx
index 98d022ca7880..71187d018dfa 100644
--- a/sc/source/ui/StatisticsDialogs/MatrixComparisonGenerator.cxx
+++ b/sc/source/ui/StatisticsDialogs/MatrixComparisonGenerator.cxx
@@ -22,6 +22,7 @@
 #include <docfunc.hxx>
 #include <TableFillingAndNavigationTools.hxx>
 #include <MatrixComparisonGenerator.hxx>
+#include <scresid.hxx>
 #include <strings.hrc>
 
 namespace
diff --git a/sc/source/ui/StatisticsDialogs/MovingAverageDialog.cxx b/sc/source/ui/StatisticsDialogs/MovingAverageDialog.cxx
index 6a9a817172b3..cd432d62b7e3 100644
--- a/sc/source/ui/StatisticsDialogs/MovingAverageDialog.cxx
+++ b/sc/source/ui/StatisticsDialogs/MovingAverageDialog.cxx
@@ -23,6 +23,7 @@
 #include <docfunc.hxx>
 #include <TableFillingAndNavigationTools.hxx>
 #include <MovingAverageDialog.hxx>
+#include <scresid.hxx>
 #include <strings.hrc>
 
 ScMovingAverageDialog::ScMovingAverageDialog(
diff --git a/sc/source/ui/StatisticsDialogs/RandomNumberGeneratorDialog.cxx b/sc/source/ui/StatisticsDialogs/RandomNumberGeneratorDialog.cxx
index b654beae5c29..379378c65def 100644
--- a/sc/source/ui/StatisticsDialogs/RandomNumberGeneratorDialog.cxx
+++ b/sc/source/ui/StatisticsDialogs/RandomNumberGeneratorDialog.cxx
@@ -20,6 +20,7 @@
 #include <uiitems.hxx>
 #include <reffact.hxx>
 #include <docfunc.hxx>
+#include <scresid.hxx>
 #include <strings.hrc>
 
 #include <random>
diff --git a/sc/source/ui/StatisticsDialogs/RegressionDialog.cxx b/sc/source/ui/StatisticsDialogs/RegressionDialog.cxx
index 768de6a38ed1..a07e94286c58 100644
--- a/sc/source/ui/StatisticsDialogs/RegressionDialog.cxx
+++ b/sc/source/ui/StatisticsDialogs/RegressionDialog.cxx
@@ -23,6 +23,7 @@
 #include <docfunc.hxx>
 #include <TableFillingAndNavigationTools.hxx>
 #include <RegressionDialog.hxx>
+#include <scresid.hxx>
 #include <strings.hrc>
 
 namespace
diff --git a/sc/source/ui/StatisticsDialogs/SamplingDialog.cxx b/sc/source/ui/StatisticsDialogs/SamplingDialog.cxx
index 46a317b22627..642b874fef1c 100644
--- a/sc/source/ui/StatisticsDialogs/SamplingDialog.cxx
+++ b/sc/source/ui/StatisticsDialogs/SamplingDialog.cxx
@@ -20,6 +20,7 @@
 #include <reffact.hxx>
 #include <docfunc.hxx>
 #include <SamplingDialog.hxx>
+#include <scresid.hxx>
 #include <strings.hrc>
 
 ScSamplingDialog::ScSamplingDialog(
diff --git a/sc/source/ui/StatisticsDialogs/TTestDialog.cxx b/sc/source/ui/StatisticsDialogs/TTestDialog.cxx
index 3d16d417b98e..76854cd48152 100644
--- a/sc/source/ui/StatisticsDialogs/TTestDialog.cxx
+++ b/sc/source/ui/StatisticsDialogs/TTestDialog.cxx
@@ -23,6 +23,7 @@
 #include <docfunc.hxx>
 #include <TableFillingAndNavigationTools.hxx>
 #include <TTestDialog.hxx>
+#include <scresid.hxx>
 #include <strings.hrc>
 
 ScTTestDialog::ScTTestDialog(
diff --git a/sc/source/ui/StatisticsDialogs/ZTestDialog.cxx b/sc/source/ui/StatisticsDialogs/ZTestDialog.cxx
index a0dc5c0b6f2a..8bfb2fcf988c 100644
--- a/sc/source/ui/StatisticsDialogs/ZTestDialog.cxx
+++ b/sc/source/ui/StatisticsDialogs/ZTestDialog.cxx
@@ -23,6 +23,7 @@
 #include <docfunc.hxx>
 #include <TableFillingAndNavigationTools.hxx>
 #include <ZTestDialog.hxx>
+#include <scresid.hxx>
 #include <strings.hrc>
 
 ScZTestDialog::ScZTestDialog(
diff --git a/sc/source/ui/app/scmod.cxx b/sc/source/ui/app/scmod.cxx
index 54ae2ed9956b..f13ea7092623 100644
--- a/sc/source/ui/app/scmod.cxx
+++ b/sc/source/ui/app/scmod.cxx
@@ -91,12 +91,10 @@
 #include <scerrors.hrc>
 #include <scstyles.hrc>
 #include <globstr.hrc>
-#include <strings.hrc>
 #include <bitmaps.hlst>
 #include <inputhdl.hxx>
 #include <inputwin.hxx>
 #include <msgpool.hxx>
-#include <scresid.hxx>
 #include <dwfunctr.hxx>
 #include <formdata.hxx>
 #include <tpprint.hxx>
diff --git a/sc/source/ui/attrdlg/attrdlg.cxx b/sc/source/ui/attrdlg/attrdlg.cxx
index 8eecdd341f08..b47339ac5721 100644
--- a/sc/source/ui/attrdlg/attrdlg.cxx
+++ b/sc/source/ui/attrdlg/attrdlg.cxx
@@ -27,7 +27,6 @@
 
 #include <tabpages.hxx>
 #include <attrdlg.hxx>
-#include <scresid.hxx>
 #include <svx/svxdlg.hxx>
 #include <svx/dialogs.hrc>
 #include <svx/flagsdef.hxx>
diff --git a/sc/source/ui/attrdlg/tabpages.cxx b/sc/source/ui/attrdlg/tabpages.cxx
index 36fa308e99ab..16ac977d387b 100644
--- a/sc/source/ui/attrdlg/tabpages.cxx
+++ b/sc/source/ui/attrdlg/tabpages.cxx
@@ -22,7 +22,6 @@
 #include <global.hxx>
 #include <document.hxx>
 #include <attrib.hxx>
-#include <scresid.hxx>
 #include <sc.hrc>
 
 #include <tabpages.hxx>
diff --git a/sc/source/ui/condformat/condformatdlg.cxx b/sc/source/ui/condformat/condformatdlg.cxx
index b79bb01782a0..7776ea958f86 100644
--- a/sc/source/ui/condformat/condformatdlg.cxx
+++ b/sc/source/ui/condformat/condformatdlg.cxx
@@ -33,8 +33,6 @@
 #include <condformatdlgentry.hxx>
 #include <condformatdlgitem.hxx>
 
-#include <globstr.hrc>
-
 ScCondFormatList::ScCondFormatList(vcl::Window* pParent, WinBits nStyle)
     : Control(pParent, nStyle | WB_DIALOGCONTROL)
     , mbHasScrollBar(false)
diff --git a/sc/source/ui/condformat/condformatdlgentry.cxx b/sc/source/ui/condformat/condformatdlgentry.cxx
index 88fac76ec789..d4bc1bc3bcdd 100644
--- a/sc/source/ui/condformat/condformatdlgentry.cxx
+++ b/sc/source/ui/condformat/condformatdlgentry.cxx
@@ -31,7 +31,7 @@
 #include <simpleformulacalc.hxx>
 
 #include <colorformat.hxx>
-
+#include <scresid.hxx>
 #include <globstr.hrc>
 #include <strings.hrc>
 
diff --git a/sc/source/ui/condformat/condformatmgr.cxx b/sc/source/ui/condformat/condformatmgr.cxx
index 28c5185cb17d..2a18c4289ada 100644
--- a/sc/source/ui/condformat/condformatmgr.cxx
+++ b/sc/source/ui/condformat/condformatmgr.cxx
@@ -8,7 +8,6 @@
  */
 
 #include <condformatmgr.hxx>
-#include <scresid.hxx>
 #include <globstr.hrc>
 #include <condformatdlg.hxx>
 #include <document.hxx>
diff --git a/sc/source/ui/dbgui/dapidata.cxx b/sc/source/ui/dbgui/dapidata.cxx
index 7dc6efab5440..4e6e36e5eee8 100644
--- a/sc/source/ui/dbgui/dapidata.cxx
+++ b/sc/source/ui/dbgui/dapidata.cxx
@@ -33,7 +33,6 @@
 using namespace com::sun::star;
 
 #include <dapidata.hxx>
-#include <scresid.hxx>
 #include <sc.hrc>
 #include <miscuno.hxx>
 #include <dpsdbtab.hxx>
diff --git a/sc/source/ui/dbgui/dapitype.cxx b/sc/source/ui/dbgui/dapitype.cxx
index 9f0ab712328e..9ac30f715f78 100644
--- a/sc/source/ui/dbgui/dapitype.cxx
+++ b/sc/source/ui/dbgui/dapitype.cxx
@@ -20,7 +20,6 @@
 #undef SC_DLLIMPLEMENTATION
 
 #include <dapitype.hxx>
-#include <scresid.hxx>
 #include <sc.hrc>
 
 using namespace com::sun::star;
diff --git a/sc/source/ui/dbgui/dbnamdlg.cxx b/sc/source/ui/dbgui/dbnamdlg.cxx
index 45de6c7a64b8..bb9a65174ad2 100644
--- a/sc/source/ui/dbgui/dbnamdlg.cxx
+++ b/sc/source/ui/dbgui/dbnamdlg.cxx
@@ -28,7 +28,6 @@
 
 #include <reffact.hxx>
 #include <document.hxx>
-#include <scresid.hxx>
 #include <globstr.hrc>
 #include <rangenam.hxx>
 #include <globalnames.hxx>
diff --git a/sc/source/ui/dbgui/dpgroupdlg.cxx b/sc/source/ui/dbgui/dpgroupdlg.cxx
index dbcd78dbfa28..4f9f17261342 100644
--- a/sc/source/ui/dbgui/dpgroupdlg.cxx
+++ b/sc/source/ui/dbgui/dpgroupdlg.cxx
@@ -22,7 +22,6 @@
 #endif
 
 #include <dpgroupdlg.hxx>
-#include <scresid.hxx>
 #include <sc.hrc>
 #include <globstr.hrc>
 
diff --git a/sc/source/ui/dbgui/imoptdlg.cxx b/sc/source/ui/dbgui/imoptdlg.cxx
index a13a41cfa2f3..0407642692de 100644
--- a/sc/source/ui/dbgui/imoptdlg.cxx
+++ b/sc/source/ui/dbgui/imoptdlg.cxx
@@ -19,7 +19,6 @@
 
 #include <imoptdlg.hxx>
 #include <asciiopt.hxx>
-#include <scresid.hxx>
 #include <comphelper/string.hxx>
 #include <osl/thread.h>
 #include <rtl/tencinfo.h>
diff --git a/sc/source/ui/dbgui/pfiltdlg.cxx b/sc/source/ui/dbgui/pfiltdlg.cxx
index 331b607df22a..757cde2abed9 100644
--- a/sc/source/ui/dbgui/pfiltdlg.cxx
+++ b/sc/source/ui/dbgui/pfiltdlg.cxx
@@ -33,7 +33,6 @@
 
 #include <sc.hrc>
 #include <strings.hrc>
-#include <globstr.hrc>
 
 #include <pfiltdlg.hxx>
 #include <svl/zforlist.hxx>
diff --git a/sc/source/ui/dbgui/scendlg.cxx b/sc/source/ui/dbgui/scendlg.cxx
index 5520213fbbbb..5d61ff7c6c03 100644
--- a/sc/source/ui/dbgui/scendlg.cxx
+++ b/sc/source/ui/dbgui/scendlg.cxx
@@ -34,7 +34,6 @@
 #include <tabvwsh.hxx>
 #include <viewdata.hxx>
 #include <document.hxx>
-#include <scresid.hxx>
 #include <scendlg.hxx>
 
 ScNewScenarioDlg::ScNewScenarioDlg( vcl::Window* pParent, const OUString& rName, bool bEdit, bool bSheetProtected)
diff --git a/sc/source/ui/dbgui/sortdlg.cxx b/sc/source/ui/dbgui/sortdlg.cxx
index d4a4644d8831..d192885ac773 100644
--- a/sc/source/ui/dbgui/sortdlg.cxx
+++ b/sc/source/ui/dbgui/sortdlg.cxx
@@ -21,7 +21,6 @@
 
 #include <tpsort.hxx>
 #include <sortdlg.hxx>
-#include <scresid.hxx>
 
 ScSortDlg::ScSortDlg(vcl::Window* pParent, const SfxItemSet* pArgSet)
     : SfxTabDialog(pParent, "SortDialog", "modules/scalc/ui/sortdialog.ui", pArgSet)
diff --git a/sc/source/ui/dbgui/subtdlg.cxx b/sc/source/ui/dbgui/subtdlg.cxx
index 465f94694a01..4c269559f25c 100644
--- a/sc/source/ui/dbgui/subtdlg.cxx
+++ b/sc/source/ui/dbgui/subtdlg.cxx
@@ -20,7 +20,6 @@
 #undef SC_DLLIMPLEMENTATION
 
 #include <tpsubt.hxx>
-#include <scresid.hxx>
 #include <subtdlg.hxx>
 
 ScSubTotalDlg::ScSubTotalDlg(vcl::Window* pParent, const SfxItemSet* pArgSet)
diff --git a/sc/source/ui/docshell/tpstat.cxx b/sc/source/ui/docshell/tpstat.cxx
index 621e2150f09c..e81bad25910d 100644
--- a/sc/source/ui/docshell/tpstat.cxx
+++ b/sc/source/ui/docshell/tpstat.cxx
@@ -21,7 +21,6 @@
 
 #include <document.hxx>
 #include <docsh.hxx>
-#include <scresid.hxx>
 
 #include <tpstat.hxx>
 
diff --git a/sc/source/ui/drawfunc/chartsh.cxx b/sc/source/ui/drawfunc/chartsh.cxx
index bc6e2bb48c74..45e4b76e98ea 100644
--- a/sc/source/ui/drawfunc/chartsh.cxx
+++ b/sc/source/ui/drawfunc/chartsh.cxx
@@ -36,7 +36,6 @@
 #include <docpool.hxx>
 #include <drawview.hxx>
 #include <gridwin.hxx>
-#include <scresid.hxx>
 
 #define ShellClass_ScChartShell
 #include <scslots.hxx>
diff --git a/sc/source/ui/drawfunc/drawsh5.cxx b/sc/source/ui/drawfunc/drawsh5.cxx
index 59846c4e7cc8..f300b4e9495a 100644
--- a/sc/source/ui/drawfunc/drawsh5.cxx
+++ b/sc/source/ui/drawfunc/drawsh5.cxx
@@ -49,7 +49,6 @@
 #include <viewdata.hxx>
 #include <tabvwsh.hxx>
 #include <docsh.hxx>
-#include <scresid.hxx>
 #include <undotab.hxx>
 #include <drwlayer.hxx>
 #include <userdat.hxx>
diff --git a/sc/source/ui/drawfunc/drformsh.cxx b/sc/source/ui/drawfunc/drformsh.cxx
index 41d7359c9b63..43f37575fc1f 100644
--- a/sc/source/ui/drawfunc/drformsh.cxx
+++ b/sc/source/ui/drawfunc/drformsh.cxx
@@ -32,7 +32,6 @@
 #include <document.hxx>
 #include <docpool.hxx>
 #include <drawview.hxx>
-#include <scresid.hxx>
 #include <svx/svdobj.hxx>
 #include <vcl/EnumContext.hxx>
 
diff --git a/sc/source/ui/drawfunc/drtxtob.cxx b/sc/source/ui/drawfunc/drtxtob.cxx
index 8029644348bf..0da8c62579eb 100644
--- a/sc/source/ui/drawfunc/drtxtob.cxx
+++ b/sc/source/ui/drawfunc/drtxtob.cxx
@@ -70,7 +70,6 @@
 #include <document.hxx>
 #include <drawview.hxx>
 #include <viewutil.hxx>
-#include <scresid.hxx>
 #include <tabvwsh.hxx>
 #include <gridwin.hxx>
 
diff --git a/sc/source/ui/drawfunc/drtxtob1.cxx b/sc/source/ui/drawfunc/drtxtob1.cxx
index 12a845ca0400..6cdc699b83a9 100644
--- a/sc/source/ui/drawfunc/drtxtob1.cxx
+++ b/sc/source/ui/drawfunc/drtxtob1.cxx
@@ -34,7 +34,6 @@
 #include <drtxtob.hxx>
 #include <drawview.hxx>
 #include <viewdata.hxx>
-#include <scresid.hxx>
 #include <gridwin.hxx>
 
 #include <scabstdlg.hxx>
diff --git a/sc/source/ui/drawfunc/fuconrec.cxx b/sc/source/ui/drawfunc/fuconrec.cxx
index 05727fbe36f0..e2468a7fa78a 100644
--- a/sc/source/ui/drawfunc/fuconrec.cxx
+++ b/sc/source/ui/drawfunc/fuconrec.cxx
@@ -40,8 +40,6 @@
 #include <basegfx/polygon/b2dpolygon.hxx>
 #include <basegfx/point/b2dpoint.hxx>
 
-#include <scresid.hxx>
-
 FuConstRectangle::FuConstRectangle(ScTabViewShell* pViewSh, vcl::Window* pWin, ScDrawView* pViewP,
                    SdrModel* pDoc, const SfxRequest& rReq)
     : FuConstruct(pViewSh, pWin, pViewP, pDoc, rReq)
diff --git a/sc/source/ui/drawfunc/fudraw.cxx b/sc/source/ui/drawfunc/fudraw.cxx
index 630d3abc4818..b4c3ecda5974 100644
--- a/sc/source/ui/drawfunc/fudraw.cxx
+++ b/sc/source/ui/drawfunc/fudraw.cxx
@@ -34,11 +34,9 @@
 #include <futext.hxx>
 #include <tabvwsh.hxx>
 #include <drwlayer.hxx>
-#include <scresid.hxx>
 #include <userdat.hxx>
 #include <docsh.hxx>
 #include <postit.hxx>
-#include <globstr.hrc>
 #include <drawview.hxx>
 
 // base class for draw module specific functions
diff --git a/sc/source/ui/drawfunc/fuins2.cxx b/sc/source/ui/drawfunc/fuins2.cxx
index bcee011d6637..3c5eba5ba4cb 100644
--- a/sc/source/ui/drawfunc/fuins2.cxx
+++ b/sc/source/ui/drawfunc/fuins2.cxx
@@ -72,7 +72,6 @@
 #include <undotab.hxx>
 #include <chartlis.hxx>
 #include <uiitems.hxx>
-#include <globstr.hrc>
 #include <drawview.hxx>
 #include <markdata.hxx>
 #include <gridwin.hxx>
diff --git a/sc/source/ui/drawfunc/fusel.cxx b/sc/source/ui/drawfunc/fusel.cxx
index 966c31785b3f..3ca765679ddc 100644
--- a/sc/source/ui/drawfunc/fusel.cxx
+++ b/sc/source/ui/drawfunc/fusel.cxx
@@ -40,7 +40,6 @@
 #include <drawview.hxx>
 #include <tabvwsh.hxx>
 #include <drawpage.hxx>
-#include <globstr.hrc>
 #include <drwlayer.hxx>
 #include <userdat.hxx>
 #include <scmod.hxx>
diff --git a/sc/source/ui/drawfunc/oleobjsh.cxx b/sc/source/ui/drawfunc/oleobjsh.cxx
index 21bbcd3f3171..5ccf2c705db7 100644
--- a/sc/source/ui/drawfunc/oleobjsh.cxx
+++ b/sc/source/ui/drawfunc/oleobjsh.cxx
@@ -32,7 +32,6 @@
 #include <document.hxx>
 #include <docpool.hxx>
 #include <drawview.hxx>
-#include <scresid.hxx>
 #include <svx/svdobj.hxx>
 #include <vcl/EnumContext.hxx>
 
diff --git a/sc/source/ui/formdlg/dwfunctr.cxx b/sc/source/ui/formdlg/dwfunctr.cxx
index c5cad42309be..7f7848e5a432 100644
--- a/sc/source/ui/formdlg/dwfunctr.cxx
+++ b/sc/source/ui/formdlg/dwfunctr.cxx
@@ -27,7 +27,6 @@
 
 #include <sc.hrc>
 #include <global.hxx>
-#include <scresid.hxx>
 #include <reffact.hxx>
 #include <document.hxx>
 #include <formulacell.hxx>
diff --git a/sc/source/ui/formdlg/formula.cxx b/sc/source/ui/formdlg/formula.cxx
index 4832a16df350..b26e43aab1da 100644
--- a/sc/source/ui/formdlg/formula.cxx
+++ b/sc/source/ui/formdlg/formula.cxx
@@ -37,8 +37,6 @@
 #include <tokenuno.hxx>
 #include <formula.hxx>
 #include <formdata.hxx>
-#include <globstr.hrc>
-#include <scresid.hxx>
 #include <reffact.hxx>
 #include <document.hxx>
 #include <simpleformulacalc.hxx>
diff --git a/sc/source/ui/inc/anyrefdg.hxx b/sc/source/ui/inc/anyrefdg.hxx
index 556153c672e5..084f15e1b62c 100644
--- a/sc/source/ui/inc/anyrefdg.hxx
+++ b/sc/source/ui/inc/anyrefdg.hxx
@@ -29,7 +29,6 @@
 #include <compiler.hxx>
 #include <formula/funcutl.hxx>
 #include "IAnyRefDialog.hxx"
-#include <scresid.hxx>
 #include <scmod.hxx>
 
 #include <memory>
diff --git a/sc/source/ui/inc/namemgrtable.hxx b/sc/source/ui/inc/namemgrtable.hxx
index 33516f466659..1e9b2cd09c55 100644
--- a/sc/source/ui/inc/namemgrtable.hxx
+++ b/sc/source/ui/inc/namemgrtable.hxx
@@ -13,7 +13,6 @@
 #include <svtools/simptabl.hxx>
 #include <vcl/ctrl.hxx>
 
-#include <scresid.hxx>
 #include <address.hxx>
 
 #include <memory>
diff --git a/sc/source/ui/miscdlgs/acredlin.cxx b/sc/source/ui/miscdlgs/acredlin.cxx
index aa857b578416..03f89b69f955 100644
--- a/sc/source/ui/miscdlgs/acredlin.cxx
+++ b/sc/source/ui/miscdlgs/acredlin.cxx
@@ -31,7 +31,6 @@
 #include <document.hxx>
 #include <docsh.hxx>
 #include <scresid.hxx>
-#include <globstr.hrc>
 #include <strings.hrc>
 #include <simpref.hxx>
 #include <scmod.hxx>
diff --git a/sc/source/ui/miscdlgs/anyrefdg.cxx b/sc/source/ui/miscdlgs/anyrefdg.cxx
index 84bf8c23bdf7..4ff02b2c1754 100644
--- a/sc/source/ui/miscdlgs/anyrefdg.cxx
+++ b/sc/source/ui/miscdlgs/anyrefdg.cxx
@@ -30,7 +30,6 @@
 #include <sc.hrc>
 #include <inputhdl.hxx>
 #include <scmod.hxx>
-#include <scresid.hxx>
 #include <inputwin.hxx>
 #include <tabvwsh.hxx>
 #include <docsh.hxx>
diff --git a/sc/source/ui/miscdlgs/autofmt.cxx b/sc/source/ui/miscdlgs/autofmt.cxx
index 9dfd7054e133..a1eab0e5b4f2 100644
--- a/sc/source/ui/miscdlgs/autofmt.cxx
+++ b/sc/source/ui/miscdlgs/autofmt.cxx
@@ -42,7 +42,6 @@
 #include <attrib.hxx>
 #include <zforauto.hxx>
 #include <global.hxx>
-#include <globstr.hrc>
 #include <autoform.hxx>
 #include <autofmt.hxx>
 #include <scresid.hxx>
diff --git a/sc/source/ui/miscdlgs/crdlg.cxx b/sc/source/ui/miscdlgs/crdlg.cxx
index d075a8c9a948..3ca8726c2895 100644
--- a/sc/source/ui/miscdlgs/crdlg.cxx
+++ b/sc/source/ui/miscdlgs/crdlg.cxx
@@ -20,8 +20,6 @@
 #undef SC_DLLIMPLEMENTATION
 
 #include <crdlg.hxx>
-#include <scresid.hxx>
-#include <strings.hrc>
 
 ScColOrRowDlg::ScColOrRowDlg(vcl::Window* pParent, const OUString& rStrTitle,
     const OUString& rStrLabel)
diff --git a/sc/source/ui/miscdlgs/crnrdlg.cxx b/sc/source/ui/miscdlgs/crnrdlg.cxx
index 8cbdf77a2b1c..c43811ca39a6 100644
--- a/sc/source/ui/miscdlgs/crnrdlg.cxx
+++ b/sc/source/ui/miscdlgs/crnrdlg.cxx
@@ -19,7 +19,6 @@
 
 #include <reffact.hxx>
 #include <document.hxx>
-#include <scresid.hxx>
 #include <globstr.hrc>
 #include <docsh.hxx>
 #include <crnrdlg.hxx>
diff --git a/sc/source/ui/miscdlgs/datafdlg.cxx b/sc/source/ui/miscdlgs/datafdlg.cxx
index 7448ffcb3e1e..f023a3d2dc57 100644
--- a/sc/source/ui/miscdlgs/datafdlg.cxx
+++ b/sc/source/ui/miscdlgs/datafdlg.cxx
@@ -10,7 +10,6 @@
 #undef SC_DLLIMPLEMENTATION
 
 #include <datafdlg.hxx>
-#include <scresid.hxx>
 #include <viewdata.hxx>
 #include <docsh.hxx>
 #include <refundo.hxx>
diff --git a/sc/source/ui/miscdlgs/delcldlg.cxx b/sc/source/ui/miscdlgs/delcldlg.cxx
index f4991d4e2225..7ac05e33f37e 100644
--- a/sc/source/ui/miscdlgs/delcldlg.cxx
+++ b/sc/source/ui/miscdlgs/delcldlg.cxx
@@ -20,8 +20,6 @@
 #undef SC_DLLIMPLEMENTATION
 
 #include <delcldlg.hxx>
-#include <scresid.hxx>
-#include <strings.hrc>
 
 static sal_uInt8 nDelItemChecked=0;
 
diff --git a/sc/source/ui/miscdlgs/delcodlg.cxx b/sc/source/ui/miscdlgs/delcodlg.cxx
index 5aea9e833df3..f4c8ea972e6a 100644
--- a/sc/source/ui/miscdlgs/delcodlg.cxx
+++ b/sc/source/ui/miscdlgs/delcodlg.cxx
@@ -20,8 +20,6 @@
 #undef SC_DLLIMPLEMENTATION
 
 #include <delcodlg.hxx>
-#include <scresid.hxx>
-#include <strings.hrc>
 
 bool       ScDeleteContentsDlg::bPreviousAllCheck = false;
 InsertDeleteFlags ScDeleteContentsDlg::nPreviousChecks   = (InsertDeleteFlags::DATETIME | InsertDeleteFlags::STRING  |
diff --git a/sc/source/ui/miscdlgs/filldlg.cxx b/sc/source/ui/miscdlgs/filldlg.cxx
index c6ea273083e5..adf3aac517d0 100644
--- a/sc/source/ui/miscdlgs/filldlg.cxx
+++ b/sc/source/ui/miscdlgs/filldlg.cxx
@@ -26,7 +26,6 @@
 
 #include <scresid.hxx>
 #include <document.hxx>
-#include <globstr.hrc>
 #include <strings.hrc>
 #include <filldlg.hxx>
 
diff --git a/sc/source/ui/miscdlgs/groupdlg.cxx b/sc/source/ui/miscdlgs/groupdlg.cxx
index d575ac0d6817..371a76790597 100644
--- a/sc/source/ui/miscdlgs/groupdlg.cxx
+++ b/sc/source/ui/miscdlgs/groupdlg.cxx
@@ -20,7 +20,6 @@
 #undef SC_DLLIMPLEMENTATION
 
 #include <groupdlg.hxx>
-#include <scresid.hxx>
 
 ScGroupDlg::ScGroupDlg(vcl::Window* pParent, bool bUngroup, bool bRows)
     : ModalDialog(pParent,
diff --git a/sc/source/ui/miscdlgs/highred.cxx b/sc/source/ui/miscdlgs/highred.cxx
index 72ad52d5fd5a..36f231abcbfd 100644
--- a/sc/source/ui/miscdlgs/highred.cxx
+++ b/sc/source/ui/miscdlgs/highred.cxx
@@ -21,8 +21,6 @@
 #include <reffact.hxx>
 #include <document.hxx>
 #include <docsh.hxx>
-#include <scresid.hxx>
-#include <globstr.hrc>
 
 #include <highred.hxx>
 #include <sfx2/app.hxx>
diff --git a/sc/source/ui/miscdlgs/inscldlg.cxx b/sc/source/ui/miscdlgs/inscldlg.cxx
index ceb4c4a85021..acc5ed72d29c 100644
--- a/sc/source/ui/miscdlgs/inscldlg.cxx
+++ b/sc/source/ui/miscdlgs/inscldlg.cxx
@@ -20,8 +20,6 @@
 #undef SC_DLLIMPLEMENTATION
 
 #include <inscldlg.hxx>
-#include <scresid.hxx>
-#include <strings.hrc>
 
 static sal_uInt8 nInsItemChecked=0;
 
diff --git a/sc/source/ui/miscdlgs/inscodlg.cxx b/sc/source/ui/miscdlgs/inscodlg.cxx
index eddd015b646d..4a3fbeef67e5 100644
--- a/sc/source/ui/miscdlgs/inscodlg.cxx
+++ b/sc/source/ui/miscdlgs/inscodlg.cxx
@@ -20,8 +20,6 @@
 #undef SC_DLLIMPLEMENTATION
 
 #include <inscodlg.hxx>
-#include <scresid.hxx>
-#include <strings.hrc>
 
 bool       ScInsertContentsDlg::bPreviousAllCheck = false;
 InsertDeleteFlags ScInsertContentsDlg::nPreviousChecks   = (InsertDeleteFlags::VALUE | InsertDeleteFlags::DATETIME | InsertDeleteFlags::STRING);
diff --git a/sc/source/ui/miscdlgs/instbdlg.cxx b/sc/source/ui/miscdlgs/instbdlg.cxx
index 83a301ceff1c..3848936fdd42 100644
--- a/sc/source/ui/miscdlgs/instbdlg.cxx
+++ b/sc/source/ui/miscdlgs/instbdlg.cxx
@@ -30,7 +30,6 @@
 #include <global.hxx>
 #include <docsh.hxx>
 #include <viewdata.hxx>
-#include <scresid.hxx>
 #include <globstr.hrc>
 #include <instbdlg.hxx>
 
diff --git a/sc/source/ui/miscdlgs/lbseldlg.cxx b/sc/source/ui/miscdlgs/lbseldlg.cxx
index fd0040cb37f5..ec5df0895c31 100644
--- a/sc/source/ui/miscdlgs/lbseldlg.cxx
+++ b/sc/source/ui/miscdlgs/lbseldlg.cxx
@@ -20,8 +20,6 @@
 #undef SC_DLLIMPLEMENTATION
 
 #include <lbseldlg.hxx>
-#include <scresid.hxx>
-#include <strings.hrc>
 
 ScSelEntryDlg::ScSelEntryDlg(vcl::Window*  pParent, const std::vector<OUString> &rEntryList)
     : ModalDialog(pParent, "SelectRangeDialog", "modules/scalc/ui/selectrange.ui")
diff --git a/sc/source/ui/miscdlgs/linkarea.cxx b/sc/source/ui/miscdlgs/linkarea.cxx
index 96cfee9ab2dc..65f69fa37462 100644
--- a/sc/source/ui/miscdlgs/linkarea.cxx
+++ b/sc/source/ui/miscdlgs/linkarea.cxx
@@ -31,7 +31,6 @@
 #include <vcl/waitobj.hxx>
 
 #include <linkarea.hxx>
-#include <scresid.hxx>
 #include <sc.hrc>
 #include <rangeutl.hxx>
 #include <docsh.hxx>
diff --git a/sc/source/ui/miscdlgs/mtrindlg.cxx b/sc/source/ui/miscdlgs/mtrindlg.cxx
index e53e19191c6f..7bcaf1465db4 100644
--- a/sc/source/ui/miscdlgs/mtrindlg.cxx
+++ b/sc/source/ui/miscdlgs/mtrindlg.cxx
@@ -20,8 +20,6 @@
 #undef SC_DLLIMPLEMENTATION
 
 #include <mtrindlg.hxx>
-#include <scresid.hxx>
-#include <strings.hrc>
 
 ScMetricInputDlg::ScMetricInputDlg( vcl::Window*         pParent,
                                     const OString&  sDialogName,
diff --git a/sc/source/ui/miscdlgs/mvtabdlg.cxx b/sc/source/ui/miscdlgs/mvtabdlg.cxx
index 0b2f7dc15b85..9c099d6c5536 100644
--- a/sc/source/ui/miscdlgs/mvtabdlg.cxx
+++ b/sc/source/ui/miscdlgs/mvtabdlg.cxx
@@ -22,9 +22,7 @@
 #include <mvtabdlg.hxx>
 #include <document.hxx>
 #include <docsh.hxx>
-#include <strings.hrc>
 #include <global.hxx>
-#include <scresid.hxx>
 #include <globstr.hrc>
 
 ScMoveTableDlg::ScMoveTableDlg(vcl::Window* pParent, const OUString& rDefault)
diff --git a/sc/source/ui/miscdlgs/namecrea.cxx b/sc/source/ui/miscdlgs/namecrea.cxx
index 9aa94d0d1d55..ca49886bf470 100644
--- a/sc/source/ui/miscdlgs/namecrea.cxx
+++ b/sc/source/ui/miscdlgs/namecrea.cxx
@@ -20,7 +20,6 @@
 #undef SC_DLLIMPLEMENTATION
 
 #include <namecrea.hxx>
-#include <scresid.hxx>
 
 ScNameCreateDlg::ScNameCreateDlg(weld::Window * pParent, CreateNameFlags nFlags)
     : GenericDialogController(pParent, "modules/scalc/ui/createnamesdialog.ui", "CreateNamesDialog")
diff --git a/sc/source/ui/miscdlgs/optsolver.cxx b/sc/source/ui/miscdlgs/optsolver.cxx
index 216c24a1bb6c..2faf061518b5 100644
--- a/sc/source/ui/miscdlgs/optsolver.cxx
+++ b/sc/source/ui/miscdlgs/optsolver.cxx
@@ -32,7 +32,6 @@
 #include <docfunc.hxx>
 #include <formulacell.hxx>
 #include <rangeutl.hxx>
-#include <scresid.hxx>
 #include <convuno.hxx>
 #include <unonames.hxx>
 #include <solveroptions.hxx>
diff --git a/sc/source/ui/miscdlgs/protectiondlg.cxx b/sc/source/ui/miscdlgs/protectiondlg.cxx
index 3513f14d266b..7a3c9c51cda0 100644
--- a/sc/source/ui/miscdlgs/protectiondlg.cxx
+++ b/sc/source/ui/miscdlgs/protectiondlg.cxx
@@ -18,7 +18,6 @@
  */
 
 #include <protectiondlg.hxx>
-#include <scresid.hxx>
 #include <tabprotection.hxx>
 
 #include <sal/macros.h>
diff --git a/sc/source/ui/miscdlgs/sharedocdlg.cxx b/sc/source/ui/miscdlgs/sharedocdlg.cxx
index 439b2e293ef4..020cd67c303e 100644
--- a/sc/source/ui/miscdlgs/sharedocdlg.cxx
+++ b/sc/source/ui/miscdlgs/sharedocdlg.cxx
@@ -28,7 +28,6 @@
 #include <com/sun/star/document/XDocumentProperties.hpp>
 
 #include <sharedocdlg.hxx>
-#include <scresid.hxx>
 #include <viewdata.hxx>
 
 using namespace ::com::sun::star;
diff --git a/sc/source/ui/miscdlgs/shtabdlg.cxx b/sc/source/ui/miscdlgs/shtabdlg.cxx
index f7b12d5d5f1c..008a1909ce10 100644
--- a/sc/source/ui/miscdlgs/shtabdlg.cxx
+++ b/sc/source/ui/miscdlgs/shtabdlg.cxx
@@ -20,8 +20,6 @@
 #undef SC_DLLIMPLEMENTATION
 
 #include <shtabdlg.hxx>
-#include <scresid.hxx>
-#include <strings.hrc>
 
 ScShowTabDlg::ScShowTabDlg(vcl::Window* pParent)
     : ModalDialog(pParent, "ShowSheetDialog", "modules/scalc/ui/showsheetdialog.ui")
diff --git a/sc/source/ui/miscdlgs/simpref.cxx b/sc/source/ui/miscdlgs/simpref.cxx
index 8ac7214ca8ba..9416c01fffb0 100644
--- a/sc/source/ui/miscdlgs/simpref.cxx
+++ b/sc/source/ui/miscdlgs/simpref.cxx
@@ -21,8 +21,6 @@
 
 #include <reffact.hxx>
 #include <document.hxx>
-#include <scresid.hxx>
-#include <globstr.hrc>
 #include <rangenam.hxx>
 #include <simpref.hxx>
 #include <scmod.hxx>
diff --git a/sc/source/ui/miscdlgs/solveroptions.cxx b/sc/source/ui/miscdlgs/solveroptions.cxx
index 74aba52a1d9e..cc26a8ce849f 100644
--- a/sc/source/ui/miscdlgs/solveroptions.cxx
+++ b/sc/source/ui/miscdlgs/solveroptions.cxx
@@ -19,7 +19,6 @@
 
 #include <memory>
 #include <solveroptions.hxx>
-#include <scresid.hxx>
 #include <global.hxx>
 #include <miscuno.hxx>
 #include <solverutil.hxx>
diff --git a/sc/source/ui/miscdlgs/solvrdlg.cxx b/sc/source/ui/miscdlgs/solvrdlg.cxx
index 7fd9948e27c4..0fd0fb093075 100644
--- a/sc/source/ui/miscdlgs/solvrdlg.cxx
+++ b/sc/source/ui/miscdlgs/solvrdlg.cxx
@@ -26,7 +26,6 @@
 #include <uiitems.hxx>
 #include <reffact.hxx>
 #include <document.hxx>
-#include <scresid.hxx>
 #include <globstr.hrc>
 #include <sc.hrc>
 #include <solvrdlg.hxx>
diff --git a/sc/source/ui/miscdlgs/strindlg.cxx b/sc/source/ui/miscdlgs/strindlg.cxx
index d9100992db6b..5ecb5f575244 100644
--- a/sc/source/ui/miscdlgs/strindlg.cxx
+++ b/sc/source/ui/miscdlgs/strindlg.cxx
@@ -20,7 +20,6 @@
 #undef SC_DLLIMPLEMENTATION
 
 #include <strindlg.hxx>
-#include <scresid.hxx>
 #include <vcl/svapp.hxx>
 
 ScStringInputDlg::ScStringInputDlg(weld::Window* pParent,
diff --git a/sc/source/ui/miscdlgs/tabbgcolordlg.cxx b/sc/source/ui/miscdlgs/tabbgcolordlg.cxx
index 700402238913..7eb73104b3fb 100644
--- a/sc/source/ui/miscdlgs/tabbgcolordlg.cxx
+++ b/sc/source/ui/miscdlgs/tabbgcolordlg.cxx
@@ -21,8 +21,6 @@
 
 #include <tabbgcolordlg.hxx>
 #include <sc.hrc>
-#include <scresid.hxx>
-#include <strings.hrc>
 
 #include <tools/color.hxx>
 #include <sfx2/objsh.hxx>
diff --git a/sc/source/ui/miscdlgs/textdlgs.cxx b/sc/source/ui/miscdlgs/textdlgs.cxx
index 5e06e95ddf6c..504d480cec36 100644
--- a/sc/source/ui/miscdlgs/textdlgs.cxx
+++ b/sc/source/ui/miscdlgs/textdlgs.cxx
@@ -27,7 +27,6 @@
 #include <svl/cjkoptions.hxx>
 
 #include <textdlgs.hxx>
-#include <scresid.hxx>
 #include <sc.hrc>
 #include <svl/intitem.hxx>
 #include <svx/flagsdef.hxx>
diff --git a/sc/source/ui/miscdlgs/warnbox.cxx b/sc/source/ui/miscdlgs/warnbox.cxx
index 279639c7996f..acf8046f2c50 100644
--- a/sc/source/ui/miscdlgs/warnbox.cxx
+++ b/sc/source/ui/miscdlgs/warnbox.cxx
@@ -21,8 +21,6 @@
 
 #include <scmod.hxx>
 #include <inputopt.hxx>
-#include <scresid.hxx>
-#include <strings.hrc>
 #include <helpids.h>
 
 ScReplaceWarnBox::ScReplaceWarnBox(weld::Window* pParent)
diff --git a/sc/source/ui/namedlg/namedlg.cxx b/sc/source/ui/namedlg/namedlg.cxx
index 73b780298519..c6c404f36c22 100644
--- a/sc/source/ui/namedlg/namedlg.cxx
+++ b/sc/source/ui/namedlg/namedlg.cxx
@@ -22,7 +22,6 @@
 #include <reffact.hxx>
 #include <document.hxx>
 #include <docfunc.hxx>
-#include <scresid.hxx>
 #include <globstr.hrc>
 #include <namedlg.hxx>
 #include <viewdata.hxx>
diff --git a/sc/source/ui/namedlg/namemgrtable.cxx b/sc/source/ui/namedlg/namemgrtable.cxx
index b0dd62dbda25..3e47b7cf8f06 100644
--- a/sc/source/ui/namedlg/namemgrtable.cxx
+++ b/sc/source/ui/namedlg/namemgrtable.cxx
@@ -13,7 +13,6 @@
 #include <reffact.hxx>
 #include <document.hxx>
 #include <docfunc.hxx>
-#include <scresid.hxx>
 #include <globstr.hrc>
 #include <namedlg.hxx>
 #include <viewdata.hxx>
diff --git a/sc/source/ui/namedlg/namepast.cxx b/sc/source/ui/namedlg/namepast.cxx
index bba2218c67a8..ff2b3cc21784 100644
--- a/sc/source/ui/namedlg/namepast.cxx
+++ b/sc/source/ui/namedlg/namepast.cxx
@@ -20,9 +20,7 @@
 #undef SC_DLLIMPLEMENTATION
 
 #include <namepast.hxx>
-#include <scresid.hxx>
 #include <docsh.hxx>
-#include <strings.hrc>
 #include <rangenam.hxx>
 #include <viewdata.hxx>
 
diff --git a/sc/source/ui/navipi/content.cxx b/sc/source/ui/navipi/content.cxx
index f1c905fd3fe4..9ef08f34ee91 100644
--- a/sc/source/ui/navipi/content.cxx
+++ b/sc/source/ui/navipi/content.cxx
@@ -50,7 +50,6 @@
 #include <dociter.hxx>
 #include <strings.hrc>
 #include <scresid.hxx>
-#include <globstr.hrc>
 #include <bitmaps.hlst>
 #include <arealink.hxx>
 #include <navicfg.hxx>
diff --git a/sc/source/ui/navipi/scenwnd.cxx b/sc/source/ui/navipi/scenwnd.cxx
index d574bf8dedaa..bcd4a3ba472f 100644
--- a/sc/source/ui/navipi/scenwnd.cxx
+++ b/sc/source/ui/navipi/scenwnd.cxx
@@ -26,9 +26,7 @@
 #include <vcl/weld.hxx>
 #include <vcl/settings.hxx>
 #include <navipi.hxx>
-#include <scresid.hxx>
 #include <sc.hrc>
-#include <strings.hrc>
 #include <globstr.hrc>
 
 // class ScScenarioWindow ------------------------------------------------
diff --git a/sc/source/ui/optdlg/calcoptionsdlg.cxx b/sc/source/ui/optdlg/calcoptionsdlg.cxx
index 4bb17dea3e22..74e7904249d7 100644
--- a/sc/source/ui/optdlg/calcoptionsdlg.cxx
+++ b/sc/source/ui/optdlg/calcoptionsdlg.cxx
@@ -18,7 +18,6 @@
 #include <docsh.hxx>
 #include <interpre.hxx>
 #include <sc.hrc>
-#include <scresid.hxx>
 #include <scopetools.hxx>
 #include <viewdata.hxx>
 
diff --git a/sc/source/ui/optdlg/opredlin.cxx b/sc/source/ui/optdlg/opredlin.cxx
index ba781c86e01c..4cee5bf1a1b6 100644
--- a/sc/source/ui/optdlg/opredlin.cxx
+++ b/sc/source/ui/optdlg/opredlin.cxx
@@ -32,10 +32,8 @@
 #include <viewopti.hxx>
 #include <tabvwsh.hxx>
 #include <uiitems.hxx>
-#include <scresid.hxx>
 #include <docsh.hxx>
 #include <sc.hrc>
-#include <globstr.hrc>
 
 #include <opredlin.hxx>
 
diff --git a/sc/source/ui/optdlg/tpcalc.cxx b/sc/source/ui/optdlg/tpcalc.cxx
index 4e03a51f0f92..af66b3e3c5f2 100644
--- a/sc/source/ui/optdlg/tpcalc.cxx
+++ b/sc/source/ui/optdlg/tpcalc.cxx
@@ -28,7 +28,6 @@
 #include <docsh.hxx>
 #include <document.hxx>
 #include <docoptio.hxx>
-#include <scresid.hxx>
 #include <sc.hrc>
 #include <officecfg/Office/Calc.hxx>
 
diff --git a/sc/source/ui/optdlg/tpcompatibility.cxx b/sc/source/ui/optdlg/tpcompatibility.cxx
index e23424da1117..55e171a41265 100644
--- a/sc/source/ui/optdlg/tpcompatibility.cxx
+++ b/sc/source/ui/optdlg/tpcompatibility.cxx
@@ -12,7 +12,6 @@
 #include <scmod.hxx>
 #include <tpcompatibility.hxx>
 #include <sc.hrc>
-#include <scresid.hxx>
 #include <appoptio.hxx>
 
 ScTpCompatOptions::ScTpCompatOptions(vcl::Window *pParent, const SfxItemSet &rCoreAttrs) :
diff --git a/sc/source/ui/optdlg/tpdefaults.cxx b/sc/source/ui/optdlg/tpdefaults.cxx
index dbff2ee5a795..5e6ef5338ac6 100644
--- a/sc/source/ui/optdlg/tpdefaults.cxx
+++ b/sc/source/ui/optdlg/tpdefaults.cxx
@@ -11,7 +11,6 @@
 
 #include <tpdefaults.hxx>
 #include <sc.hrc>
-#include <scresid.hxx>
 #include <scmod.hxx>
 #include <defaultsoptions.hxx>
 #include <document.hxx>
diff --git a/sc/source/ui/optdlg/tpprint.cxx b/sc/source/ui/optdlg/tpprint.cxx
index 2ba30bf352e6..1b6a7c300f97 100644
--- a/sc/source/ui/optdlg/tpprint.cxx
+++ b/sc/source/ui/optdlg/tpprint.cxx
@@ -24,7 +24,6 @@
 #include <tpprint.hxx>
 #include <printopt.hxx>
 #include <scmod.hxx>
-#include <scresid.hxx>
 #include <sc.hrc>
 
 ScTpPrintOptions::ScTpPrintOptions( vcl::Window*           pParent,
diff --git a/sc/source/ui/optdlg/tpusrlst.cxx b/sc/source/ui/optdlg/tpusrlst.cxx
index 1d76dd9ca94f..7671b1e65a4d 100644
--- a/sc/source/ui/optdlg/tpusrlst.cxx
+++ b/sc/source/ui/optdlg/tpusrlst.cxx
@@ -30,7 +30,6 @@
 #include <userlist.hxx>
 #include <rangeutl.hxx>
 #include <crdlg.hxx>
-#include <scresid.hxx>
 #include <sc.hrc>
 #include <globstr.hrc>
 #include <tpusrlst.hxx>
diff --git a/sc/source/ui/pagedlg/areasdlg.cxx b/sc/source/ui/pagedlg/areasdlg.cxx
index a317528a6dd4..37593fa0be04 100644
--- a/sc/source/ui/pagedlg/areasdlg.cxx
+++ b/sc/source/ui/pagedlg/areasdlg.cxx
@@ -27,7 +27,6 @@
 #include <stdlib.h>
 
 #include <areasdlg.hxx>
-#include <scresid.hxx>
 #include <rangenam.hxx>
 #include <reffact.hxx>
 #include <tabvwsh.hxx>
diff --git a/sc/source/ui/pagedlg/hfedtdlg.cxx b/sc/source/ui/pagedlg/hfedtdlg.cxx
index df9683bc2363..ac07d72d5029 100644
--- a/sc/source/ui/pagedlg/hfedtdlg.cxx
+++ b/sc/source/ui/pagedlg/hfedtdlg.cxx
@@ -25,7 +25,6 @@
 #include <hfedtdlg.hxx>
 #include <global.hxx>
 #include <globstr.hrc>
-#include <scresid.hxx>
 #include <scuitphfedit.hxx>
 
 ScHFEditDlg::ScHFEditDlg( vcl::Window*           pParent,
diff --git a/sc/source/ui/pagedlg/scuitphfedit.cxx b/sc/source/ui/pagedlg/scuitphfedit.cxx
index 04691a62f84b..33ec160f79f2 100644
--- a/sc/source/ui/pagedlg/scuitphfedit.cxx
+++ b/sc/source/ui/pagedlg/scuitphfedit.cxx
@@ -37,9 +37,7 @@
 #include <global.hxx>
 #include <attrib.hxx>
 #include <patattr.hxx>
-#include <scresid.hxx>
 #include <sc.hrc>
-#include <globstr.hrc>
 #include <tabvwsh.hxx>
 #include <prevwsh.hxx>
 #include <textdlgs.hxx>
diff --git a/sc/source/ui/pagedlg/tphf.cxx b/sc/source/ui/pagedlg/tphf.cxx
index 6b7b5f4bae03..13eedeaa0da0 100644
--- a/sc/source/ui/pagedlg/tphf.cxx
+++ b/sc/source/ui/pagedlg/tphf.cxx
@@ -34,7 +34,6 @@
 #include <document.hxx>
 #include <hfedtdlg.hxx>
 #include <styledlg.hxx>
-#include <scresid.hxx>
 #include <scuitphfedit.hxx>
 #include <memory>
 
diff --git a/sc/source/ui/pagedlg/tptable.cxx b/sc/source/ui/pagedlg/tptable.cxx
index 2b962a9c8dce..59f388d486c9 100644
--- a/sc/source/ui/pagedlg/tptable.cxx
+++ b/sc/source/ui/pagedlg/tptable.cxx
@@ -26,7 +26,6 @@
 #include <tptable.hxx>
 #include <global.hxx>
 #include <attrib.hxx>
-#include <scresid.hxx>
 #include <sc.hrc>
 #include <bitmaps.hlst>
 
diff --git a/sc/source/ui/sidebar/AlignmentPropertyPanel.cxx b/sc/source/ui/sidebar/AlignmentPropertyPanel.cxx
index 318aa838b891..f6801e6b078d 100644
--- a/sc/source/ui/sidebar/AlignmentPropertyPanel.cxx
+++ b/sc/source/ui/sidebar/AlignmentPropertyPanel.cxx
@@ -20,7 +20,6 @@
 #include "AlignmentPropertyPanel.hxx"
 #include <editeng/justifyitem.hxx>
 #include <sc.hrc>
-#include <scresid.hxx>
 #include <scitems.hxx>
 #include <sfx2/bindings.hxx>
 #include <sfx2/dispatch.hxx>
diff --git a/sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx b/sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx
index 537e4431555e..819929a6f8b2 100644
--- a/sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx
+++ b/sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx
@@ -21,9 +21,7 @@
 #include <sfx2/sidebar/ControlFactory.hxx>
 #include "CellAppearancePropertyPanel.hxx"
 #include <sc.hrc>
-#include <strings.hrc>
 #include <bitmaps.hlst>
-#include <scresid.hxx>
 #include <sfx2/bindings.hxx>
 #include <sfx2/dispatch.hxx>
 #include <vcl/fixed.hxx>
diff --git a/sc/source/ui/sidebar/CellBorderStyleControl.cxx b/sc/source/ui/sidebar/CellBorderStyleControl.cxx
index d516da3a3fc9..353880a9fb3f 100644
--- a/sc/source/ui/sidebar/CellBorderStyleControl.cxx
+++ b/sc/source/ui/sidebar/CellBorderStyleControl.cxx
@@ -19,7 +19,6 @@
 
 #include "CellBorderStyleControl.hxx"
 #include <sc.hrc>
-#include <scresid.hxx>
 #include <editeng/boxitem.hxx>
 #include <editeng/borderline.hxx>
 #include "CellAppearancePropertyPanel.hxx"
diff --git a/sc/source/ui/sidebar/CellLineStyleControl.cxx b/sc/source/ui/sidebar/CellLineStyleControl.cxx
index cd61e69c3d9d..5bd685cf821e 100644
--- a/sc/source/ui/sidebar/CellLineStyleControl.cxx
+++ b/sc/source/ui/sidebar/CellLineStyleControl.cxx
@@ -19,7 +19,6 @@
 
 #include "CellLineStyleControl.hxx"
 #include <sc.hrc>
-#include <scresid.hxx>
 #include "CellLineStyleValueSet.hxx"
 #include <vcl/i18nhelp.hxx>
 #include <vcl/settings.hxx>
diff --git a/sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx b/sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx
index e56ade71b0d5..47f251e50215 100644
--- a/sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx
+++ b/sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx
@@ -20,7 +20,6 @@
 #include <sfx2/sidebar/ControlFactory.hxx>
 #include "NumberFormatPropertyPanel.hxx"
 #include <sc.hrc>
-#include <scresid.hxx>
 #include <sfx2/bindings.hxx>
 #include <sfx2/dispatch.hxx>
 #include <vcl/fixed.hxx>
diff --git a/sc/source/ui/styleui/styledlg.cxx b/sc/source/ui/styleui/styledlg.cxx
index e68b412fcaa2..568e4b66999d 100644
--- a/sc/source/ui/styleui/styledlg.cxx
+++ b/sc/source/ui/styleui/styledlg.cxx
@@ -29,9 +29,7 @@
 #include <tabpages.hxx>
 #include <tphf.hxx>
 #include <tptable.hxx>
-#include <scresid.hxx>
 #include <scres.hrc>
-#include <strings.hrc>
 #include <svx/svxdlg.hxx>
 #include <svx/svxids.hrc>
 #include <svx/dialogs.hrc>
diff --git a/sc/source/ui/undo/undobase.cxx b/sc/source/ui/undo/undobase.cxx
index abaaa8a88ae7..1c3b2428ea65 100644
--- a/sc/source/ui/undo/undobase.cxx
+++ b/sc/source/ui/undo/undobase.cxx
@@ -30,7 +30,6 @@
 #include <queryparam.hxx>
 #include <subtotalparam.hxx>
 #include <bcaslot.hxx>
-#include <globstr.hrc>
 #include <rowheightcontext.hxx>
 #include <column.hxx>
 #include <sortparam.hxx>
diff --git a/sc/source/ui/undo/undoutil.cxx b/sc/source/ui/undo/undoutil.cxx
index e60431d6d99f..66e97af2cade 100644
--- a/sc/source/ui/undo/undoutil.cxx
+++ b/sc/source/ui/undo/undoutil.cxx
@@ -23,7 +23,6 @@
 #include <tabvwsh.hxx>
 #include <document.hxx>
 #include <dbdata.hxx>
-#include <globstr.hrc>
 #include <globalnames.hxx>
 #include <global.hxx>
 #include <markdata.hxx>
diff --git a/sc/source/ui/unoobj/datauno.cxx b/sc/source/ui/unoobj/datauno.cxx
index 3127bfee7045..d67d0595521e 100644
--- a/sc/source/ui/unoobj/datauno.cxx
+++ b/sc/source/ui/unoobj/datauno.cxx
@@ -45,7 +45,6 @@
 #include <dbdocfun.hxx>
 #include <unonames.hxx>
 #include <globalnames.hxx>
-#include <globstr.hrc>
 #include <convuno.hxx>
 #include <hints.hxx>
 #include <attrib.hxx>
diff --git a/sc/source/ui/vba/vbarange.cxx b/sc/source/ui/vba/vbarange.cxx
index 0ed07439bec3..77ae1192c2f3 100644
--- a/sc/source/ui/vba/vbarange.cxx
+++ b/sc/source/ui/vba/vbarange.cxx
@@ -131,7 +131,6 @@
 #include <sfx2/viewfrm.hxx>
 #include <sfx2/itemwrapper.hxx>
 #include <sc.hrc>
-#include <globstr.hrc>
 #include <unonames.hxx>
 
 #include "service.hxx"
diff --git a/sc/source/ui/view/auditsh.cxx b/sc/source/ui/view/auditsh.cxx
index 2eedca4f6144..a90fda38efa2 100644
--- a/sc/source/ui/view/auditsh.cxx
+++ b/sc/source/ui/view/auditsh.cxx
@@ -27,7 +27,6 @@
 
 #include <auditsh.hxx>
 #include <tabvwsh.hxx>
-#include <scresid.hxx>
 #include <sc.hrc>
 #include <document.hxx>
 
diff --git a/sc/source/ui/view/cellsh.cxx b/sc/source/ui/view/cellsh.cxx
index 4fa7eb1c9a73..beca02abd382 100644
--- a/sc/source/ui/view/cellsh.cxx
+++ b/sc/source/ui/view/cellsh.cxx
@@ -43,7 +43,6 @@
 #include <sc.hrc>
 #include <docsh.hxx>
 #include <attrib.hxx>
-#include <scresid.hxx>
 #include <tabvwsh.hxx>
 #include <impex.hxx>
 #include <formulacell.hxx>
diff --git a/sc/source/ui/view/cellsh1.cxx b/sc/source/ui/view/cellsh1.cxx
index ef8e774008b5..d48b2babefee 100644
--- a/sc/source/ui/view/cellsh1.cxx
+++ b/sc/source/ui/view/cellsh1.cxx
@@ -55,7 +55,6 @@
 #include <document.hxx>
 #include <patattr.hxx>
 #include <scmod.hxx>
-#include <scresid.hxx>
 #include <tabvwsh.hxx>
 #include <impex.hxx>
 #include <reffind.hxx>
diff --git a/sc/source/ui/view/cellsh2.cxx b/sc/source/ui/view/cellsh2.cxx
index 2965aa1c8354..63225e8e9b92 100644
--- a/sc/source/ui/view/cellsh2.cxx
+++ b/sc/source/ui/view/cellsh2.cxx
@@ -54,7 +54,6 @@
 #include <reffact.hxx>
 #include <validat.hxx>
 #include <validate.hxx>
-#include <scresid.hxx>
 #include <datamapper.hxx>
 
 #include <scui_def.hxx>
diff --git a/sc/source/ui/view/editsh.cxx b/sc/source/ui/view/editsh.cxx
index 6299749c6b4d..804401b303f4 100644
--- a/sc/source/ui/view/editsh.cxx
+++ b/sc/source/ui/view/editsh.cxx
@@ -58,7 +58,6 @@
 #include <svl/stritem.hxx>
 
 #include <editsh.hxx>
-#include <scresid.hxx>
 #include <global.hxx>
 #include <sc.hrc>
 #include <scmod.hxx>
diff --git a/sc/source/ui/view/formatsh.cxx b/sc/source/ui/view/formatsh.cxx
index a910b01f877e..94076643c7cf 100644
--- a/sc/source/ui/view/formatsh.cxx
+++ b/sc/source/ui/view/formatsh.cxx
@@ -68,7 +68,6 @@
 #include <stlsheet.hxx>
 #include <printfun.hxx>
 #include <docpool.hxx>
-#include <scresid.hxx>
 #include <tabvwsh.hxx>
 #include <undostyl.hxx>
 #include <markdata.hxx>
diff --git a/sc/source/ui/view/hdrcont.cxx b/sc/source/ui/view/hdrcont.cxx
index 6a46c87e47a5..cc3366ba024b 100644
--- a/sc/source/ui/view/hdrcont.cxx
+++ b/sc/source/ui/view/hdrcont.cxx
@@ -23,7 +23,6 @@
 #include <tools/poly.hxx>
 #include <svtools/colorcfg.hxx>
 
-#include <scresid.hxx>
 #include <sc.hrc>
 #include <tabvwsh.hxx>
 #include <hdrcont.hxx>
diff --git a/sc/source/ui/view/olinewin.cxx b/sc/source/ui/view/olinewin.cxx
index 9a56fb6fd7c4..d60461963624 100644
--- a/sc/source/ui/view/olinewin.cxx
+++ b/sc/source/ui/view/olinewin.cxx
@@ -25,8 +25,6 @@
 #include <olinetab.hxx>
 #include <document.hxx>
 #include <dbfunc.hxx>
-#include <strings.hrc>
-#include <scresid.hxx>
 #include <bitmaps.hlst>
 
 const long SC_OL_BITMAPSIZE                 = 12;
diff --git a/sc/source/ui/view/output.cxx b/sc/source/ui/view/output.cxx
index 8005dd9c7e1d..edddda98954c 100644
--- a/sc/source/ui/view/output.cxx
+++ b/sc/source/ui/view/output.cxx
@@ -62,7 +62,6 @@
 #include <appoptio.hxx>
 #include <postit.hxx>
 
-#include <scresid.hxx>
 #include <colorscale.hxx>
 
 #include <math.h>
diff --git a/sc/source/ui/view/pgbrksh.cxx b/sc/source/ui/view/pgbrksh.cxx
index b3a7b4714844..7b1cc4de7b98 100644
--- a/sc/source/ui/view/pgbrksh.cxx
+++ b/sc/source/ui/view/pgbrksh.cxx
@@ -27,7 +27,6 @@
 
 #include <pgbrksh.hxx>
 #include <tabvwsh.hxx>
-#include <scresid.hxx>
 #include <document.hxx>
 #include <sc.hrc>
 
diff --git a/sc/source/ui/view/pivotsh.cxx b/sc/source/ui/view/pivotsh.cxx
index 039c5afd1098..750405f846a5 100644
--- a/sc/source/ui/view/pivotsh.cxx
+++ b/sc/source/ui/view/pivotsh.cxx
@@ -30,7 +30,6 @@
 #include <pivotsh.hxx>
 #include <tabvwsh.hxx>
 #include <docsh.hxx>
-#include <scresid.hxx>
 #include <document.hxx>
 #include <dpobject.hxx>
 #include <dpshttab.hxx>
diff --git a/sc/source/ui/view/prevwsh.cxx b/sc/source/ui/view/prevwsh.cxx
index fa6ae5dae200..f5ddf74e8853 100644
--- a/sc/source/ui/view/prevwsh.cxx
+++ b/sc/source/ui/view/prevwsh.cxx
@@ -51,7 +51,6 @@
 #include <tabvwsh.hxx>
 #include <stlpool.hxx>
 #include <editutil.hxx>
-#include <scresid.hxx>
 #include <globstr.hrc>
 #include <sc.hrc>
 #include <ViewSettingsSequenceDefines.hxx>
diff --git a/sc/source/ui/view/printfun.cxx b/sc/source/ui/view/printfun.cxx
index 7728f7fcfa3e..c1f11cdc8a56 100644
--- a/sc/source/ui/view/printfun.cxx
+++ b/sc/source/ui/view/printfun.cxx
@@ -59,7 +59,6 @@
 #include <formulacell.hxx>
 #include <drawutil.hxx>
 #include <globstr.hrc>
-#include <scresid.hxx>
 #include <sc.hrc>
 #include <pagedata.hxx>
 #include <printopt.hxx>
diff --git a/sc/source/ui/view/tabcont.cxx b/sc/source/ui/view/tabcont.cxx
index 874a22464c7a..62d270613978 100644
--- a/sc/source/ui/view/tabcont.cxx
+++ b/sc/source/ui/view/tabcont.cxx
@@ -26,7 +26,6 @@
 #include <tabvwsh.hxx>
 #include <docsh.hxx>
 #include <scmod.hxx>
-#include <scresid.hxx>
 #include <sc.hrc>
 #include <globstr.hrc>
 #include <transobj.hxx>
diff --git a/sc/source/ui/view/tabvwsh.cxx b/sc/source/ui/view/tabvwsh.cxx
index 81be622b0a21..665252f87ccb 100644
--- a/sc/source/ui/view/tabvwsh.cxx
+++ b/sc/source/ui/view/tabvwsh.cxx
@@ -35,7 +35,6 @@
 #include <tabvwsh.hxx>
 #include <docsh.hxx>
 #include <reffact.hxx>
-#include <scresid.hxx>
 #include <dwfunctr.hxx>
 #include <sc.hrc>
 #include <spelldialog.hxx>
diff --git a/sc/source/ui/view/tabvwsh4.cxx b/sc/source/ui/view/tabvwsh4.cxx
index 0b4bfa714cad..3eae8487e3c9 100644
--- a/sc/source/ui/view/tabvwsh4.cxx
+++ b/sc/source/ui/view/tabvwsh4.cxx
@@ -60,7 +60,6 @@
 #include <editutil.hxx>
 #include <inputopt.hxx>
 #include <inputwin.hxx>
-#include <scresid.hxx>
 #include <dbdata.hxx>
 #include <reffact.hxx>
 #include <viewuno.hxx>
diff --git a/sc/source/ui/view/tabvwsh5.cxx b/sc/source/ui/view/tabvwsh5.cxx
index 198fafc8e068..5215deb2c74f 100644
--- a/sc/source/ui/view/tabvwsh5.cxx
+++ b/sc/source/ui/view/tabvwsh5.cxx
@@ -33,7 +33,6 @@
 #include <docsh.hxx>
 #include <document.hxx>
 #include <formulacell.hxx>
-#include <globstr.hrc>
 #include <scmod.hxx>
 #include <uiitems.hxx>
 #include <editsh.hxx>
diff --git a/sc/source/ui/view/tabvwshb.cxx b/sc/source/ui/view/tabvwshb.cxx
index af3602bc9471..39ece2b2c4d0 100644
--- a/sc/source/ui/view/tabvwshb.cxx
+++ b/sc/source/ui/view/tabvwshb.cxx
@@ -51,7 +51,6 @@
 #include <tools/diagnose_ex.h>
 
 #include <tabvwsh.hxx>
-#include <globstr.hrc>
 #include <scmod.hxx>
 #include <document.hxx>
 #include <sc.hrc>
diff --git a/sc/source/ui/view/tabvwshc.cxx b/sc/source/ui/view/tabvwshc.cxx
index 3508395d7d21..634817195d52 100644
--- a/sc/source/ui/view/tabvwshc.cxx
+++ b/sc/source/ui/view/tabvwshc.cxx
@@ -28,7 +28,6 @@
 #include <tabvwsh.hxx>
 #include <sc.hrc>
 #include <scres.hrc>
-#include <globstr.hrc>
 #include <global.hxx>
 #include <scmod.hxx>
 #include <docsh.hxx>
diff --git a/sc/source/ui/view/viewfun6.cxx b/sc/source/ui/view/viewfun6.cxx
index eb2d6cb45eaf..973240b3ea64 100644
--- a/sc/source/ui/view/viewfun6.cxx
+++ b/sc/source/ui/view/viewfun6.cxx
@@ -34,7 +34,6 @@
 #include <undocell.hxx>
 #include <futext.hxx>
 #include <docfunc.hxx>
-#include <globstr.hrc>
 #include <sc.hrc>
 #include <fusel.hxx>
 #include <reftokenhelper.hxx>
diff --git a/sc/source/ui/xmlsource/xmlsourcedlg.cxx b/sc/source/ui/xmlsource/xmlsourcedlg.cxx
index ab128360889e..7350ad76f7c6 100644
--- a/sc/source/ui/xmlsource/xmlsourcedlg.cxx
+++ b/sc/source/ui/xmlsource/xmlsourcedlg.cxx
@@ -10,7 +10,6 @@
 #include <xmlsourcedlg.hxx>
 #include <sc.hrc>
 #include <bitmaps.hlst>
-#include <scresid.hxx>
 #include <document.hxx>
 #include <orcusfilters.hxx>
 #include <filter.hxx>


More information about the Libreoffice-commits mailing list