summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/core/data/attrib.cxx2
-rw-r--r--sc/source/core/data/column.cxx2
-rw-r--r--sc/source/core/data/column2.cxx2
-rw-r--r--sc/source/core/data/column3.cxx4
-rw-r--r--sc/source/core/data/docpool.cxx2
-rw-r--r--sc/source/core/data/documen2.cxx2
-rw-r--r--sc/source/core/data/documen3.cxx4
-rw-r--r--sc/source/core/data/documen7.cxx6
-rw-r--r--sc/source/core/data/documen8.cxx2
-rw-r--r--sc/source/core/data/documen9.cxx2
-rw-r--r--sc/source/core/data/document.cxx2
-rw-r--r--sc/source/core/data/dpobject.cxx6
-rw-r--r--sc/source/core/data/dpoutput.cxx2
-rw-r--r--sc/source/core/data/dptabres.cxx4
-rw-r--r--sc/source/core/data/dptabsrc.cxx2
-rw-r--r--sc/source/core/data/fillinfo.cxx2
-rw-r--r--sc/source/core/data/pivot2.cxx2
-rw-r--r--sc/source/core/data/stlsheet.cxx2
-rw-r--r--sc/source/core/data/table1.cxx2
-rw-r--r--sc/source/core/data/table2.cxx2
-rw-r--r--sc/source/core/inc/addinlis.hxx2
-rw-r--r--sc/source/core/inc/parclass.hxx2
-rw-r--r--sc/source/core/src/compiler.src4
-rw-r--r--sc/source/core/tool/addincol.cxx2
-rw-r--r--sc/source/core/tool/addinlis.cxx2
-rw-r--r--sc/source/core/tool/adiasync.cxx2
-rw-r--r--sc/source/core/tool/chartarr.cxx2
-rw-r--r--sc/source/core/tool/chgtrack.cxx6
-rw-r--r--sc/source/core/tool/optutil.cxx2
-rw-r--r--sc/source/core/tool/parclass.cxx2
-rw-r--r--sc/source/core/tool/rangelst.cxx2
-rw-r--r--sc/source/core/tool/unitconv.cxx2
-rw-r--r--sc/source/filter/excel/tokstack.cxx2
-rw-r--r--sc/source/filter/excel/xeroot.cxx2
-rw-r--r--sc/source/filter/inc/tool.h2
-rw-r--r--sc/source/filter/inc/xltracer.hxx2
-rw-r--r--sc/source/ui/app/inputhdl.cxx2
-rw-r--r--sc/source/ui/app/inputwin.cxx2
-rw-r--r--sc/source/ui/app/scdll.cxx4
-rw-r--r--sc/source/ui/app/seltrans.cxx2
-rw-r--r--sc/source/ui/dbgui/consdlg.cxx2
-rw-r--r--sc/source/ui/dbgui/dapidata.cxx2
-rw-r--r--sc/source/ui/dbgui/dbnamdlg.cxx2
-rw-r--r--sc/source/ui/dbgui/pivot.hrc2
-rw-r--r--sc/source/ui/dbgui/tpsort.cxx2
-rw-r--r--sc/source/ui/dbgui/tpsubt.cxx2
-rw-r--r--sc/source/ui/dbgui/validate.cxx2
-rw-r--r--sc/source/ui/docshell/arealink.cxx6
-rw-r--r--sc/source/ui/docshell/dbdocfun.cxx2
-rw-r--r--sc/source/ui/docshell/docsh.cxx2
-rw-r--r--sc/source/ui/docshell/docsh4.cxx6
-rw-r--r--sc/source/ui/docshell/servobj.cxx2
-rw-r--r--sc/source/ui/drawfunc/fudraw.cxx2
-rw-r--r--sc/source/ui/drawfunc/futext3.cxx2
-rw-r--r--sc/source/ui/formdlg/dwfunctr.cxx2
-rw-r--r--sc/source/ui/inc/acredlin.hrc2
-rw-r--r--sc/source/ui/inc/dbnamdlg.hrc2
-rw-r--r--sc/source/ui/inc/dwfunctr.hxx2
-rw-r--r--sc/source/ui/inc/filtdlg.hxx2
-rw-r--r--sc/source/ui/inc/filter.hrc2
-rw-r--r--sc/source/ui/inc/formula.hxx2
-rw-r--r--sc/source/ui/inc/fumark.hxx2
-rw-r--r--sc/source/ui/inc/funcpage.hxx2
-rw-r--r--sc/source/ui/inc/highred.hrc2
-rw-r--r--sc/source/ui/inc/miscdlgs.hrc2
-rw-r--r--sc/source/ui/inc/optload.hrc2
-rw-r--r--sc/source/ui/inc/preview.hxx2
-rw-r--r--sc/source/ui/inc/select.hxx2
-rw-r--r--sc/source/ui/inc/simpref.hrc2
-rw-r--r--sc/source/ui/inc/sortdlg.hrc2
-rw-r--r--sc/source/ui/inc/tabopdlg.hrc2
-rw-r--r--sc/source/ui/inc/tabvwsh.hxx6
-rw-r--r--sc/source/ui/inc/tphfedit.hxx2
-rw-r--r--sc/source/ui/inc/undodat.hxx4
-rw-r--r--sc/source/ui/miscdlgs/simpref.cxx2
-rw-r--r--sc/source/ui/navipi/content.cxx2
-rw-r--r--sc/source/ui/navipi/navcitem.cxx2
-rw-r--r--sc/source/ui/optdlg/opredlin.cxx2
-rw-r--r--sc/source/ui/optdlg/tpcalc.cxx2
-rw-r--r--sc/source/ui/optdlg/tpusrlst.cxx2
-rw-r--r--sc/source/ui/optdlg/tpview.cxx2
-rw-r--r--sc/source/ui/pagedlg/pagedlg.hrc2
-rw-r--r--sc/source/ui/pagedlg/scuitphfedit.cxx2
-rw-r--r--sc/source/ui/src/popup.src2
-rw-r--r--sc/source/ui/src/sc.src2
-rw-r--r--sc/source/ui/src/scfuncs.src4
-rw-r--r--sc/source/ui/src/scstring.src2
-rw-r--r--sc/source/ui/src/toolbox.src4
-rw-r--r--sc/source/ui/styleui/styledlg.cxx6
-rw-r--r--sc/source/ui/undo/undoblk2.cxx4
-rw-r--r--sc/source/ui/unoobj/appluno.cxx2
-rw-r--r--sc/source/ui/unoobj/cellsuno.cxx6
-rw-r--r--sc/source/ui/unoobj/docuno.cxx2
-rw-r--r--sc/source/ui/unoobj/fielduno.cxx2
-rw-r--r--sc/source/ui/unoobj/fmtuno.cxx2
-rw-r--r--sc/source/ui/vba/vbavalidation.cxx2
-rw-r--r--sc/source/ui/view/cellsh1.cxx6
-rw-r--r--sc/source/ui/view/cellsh2.cxx2
-rw-r--r--sc/source/ui/view/drawvie4.cxx2
-rw-r--r--sc/source/ui/view/gridwin.cxx12
-rw-r--r--sc/source/ui/view/gridwin2.cxx2
-rw-r--r--sc/source/ui/view/gridwin4.cxx6
-rw-r--r--sc/source/ui/view/hdrcont.cxx4
-rw-r--r--sc/source/ui/view/preview.cxx2
-rw-r--r--sc/source/ui/view/printfun.cxx2
-rw-r--r--sc/source/ui/view/tabview5.cxx2
-rw-r--r--sc/source/ui/view/tabvwsh.cxx4
-rw-r--r--sc/source/ui/view/tabvwsh4.cxx2
-rw-r--r--sc/source/ui/view/tabvwsha.cxx2
-rw-r--r--sc/source/ui/view/tabvwshc.cxx6
-rw-r--r--sc/source/ui/view/tabvwshh.cxx2
-rw-r--r--sc/source/ui/view/viewfun2.cxx2
-rw-r--r--sc/source/ui/view/viewfun3.cxx2
-rw-r--r--sc/source/ui/view/viewfun5.cxx2
-rw-r--r--sc/source/ui/view/viewfun7.cxx2
-rw-r--r--sc/source/ui/view/viewfunc.cxx2
116 files changed, 154 insertions, 154 deletions
diff --git a/sc/source/core/data/attrib.cxx b/sc/source/core/data/attrib.cxx
index 042c4b51a5d4..71d9caee6778 100644
--- a/sc/source/core/data/attrib.cxx
+++ b/sc/source/core/data/attrib.cxx
@@ -37,7 +37,7 @@
#include "sc.hrc"
#include "globstr.hrc"
-#include "textuno.hxx" // ScHeaderFooterContentObj
+#include "textuno.hxx"
using namespace com::sun::star;
diff --git a/sc/source/core/data/column.cxx b/sc/source/core/data/column.cxx
index c62ff84c66f5..6e356ee73fb8 100644
--- a/sc/source/core/data/column.cxx
+++ b/sc/source/core/data/column.cxx
@@ -27,7 +27,7 @@
#include "compiler.hxx"
#include "brdcst.hxx"
#include "markdata.hxx"
-#include "detfunc.hxx" // for Notes in Sort/Swap
+#include "detfunc.hxx"
#include "postit.hxx"
#include "globalnames.hxx"
#include "cellvalue.hxx"
diff --git a/sc/source/core/data/column2.cxx b/sc/source/core/data/column2.cxx
index f5be76f31e4e..e3393057eae9 100644
--- a/sc/source/core/data/column2.cxx
+++ b/sc/source/core/data/column2.cxx
@@ -31,7 +31,7 @@
#include "editutil.hxx"
#include "subtotal.hxx"
#include "markdata.hxx"
-#include "compiler.hxx" // ScTokenArray GetCodeLen
+#include "compiler.hxx"
#include "dbdata.hxx"
#include "fillinfo.hxx"
#include "segmenttree.hxx"
diff --git a/sc/source/core/data/column3.cxx b/sc/source/core/data/column3.cxx
index e656d5173db9..b344e37e6028 100644
--- a/sc/source/core/data/column3.cxx
+++ b/sc/source/core/data/column3.cxx
@@ -29,10 +29,10 @@
#include "formula/errorcodes.hxx"
#include "formula/token.hxx"
#include "brdcst.hxx"
-#include "docoptio.hxx" // GetStdPrecision for GetMaxNumberStringLen
+#include "docoptio.hxx"
#include "subtotal.hxx"
#include "markdata.hxx"
-#include "detfunc.hxx" // For Notes for DeleteRange
+#include "detfunc.hxx"
#include "postit.hxx"
#include "stringutil.hxx"
#include "docpool.hxx"
diff --git a/sc/source/core/data/docpool.cxx b/sc/source/core/data/docpool.cxx
index 018dc1c158bb..1f8b87241928 100644
--- a/sc/source/core/data/docpool.cxx
+++ b/sc/source/core/data/docpool.cxx
@@ -64,7 +64,7 @@
#include "attrib.hxx"
#include "patattr.hxx"
#include "globstr.hrc"
-#include "sc.hrc" // Slot-IDs
+#include "sc.hrc"
#define SC_MAX_POOLREF (SFX_ITEMS_OLD_MAXREF - 39)
#define SC_SAFE_POOLREF (SC_MAX_POOLREF + 20)
diff --git a/sc/source/core/data/documen2.cxx b/sc/source/core/data/documen2.cxx
index 77d1278fd784..982d97765ad3 100644
--- a/sc/source/core/data/documen2.cxx
+++ b/sc/source/core/data/documen2.cxx
@@ -68,7 +68,7 @@
#include "validat.hxx"
#include "progress.hxx"
#include "detdata.hxx"
-#include "sc.hrc" // FID_DATACHANGED
+#include "sc.hrc"
#include "ddelink.hxx"
#include "chgtrack.hxx"
#include "chgviset.hxx"
diff --git a/sc/source/core/data/documen3.cxx b/sc/source/core/data/documen3.cxx
index 611aa2cf2940..73f8d71598f8 100644
--- a/sc/source/core/data/documen3.cxx
+++ b/sc/source/core/data/documen3.cxx
@@ -52,9 +52,9 @@
#include "dociter.hxx"
#include "detdata.hxx"
#include "detfunc.hxx"
-#include "inputopt.hxx" // GetExpandRefs
+#include "inputopt.hxx"
#include "chartlis.hxx"
-#include "sc.hrc" // SID_LINK
+#include "sc.hrc"
#include "hints.hxx"
#include "dpobject.hxx"
#include "drwlayer.hxx"
diff --git a/sc/source/core/data/documen7.cxx b/sc/source/core/data/documen7.cxx
index 459888aa76e1..56ce8d1c0ff9 100644
--- a/sc/source/core/data/documen7.cxx
+++ b/sc/source/core/data/documen7.cxx
@@ -23,14 +23,14 @@
#include "brdcst.hxx"
#include "bcaslot.hxx"
#include "formulacell.hxx"
-#include "formula/errorcodes.hxx" // errCircularReference
+#include "formula/errorcodes.hxx"
#include "scerrors.hxx"
#include "docoptio.hxx"
#include "refupdat.hxx"
#include "table.hxx"
#include "progress.hxx"
-#include "scmod.hxx" // SC_MOD
-#include "inputopt.hxx" // GetExpandRefs
+#include "scmod.hxx"
+#include "inputopt.hxx"
#include "conditio.hxx"
#include "colorscale.hxx"
#include "sheetevents.hxx"
diff --git a/sc/source/core/data/documen8.cxx b/sc/source/core/data/documen8.cxx
index cb5162b5988c..f9e4bd3bc2b1 100644
--- a/sc/source/core/data/documen8.cxx
+++ b/sc/source/core/data/documen8.cxx
@@ -71,7 +71,7 @@
#include "chartlis.hxx"
#include "chartlock.hxx"
#include "refupdat.hxx"
-#include "validat.hxx" // fuer HasMacroCalls
+#include "validat.hxx"
#include "markdata.hxx"
#include "scmod.hxx"
#include "printopt.hxx"
diff --git a/sc/source/core/data/documen9.cxx b/sc/source/core/data/documen9.cxx
index 4c2bf25d7c1d..7eac811e49f2 100644
--- a/sc/source/core/data/documen9.cxx
+++ b/sc/source/core/data/documen9.cxx
@@ -49,7 +49,7 @@
#include "rechead.hxx"
#include "poolhelp.hxx"
#include "docpool.hxx"
-#include "detfunc.hxx" // for UpdateAllComments
+#include "detfunc.hxx"
#include "editutil.hxx"
#include "postit.hxx"
#include "charthelper.hxx"
diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx
index 8232af15fd8e..dee85dddab83 100644
--- a/sc/source/core/data/document.cxx
+++ b/sc/source/core/data/document.cxx
@@ -74,7 +74,7 @@
#include "hints.hxx"
#include "detdata.hxx"
#include "dpobject.hxx"
-#include "detfunc.hxx" // for UpdateAllComments
+#include "detfunc.hxx"
#include "scmod.hxx"
#include "dociter.hxx"
#include "progress.hxx"
diff --git a/sc/source/core/data/dpobject.cxx b/sc/source/core/data/dpobject.cxx
index 5106cd836bb7..bab39888eae1 100644
--- a/sc/source/core/data/dpobject.cxx
+++ b/sc/source/core/data/dpobject.cxx
@@ -27,8 +27,8 @@
#include "dpgroup.hxx"
#include "document.hxx"
#include "rechead.hxx"
-#include "pivot.hxx" // PIVOT_DATA_FIELD
-#include "dapiuno.hxx" // ScDataPilotConversion
+#include "pivot.hxx"
+#include "dapiuno.hxx"
#include "miscuno.hxx"
#include "scerrors.hxx"
#include "refupdat.hxx"
@@ -71,7 +71,7 @@
#include <sal/macros.h>
#include <tools/debug.hxx>
#include <tools/diagnose_ex.h>
-#include <svl/zforlist.hxx> // IsNumberFormat
+#include <svl/zforlist.hxx>
#include <vcl/msgbox.hxx>
#include <vector>
diff --git a/sc/source/core/data/dpoutput.cxx b/sc/source/core/data/dpoutput.cxx
index e774f8e18119..ab95110cf579 100644
--- a/sc/source/core/data/dpoutput.cxx
+++ b/sc/source/core/data/dpoutput.cxx
@@ -33,7 +33,7 @@
#include "docpool.hxx"
#include "markdata.hxx"
#include "attrib.hxx"
-#include "formula/errorcodes.hxx" // errNoValue
+#include "formula/errorcodes.hxx"
#include "miscuno.hxx"
#include "globstr.hrc"
#include "stlpool.hxx"
diff --git a/sc/source/core/data/dptabres.cxx b/sc/source/core/data/dptabres.cxx
index 33445d5c8da0..e57683e40871 100644
--- a/sc/source/core/data/dptabres.cxx
+++ b/sc/source/core/data/dptabres.cxx
@@ -26,7 +26,7 @@
#include "globstr.hrc"
#include "dpitemdata.hxx"
-#include "document.hxx" // for DumpState only!
+#include "document.hxx"
#include "stlalgorithm.hxx"
#include "dpresfilter.hxx"
#include "dputil.hxx"
@@ -36,7 +36,7 @@
#include <rtl/strbuf.hxx>
#include <math.h>
-#include <float.h> //! Test !!!
+#include <float.h>
#include <algorithm>
#include <boost/unordered_map.hpp>
#include <boost/scoped_ptr.hpp>
diff --git a/sc/source/core/data/dptabsrc.cxx b/sc/source/core/data/dptabsrc.cxx
index 9f98b321ac36..d3fb4e7c1ec0 100644
--- a/sc/source/core/data/dptabsrc.cxx
+++ b/sc/source/core/data/dptabsrc.cxx
@@ -39,7 +39,7 @@
#include "dptabres.hxx"
#include "dptabdat.hxx"
#include "global.hxx"
-#include "datauno.hxx" // ScDataUnoConversion
+#include "datauno.hxx"
#include "miscuno.hxx"
#include "unonames.hxx"
#include "dpitemdata.hxx"
diff --git a/sc/source/core/data/fillinfo.cxx b/sc/source/core/data/fillinfo.cxx
index 4ce3ee56bc5e..225c0cec5769 100644
--- a/sc/source/core/data/fillinfo.cxx
+++ b/sc/source/core/data/fillinfo.cxx
@@ -21,7 +21,7 @@
#include "scitems.hxx"
#include <editeng/boxitem.hxx>
#include <editeng/lineitem.hxx>
-#include <editeng/editdata.hxx> // can be removed if table has a bLayoutRTL flag
+#include <editeng/editdata.hxx>
#include <editeng/shaditem.hxx>
#include <editeng/brushitem.hxx>
diff --git a/sc/source/core/data/pivot2.cxx b/sc/source/core/data/pivot2.cxx
index e8aed7776d99..bcdae436fc10 100644
--- a/sc/source/core/data/pivot2.cxx
+++ b/sc/source/core/data/pivot2.cxx
@@ -33,7 +33,7 @@
#include "userlist.hxx"
#include "pivot.hxx"
#include "rechead.hxx"
-#include "formula/errorcodes.hxx" // fuer errNoValue
+#include "formula/errorcodes.hxx"
#include "refupdat.hxx"
#include "stlpool.hxx"
#include "stlsheet.hxx"
diff --git a/sc/source/core/data/stlsheet.cxx b/sc/source/core/data/stlsheet.cxx
index c7c4fd168c8c..7c8c1467b6a6 100644
--- a/sc/source/core/data/stlsheet.cxx
+++ b/sc/source/core/data/stlsheet.cxx
@@ -37,7 +37,7 @@
#include "attrib.hxx"
-#include <vcl/svapp.hxx> // GetSettings()
+#include <vcl/svapp.hxx>
#include "globstr.hrc"
#include "sc.hrc"
diff --git a/sc/source/core/data/table1.cxx b/sc/source/core/data/table1.cxx
index 851cf6c86b2c..5a63338aacd1 100644
--- a/sc/source/core/data/table1.cxx
+++ b/sc/source/core/data/table1.cxx
@@ -36,7 +36,7 @@
#include "refupdat.hxx"
#include "markdata.hxx"
#include "progress.hxx"
-#include "hints.hxx" // fuer Paint-Broadcast
+#include "hints.hxx"
#include "prnsave.hxx"
#include "tabprotection.hxx"
#include "sheetevents.hxx"
diff --git a/sc/source/core/data/table2.cxx b/sc/source/core/data/table2.cxx
index be791ca1abcb..aa4f7fba7c12 100644
--- a/sc/source/core/data/table2.cxx
+++ b/sc/source/core/data/table2.cxx
@@ -26,7 +26,7 @@
#include "olinetab.hxx"
#include "rechead.hxx"
#include "stlpool.hxx"
-#include "attarray.hxx" // Iterator
+#include "attarray.hxx"
#include "markdata.hxx"
#include "progress.hxx"
#include "dociter.hxx"
diff --git a/sc/source/core/inc/addinlis.hxx b/sc/source/core/inc/addinlis.hxx
index 05eddd11fd39..c2a702469e53 100644
--- a/sc/source/core/inc/addinlis.hxx
+++ b/sc/source/core/inc/addinlis.hxx
@@ -20,7 +20,7 @@
#ifndef SC_ADDINLIS_HXX
#define SC_ADDINLIS_HXX
-#include "adiasync.hxx" // for ScAddInDocs PtrArr
+#include "adiasync.hxx"
#include <com/sun/star/sheet/XResultListener.hpp>
#include <com/sun/star/sheet/XVolatileResult.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
diff --git a/sc/source/core/inc/parclass.hxx b/sc/source/core/inc/parclass.hxx
index b2500ff09a09..50f457744e67 100644
--- a/sc/source/core/inc/parclass.hxx
+++ b/sc/source/core/inc/parclass.hxx
@@ -21,7 +21,7 @@
#define SC_PARCLASS_HXX
#include "formula/opcode.hxx"
-#include <sys/types.h> // size_t
+#include <sys/types.h>
namespace formula
{
diff --git a/sc/source/core/src/compiler.src b/sc/source/core/src/compiler.src
index c6a8cbfbc4b9..d89ad7011907 100644
--- a/sc/source/core/src/compiler.src
+++ b/sc/source/core/src/compiler.src
@@ -17,8 +17,8 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include "sc.hrc" // Definition RID_XXX
-#include <formula/compiler.hrc> // Definition SC_OPCODE_XXX (interne OpCodes)
+#include "sc.hrc"
+#include <formula/compiler.hrc>
Resource RID_FUNCTION_CATEGORIES
{
diff --git a/sc/source/core/tool/addincol.cxx b/sc/source/core/tool/addincol.cxx
index db0d521cc731..2e100964eb93 100644
--- a/sc/source/core/tool/addincol.cxx
+++ b/sc/source/core/tool/addincol.cxx
@@ -50,7 +50,7 @@
#include "rangeseq.hxx"
#include "funcdesc.hxx"
#include "svl/sharedstring.hxx"
-#include "formulaopt.hxx" //fdo50118
+#include "formulaopt.hxx"
using namespace com::sun::star;
diff --git a/sc/source/core/tool/addinlis.cxx b/sc/source/core/tool/addinlis.cxx
index fa945c0754ce..c7a213c0e5e7 100644
--- a/sc/source/core/tool/addinlis.cxx
+++ b/sc/source/core/tool/addinlis.cxx
@@ -22,7 +22,7 @@
#include <vcl/svapp.hxx>
#include "addinlis.hxx"
-#include "miscuno.hxx" // SC_IMPL_SERVICE_INFO
+#include "miscuno.hxx"
#include "document.hxx"
#include "brdcst.hxx"
#include "sc.hrc"
diff --git a/sc/source/core/tool/adiasync.cxx b/sc/source/core/tool/adiasync.cxx
index 76ec8dd2cbb9..3232b0e6fb0a 100644
--- a/sc/source/core/tool/adiasync.cxx
+++ b/sc/source/core/tool/adiasync.cxx
@@ -23,7 +23,7 @@
#include "brdcst.hxx"
#include "global.hxx"
#include "document.hxx"
-#include "sc.hrc" // FID_DATACHANGED
+#include "sc.hrc"
#include <osl/thread.h>
ScAddInAsyncs theAddInAsyncTbl;
diff --git a/sc/source/core/tool/chartarr.cxx b/sc/source/core/tool/chartarr.cxx
index 67fa14aa3d68..8631823a79b4 100644
--- a/sc/source/core/tool/chartarr.cxx
+++ b/sc/source/core/tool/chartarr.cxx
@@ -20,7 +20,7 @@
#include "scitems.hxx"
#include <svl/intitem.hxx>
#include <svl/zforlist.hxx>
-#include <float.h> // DBL_MIN
+#include <float.h>
#include "chartarr.hxx"
#include "document.hxx"
diff --git a/sc/source/core/tool/chgtrack.cxx b/sc/source/core/tool/chgtrack.cxx
index ab07a637bd14..fa0e0aab5c09 100644
--- a/sc/source/core/tool/chgtrack.cxx
+++ b/sc/source/core/tool/chgtrack.cxx
@@ -24,8 +24,8 @@
#include "global.hxx"
#include "rechead.hxx"
#include "scerrors.hxx"
-#include "scmod.hxx" // SC_MOD
-#include "inputopt.hxx" // GetExpandRefs
+#include "scmod.hxx"
+#include "inputopt.hxx"
#include "patattr.hxx"
#include "hints.hxx"
#include "markdata.hxx"
@@ -34,7 +34,7 @@
#include "tokenarray.hxx"
#include "refupdatecontext.hxx"
-#include <tools/shl.hxx> // SHL_CALC
+#include <tools/shl.hxx>
#include <tools/rtti.hxx>
#include <svl/zforlist.hxx>
#include <svl/itemset.hxx>
diff --git a/sc/source/core/tool/optutil.cxx b/sc/source/core/tool/optutil.cxx
index e2156d3653fb..dfa8cf9c9b40 100644
--- a/sc/source/core/tool/optutil.cxx
+++ b/sc/source/core/tool/optutil.cxx
@@ -20,7 +20,7 @@
#include <vcl/svapp.hxx>
#include "optutil.hxx"
-#include "global.hxx" // for pSysLocale
+#include "global.hxx"
#include <unotools/syslocale.hxx>
sal_Bool ScOptionsUtil::IsMetricSystem()
diff --git a/sc/source/core/tool/parclass.cxx b/sc/source/core/tool/parclass.cxx
index bb8be285024b..6b5888dd8f71 100644
--- a/sc/source/core/tool/parclass.cxx
+++ b/sc/source/core/tool/parclass.cxx
@@ -34,7 +34,7 @@
#include <com/sun/star/sheet/FormulaLanguage.hpp>
#include <rtl/strbuf.hxx>
#include "compiler.hxx"
-#include "sc.hrc" // VAR_ARGS
+#include "sc.hrc"
#endif
/* Following assumptions are made:
diff --git a/sc/source/core/tool/rangelst.cxx b/sc/source/core/tool/rangelst.cxx
index 076b302b88a1..c11056624012 100644
--- a/sc/source/core/tool/rangelst.cxx
+++ b/sc/source/core/tool/rangelst.cxx
@@ -17,7 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include <stdlib.h> // qsort
+#include <stdlib.h>
#include <comphelper/string.hxx>
#include <unotools/collatorwrapper.hxx>
diff --git a/sc/source/core/tool/unitconv.cxx b/sc/source/core/tool/unitconv.cxx
index 883d02d98c69..8b8468395351 100644
--- a/sc/source/core/tool/unitconv.cxx
+++ b/sc/source/core/tool/unitconv.cxx
@@ -22,7 +22,7 @@
#include "unitconv.hxx"
#include "global.hxx"
-#include "viewopti.hxx" //! move ScLinkConfigItem to separate header!
+#include "viewopti.hxx"
using namespace utl;
using namespace com::sun::star::uno;
diff --git a/sc/source/filter/excel/tokstack.cxx b/sc/source/filter/excel/tokstack.cxx
index 22c26d7c1257..55034093ced2 100644
--- a/sc/source/filter/excel/tokstack.cxx
+++ b/sc/source/filter/excel/tokstack.cxx
@@ -24,7 +24,7 @@
#include "global.hxx"
#include "scmatrix.hxx"
-#include <stdio.h> // printf
+#include <stdio.h>
const sal_uInt16 TokenPool::nScTokenOff = 8192;
diff --git a/sc/source/filter/excel/xeroot.cxx b/sc/source/filter/excel/xeroot.cxx
index 521879cb879b..9042cbaae8ce 100644
--- a/sc/source/filter/excel/xeroot.cxx
+++ b/sc/source/filter/excel/xeroot.cxx
@@ -39,7 +39,7 @@
#include "xestyle.hxx"
#include "xeroot.hxx"
-#include "excrecds.hxx" // for filter manager
+#include "excrecds.hxx"
#include "tabprotection.hxx"
#include "document.hxx"
#include "scextopt.hxx"
diff --git a/sc/source/filter/inc/tool.h b/sc/source/filter/inc/tool.h
index ff5dd4d412f6..9ba1b89fec65 100644
--- a/sc/source/filter/inc/tool.h
+++ b/sc/source/filter/inc/tool.h
@@ -20,7 +20,7 @@
#ifndef SC_TOOL_H
#define SC_TOOL_H
-#include <attrib.hxx> //!!! noch noetig?????
+#include <attrib.hxx>
#include <document.hxx>
// Defaultwerte
diff --git a/sc/source/filter/inc/xltracer.hxx b/sc/source/filter/inc/xltracer.hxx
index 0340f854ec31..86d9bb3eabf9 100644
--- a/sc/source/filter/inc/xltracer.hxx
+++ b/sc/source/filter/inc/xltracer.hxx
@@ -22,7 +22,7 @@
#ifndef SC_XLTRACER_HXX
#define SC_XLTRACER_HXX
-#include "global.hxx" // ScAddress
+#include "global.hxx"
#include "xltools.hxx"
// As Trace features become implemented, we can safely delete the enum entry as
diff --git a/sc/source/ui/app/inputhdl.cxx b/sc/source/ui/app/inputhdl.cxx
index 6e2baf472db3..20634c9d3831 100644
--- a/sc/source/ui/app/inputhdl.cxx
+++ b/sc/source/ui/app/inputhdl.cxx
@@ -72,7 +72,7 @@
#include "rfindlst.hxx"
#include "inputopt.hxx"
#include "simpleformulacalc.hxx"
-#include "compiler.hxx" // fuer Formel-Preview
+#include "compiler.hxx"
#include "editable.hxx"
#include "funcdesc.hxx"
#include "markdata.hxx"
diff --git a/sc/source/ui/app/inputwin.cxx b/sc/source/ui/app/inputwin.cxx
index f6488ebf0b87..b32fb5d7506e 100644
--- a/sc/source/ui/app/inputwin.cxx
+++ b/sc/source/ui/app/inputwin.cxx
@@ -34,7 +34,7 @@
#include <sfx2/dispatch.hxx>
#include <sfx2/event.hxx>
#include <sfx2/imgmgr.hxx>
-#include <stdlib.h> // qsort
+#include <stdlib.h>
#include <editeng/scriptspaceitem.hxx>
#include <editeng/scripttypeitem.hxx>
#include <vcl/cursor.hxx>
diff --git a/sc/source/ui/app/scdll.cxx b/sc/source/ui/app/scdll.cxx
index f904eebfdd61..58011b8b37b1 100644
--- a/sc/source/ui/app/scdll.cxx
+++ b/sc/source/ui/app/scdll.cxx
@@ -41,7 +41,7 @@
#include <svtools/parhtml.hxx>
#include <sot/formats.hxx>
-#include "scitems.hxx" // fuer tbxctrls etc.
+#include "scitems.hxx"
#include "scmod.hxx"
#include "scresid.hxx"
#include "sc.hrc"
@@ -111,7 +111,7 @@
#include <svx/imapdlg.hxx>
#include "editutil.hxx"
-#include <svx/svdfield.hxx> // SdrRegisterFieldClasses
+#include <svx/svdfield.hxx>
#include "dwfunctr.hxx"
#include "acredlin.hxx"
diff --git a/sc/source/ui/app/seltrans.cxx b/sc/source/ui/app/seltrans.cxx
index 4b504dc36943..47c2bfd7860a 100644
--- a/sc/source/ui/app/seltrans.cxx
+++ b/sc/source/ui/app/seltrans.cxx
@@ -31,7 +31,7 @@
#include "transobj.hxx"
#include "drwtrans.hxx"
#include "scmod.hxx"
-#include "dbfunc.hxx" // for CopyToClip
+#include "dbfunc.hxx"
#include "docsh.hxx"
#include "drawview.hxx"
#include "drwlayer.hxx"
diff --git a/sc/source/ui/dbgui/consdlg.cxx b/sc/source/ui/dbgui/consdlg.cxx
index 7e482d28a0b8..7391feddfd42 100644
--- a/sc/source/ui/dbgui/consdlg.cxx
+++ b/sc/source/ui/dbgui/consdlg.cxx
@@ -29,7 +29,7 @@
#include "scresid.hxx"
#include "globstr.hrc"
-#include "sc.hrc" // consdlg.hrc has been deleted
+#include "sc.hrc"
#define _CONSDLG_CXX
#include "consdlg.hxx"
diff --git a/sc/source/ui/dbgui/dapidata.cxx b/sc/source/ui/dbgui/dapidata.cxx
index fe5fff628a5a..09b40af271c6 100644
--- a/sc/source/ui/dbgui/dapidata.cxx
+++ b/sc/source/ui/dbgui/dapidata.cxx
@@ -42,7 +42,7 @@ using namespace com::sun::star;
#include "sc.hrc"
#include "dapitype.hrc"
#include "miscuno.hxx"
-#include "dpsdbtab.hxx" // ScImportSourceDesc
+#include "dpsdbtab.hxx"
//-------------------------------------------------------------------------
diff --git a/sc/source/ui/dbgui/dbnamdlg.cxx b/sc/source/ui/dbgui/dbnamdlg.cxx
index 8340ff66d880..5e783b67b5d6 100644
--- a/sc/source/ui/dbgui/dbnamdlg.cxx
+++ b/sc/source/ui/dbgui/dbnamdlg.cxx
@@ -24,7 +24,7 @@
#include "document.hxx"
#include "scresid.hxx"
#include "globstr.hrc"
-#include "rangenam.hxx" // IsNameValid
+#include "rangenam.hxx"
#include "globalnames.hxx"
#include "dbnamdlg.hxx"
diff --git a/sc/source/ui/dbgui/pivot.hrc b/sc/source/ui/dbgui/pivot.hrc
index 7643789098f8..eec2d7ea65bf 100644
--- a/sc/source/ui/dbgui/pivot.hrc
+++ b/sc/source/ui/dbgui/pivot.hrc
@@ -16,7 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include "sc.hrc" // ->RID_SCDLG_PIVOT_LAYOUT
+#include "sc.hrc"
#define BTN_OK 1
#define BTN_CANCEL 2
diff --git a/sc/source/ui/dbgui/tpsort.cxx b/sc/source/ui/dbgui/tpsort.cxx
index be013f7360a1..2c0bb95c3aef 100644
--- a/sc/source/ui/dbgui/tpsort.cxx
+++ b/sc/source/ui/dbgui/tpsort.cxx
@@ -37,7 +37,7 @@
#include "userlist.hxx"
#include "rangeutl.hxx"
#include "scresid.hxx"
-#include "sc.hrc" // -> Slot IDs
+#include "sc.hrc"
#include "globstr.hrc"
#include "sortkeydlg.hxx"
diff --git a/sc/source/ui/dbgui/tpsubt.cxx b/sc/source/ui/dbgui/tpsubt.cxx
index 9bdc44c648bf..ed5f1c873c6d 100644
--- a/sc/source/ui/dbgui/tpsubt.cxx
+++ b/sc/source/ui/dbgui/tpsubt.cxx
@@ -26,7 +26,7 @@
#include "viewdata.hxx"
#include "document.hxx"
#include "scresid.hxx"
-#include "sc.hrc" // -> Slot IDs
+#include "sc.hrc"
#include "subtdlg.hxx"
#include "subtdlg.hrc"
diff --git a/sc/source/ui/dbgui/validate.cxx b/sc/source/ui/dbgui/validate.cxx
index 534ff443c760..f40981c7a0a2 100644
--- a/sc/source/ui/dbgui/validate.cxx
+++ b/sc/source/ui/dbgui/validate.cxx
@@ -34,7 +34,7 @@
#include <sfx2/app.hxx>
#include "scresid.hxx"
-#include "sc.hrc" // -> Slot IDs
+#include "sc.hrc"
#include "stringutil.hxx"
#include "validat.hxx"
diff --git a/sc/source/ui/docshell/arealink.cxx b/sc/source/ui/docshell/arealink.cxx
index cebcb1b2d9e6..068ef32a482b 100644
--- a/sc/source/ui/docshell/arealink.cxx
+++ b/sc/source/ui/docshell/arealink.cxx
@@ -38,9 +38,9 @@
#include "hints.hxx"
#include "filter.hxx"
-#include "attrib.hxx" // raus, wenn ResetAttrib am Dokument
-#include "patattr.hxx" // raus, wenn ResetAttrib am Dokument
-#include "docpool.hxx" // raus, wenn ResetAttrib am Dokument
+#include "attrib.hxx"
+#include "patattr.hxx"
+#include "docpool.hxx"
#include "sc.hrc"
#include "scabstdlg.hxx"
diff --git a/sc/source/ui/docshell/dbdocfun.cxx b/sc/source/ui/docshell/dbdocfun.cxx
index 714107892b28..2190a1a0293e 100644
--- a/sc/source/ui/docshell/dbdocfun.cxx
+++ b/sc/source/ui/docshell/dbdocfun.cxx
@@ -38,7 +38,7 @@
#include "olinetab.hxx"
#include "dpobject.hxx"
#include "dpsave.hxx"
-#include "dociter.hxx" // for lcl_EmptyExcept
+#include "dociter.hxx"
#include "editable.hxx"
#include "attrib.hxx"
#include "drwlayer.hxx"
diff --git a/sc/source/ui/docshell/docsh.cxx b/sc/source/ui/docshell/docsh.cxx
index 6da65ad87d47..9d1efe077b49 100644
--- a/sc/source/ui/docshell/docsh.cxx
+++ b/sc/source/ui/docshell/docsh.cxx
@@ -82,7 +82,7 @@
#include "attrib.hxx"
#include "asciiopt.hxx"
#include "waitoff.hxx"
-#include "docpool.hxx" // LoadCompleted
+#include "docpool.hxx"
#include "progress.hxx"
#include "pntlock.hxx"
#include "docuno.hxx"
diff --git a/sc/source/ui/docshell/docsh4.cxx b/sc/source/ui/docshell/docsh4.cxx
index 53e37a3de1c4..b4b80d6618ea 100644
--- a/sc/source/ui/docshell/docsh4.cxx
+++ b/sc/source/ui/docshell/docsh4.cxx
@@ -25,7 +25,7 @@
using namespace ::com::sun::star;
-#include <math.h> // prevent conflict between exception and std::exception
+#include <math.h>
#include "scitems.hxx"
#include <sfx2/fcontnr.hxx>
@@ -63,7 +63,7 @@ using namespace ::com::sun::star;
#include "globstr.hrc"
#include "global.hxx"
#include "dbdocfun.hxx"
-#include "printfun.hxx" // DrawToDev
+#include "printfun.hxx"
#include "viewdata.hxx"
#include "tabvwsh.hxx"
#include "impex.hxx"
@@ -82,7 +82,7 @@ using namespace ::com::sun::star;
#include "chartlis.hxx"
#include "chartpos.hxx"
#include "waitoff.hxx"
-#include "tablink.hxx" // ScDocumentLoader statics
+#include "tablink.hxx"
#include "drwlayer.hxx"
#include "docoptio.hxx"
#include "undostyl.hxx"
diff --git a/sc/source/ui/docshell/servobj.cxx b/sc/source/ui/docshell/servobj.cxx
index 4dcc85246a56..a82c7191a663 100644
--- a/sc/source/ui/docshell/servobj.cxx
+++ b/sc/source/ui/docshell/servobj.cxx
@@ -25,7 +25,7 @@
#include "impex.hxx"
#include "brdcst.hxx"
#include "rangenam.hxx"
-#include "sc.hrc" // SC_HINT_AREAS_CHANGED
+#include "sc.hrc"
using namespace formula;
diff --git a/sc/source/ui/drawfunc/fudraw.cxx b/sc/source/ui/drawfunc/fudraw.cxx
index 6f73d8adebc1..90f612d7646b 100644
--- a/sc/source/ui/drawfunc/fudraw.cxx
+++ b/sc/source/ui/drawfunc/fudraw.cxx
@@ -17,7 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include <editeng/editeng.hxx> // EditEngine::IsSimpleCharInput
+#include <editeng/editeng.hxx>
#include <editeng/outlobj.hxx>
#include <svx/svdobj.hxx>
#include <svx/svdoole2.hxx>
diff --git a/sc/source/ui/drawfunc/futext3.cxx b/sc/source/ui/drawfunc/futext3.cxx
index b1b95a85c1ac..8a119956e585 100644
--- a/sc/source/ui/drawfunc/futext3.cxx
+++ b/sc/source/ui/drawfunc/futext3.cxx
@@ -32,7 +32,7 @@
#include "global.hxx"
#include "drwlayer.hxx"
#include "userdat.hxx"
-#include "tabvwsh.hxx" // oder GetDocument irgendwo
+#include "tabvwsh.hxx"
#include "document.hxx"
#include "editutil.hxx"
#include "futext.hxx"
diff --git a/sc/source/ui/formdlg/dwfunctr.cxx b/sc/source/ui/formdlg/dwfunctr.cxx
index 3b8e8fd67843..7967163a94dc 100644
--- a/sc/source/ui/formdlg/dwfunctr.cxx
+++ b/sc/source/ui/formdlg/dwfunctr.cxx
@@ -26,7 +26,7 @@
#include <sfx2/viewsh.hxx>
#include "sc.hrc"
-#include "global.hxx" // ScAddress
+#include "global.hxx"
#include "scresid.hxx"
#include "reffact.hxx"
#include "document.hxx"
diff --git a/sc/source/ui/inc/acredlin.hrc b/sc/source/ui/inc/acredlin.hrc
index 75598a331d2d..29c5c93b6163 100644
--- a/sc/source/ui/inc/acredlin.hrc
+++ b/sc/source/ui/inc/acredlin.hrc
@@ -17,7 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include "sc.hrc" // -> RID_SCDLG_CHANGES
+#include "sc.hrc"
#define BTN_OK 1
#define BTN_CANCEL 2
diff --git a/sc/source/ui/inc/dbnamdlg.hrc b/sc/source/ui/inc/dbnamdlg.hrc
index e10abb194a6a..a2b325e0f4d0 100644
--- a/sc/source/ui/inc/dbnamdlg.hrc
+++ b/sc/source/ui/inc/dbnamdlg.hrc
@@ -17,7 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include "sc.hrc" // -> RID_SCDLG_DBNAMES
+#include "sc.hrc"
#define BTN_OK 1
#define BTN_CANCEL 2
diff --git a/sc/source/ui/inc/dwfunctr.hxx b/sc/source/ui/inc/dwfunctr.hxx
index 16b649ab8d02..21a3a053a36e 100644
--- a/sc/source/ui/inc/dwfunctr.hxx
+++ b/sc/source/ui/inc/dwfunctr.hxx
@@ -28,7 +28,7 @@
#include <vcl/button.hxx>
#include <vcl/combobox.hxx>
#include "anyrefdg.hxx"
-#include "global.hxx" // ScAddress
+#include "global.hxx"
#include "privsplt.hxx"
#include "funcdesc.hxx"
diff --git a/sc/source/ui/inc/filtdlg.hxx b/sc/source/ui/inc/filtdlg.hxx
index 55e7f12d86bf..c9a8928b02da 100644
--- a/sc/source/ui/inc/filtdlg.hxx
+++ b/sc/source/ui/inc/filtdlg.hxx
@@ -25,7 +25,7 @@
#include <vcl/layout.hxx>
#include <vcl/morebtn.hxx>
#include <svtools/stdctrl.hxx>
-#include "global.hxx" // -> ScQueryParam
+#include "global.hxx"
#include "address.hxx"
#include "anyrefdg.hxx"
#include "queryparam.hxx"
diff --git a/sc/source/ui/inc/filter.hrc b/sc/source/ui/inc/filter.hrc
index 3d1f94011445..80401a713b42 100644
--- a/sc/source/ui/inc/filter.hrc
+++ b/sc/source/ui/inc/filter.hrc
@@ -16,7 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include "sc.hrc" // -> RID_SCDLG_FILTER
+#include "sc.hrc"
// -> RID_SCDLG_SPEC_FILTER
// -> RID_SCDLG_PIVOTFILTER
diff --git a/sc/source/ui/inc/formula.hxx b/sc/source/ui/inc/formula.hxx
index 76d0fc874c95..bedc9596fc10 100644
--- a/sc/source/ui/inc/formula.hxx
+++ b/sc/source/ui/inc/formula.hxx
@@ -21,7 +21,7 @@
#define SC_FORMULA_HXX
#include "anyrefdg.hxx"
-#include "global.hxx" // ScAddress
+#include "global.hxx"
#include <svtools/stdctrl.hxx>
#include <vcl/lstbox.hxx>
#include <vcl/group.hxx>
diff --git a/sc/source/ui/inc/fumark.hxx b/sc/source/ui/inc/fumark.hxx
index 4cd472949814..3b64bc167dd1 100644
--- a/sc/source/ui/inc/fumark.hxx
+++ b/sc/source/ui/inc/fumark.hxx
@@ -21,7 +21,7 @@
#define SC_FUMARK_HXX
#include "fupoor.hxx"
-#include "rangelst.hxx" // ScRangeListRef
+#include "rangelst.hxx"
/** Function for drawing a rectangle */
diff --git a/sc/source/ui/inc/funcpage.hxx b/sc/source/ui/inc/funcpage.hxx
index 5d34a18466ed..232bb74c8555 100644
--- a/sc/source/ui/inc/funcpage.hxx
+++ b/sc/source/ui/inc/funcpage.hxx
@@ -21,7 +21,7 @@
#define SC_FUNCPAGE_HXX
#include "funcutl.hxx"
-#include "global.hxx" // ScAddress
+#include "global.hxx"
#include <svtools/stdctrl.hxx>
#include <vcl/lstbox.hxx>
#include <vcl/group.hxx>
diff --git a/sc/source/ui/inc/highred.hrc b/sc/source/ui/inc/highred.hrc
index c27dc50de6eb..0df9dd40df23 100644
--- a/sc/source/ui/inc/highred.hrc
+++ b/sc/source/ui/inc/highred.hrc
@@ -17,7 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include "sc.hrc" // -> RID_SCDLG_CHANGES
+#include "sc.hrc"
#define BTN_OK 1
#define BTN_CANCEL 2
diff --git a/sc/source/ui/inc/miscdlgs.hrc b/sc/source/ui/inc/miscdlgs.hrc
index 67e5d5e666ca..ae49e073ef50 100644
--- a/sc/source/ui/inc/miscdlgs.hrc
+++ b/sc/source/ui/inc/miscdlgs.hrc
@@ -17,7 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include "sc.hrc" // -> RID_SCDLG_INSCELL
+#include "sc.hrc"
// -> RID_SCDLG_INSCONT
// -> RID_SCDLG_MOVETAB
// -> RID_SCDLG_STRINPUT
diff --git a/sc/source/ui/inc/optload.hrc b/sc/source/ui/inc/optload.hrc
index 760c5852202d..c816099edb53 100644
--- a/sc/source/ui/inc/optload.hrc
+++ b/sc/source/ui/inc/optload.hrc
@@ -16,7 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include "sc.hrc" // -> RID_SCPAGE_OPREDLINE
+#include "sc.hrc"
#define GB_LINK 1
#define RB_ALWAYS 2
diff --git a/sc/source/ui/inc/preview.hxx b/sc/source/ui/inc/preview.hxx
index 3032defb8390..8ac8b9980cb4 100644
--- a/sc/source/ui/inc/preview.hxx
+++ b/sc/source/ui/inc/preview.hxx
@@ -21,7 +21,7 @@
#include <vcl/window.hxx>
-#include "printfun.hxx" // ScPrintState
+#include "printfun.hxx"
#include "markdata.hxx"
#include <vector>
diff --git a/sc/source/ui/inc/select.hxx b/sc/source/ui/inc/select.hxx
index 8d1e43f98df7..4a6eaf31855b 100644
--- a/sc/source/ui/inc/select.hxx
+++ b/sc/source/ui/inc/select.hxx
@@ -22,7 +22,7 @@
#include <vcl/seleng.hxx>
-#include "viewdata.hxx" // ScSplitPos
+#include "viewdata.hxx"
// ---------------------------------------------------------------------------
diff --git a/sc/source/ui/inc/simpref.hrc b/sc/source/ui/inc/simpref.hrc
index 6620d52fc8a3..28262a70282a 100644
--- a/sc/source/ui/inc/simpref.hrc
+++ b/sc/source/ui/inc/simpref.hrc
@@ -17,7 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include "sc.hrc" // -> RID_SCDLG_SIMPLEREF
+#include "sc.hrc"
#define BTN_OK 1
#define BTN_CANCEL 2
diff --git a/sc/source/ui/inc/sortdlg.hrc b/sc/source/ui/inc/sortdlg.hrc
index d97022fc7c74..4b9186f2494a 100644
--- a/sc/source/ui/inc/sortdlg.hrc
+++ b/sc/source/ui/inc/sortdlg.hrc
@@ -18,7 +18,7 @@
*/
-#include "sc.hrc" // -> RID_SCDLG_SORT
+#include "sc.hrc"
// -> RID_SCPAGE_SORT_FIELDS
// -> SCSTR_NONAME
// -> SCSTR_UNDEFINED
diff --git a/sc/source/ui/inc/tabopdlg.hrc b/sc/source/ui/inc/tabopdlg.hrc
index ec74f7938e28..a8cc84d04148 100644
--- a/sc/source/ui/inc/tabopdlg.hrc
+++ b/sc/source/ui/inc/tabopdlg.hrc
@@ -17,7 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include "sc.hrc" // ->RID_SCDLG_TABOP
+#include "sc.hrc"
#define ED_FORMULARANGE 1
#define ED_ROWCELL 2
diff --git a/sc/source/ui/inc/tabvwsh.hxx b/sc/source/ui/inc/tabvwsh.hxx
index b6f2e063f182..9734ed3d94d8 100644
--- a/sc/source/ui/inc/tabvwsh.hxx
+++ b/sc/source/ui/inc/tabvwsh.hxx
@@ -25,11 +25,11 @@
#include <sfx2/viewfac.hxx>
#include <editeng/svxenum.hxx>
#include "scdllapi.h"
-#include "dbfunc.hxx" // -> tabview
+#include "dbfunc.hxx"
#include "target.hxx"
-#include "rangelst.hxx" // ScRangeListRef
+#include "rangelst.hxx"
#include "shellids.hxx"
-#include "tabprotection.hxx" // for ScPasswordHash
+#include "tabprotection.hxx"
#include <boost/ptr_container/ptr_map.hpp>
diff --git a/sc/source/ui/inc/tphfedit.hxx b/sc/source/ui/inc/tphfedit.hxx
index e49a4ee8fef5..630c542a69d8 100644
--- a/sc/source/ui/inc/tphfedit.hxx
+++ b/sc/source/ui/inc/tphfedit.hxx
@@ -28,7 +28,7 @@
#include <vcl/timer.hxx>
#include <vcl/virdev.hxx>
#include "scdllapi.h"
-#include "scitems.hxx" // due to enum SvxNumType
+#include "scitems.hxx"
#include "popmenu.hxx"
#include <com/sun/star/accessibility/XAccessible.hpp>
#include <cppuhelper/weakref.hxx>
diff --git a/sc/source/ui/inc/undodat.hxx b/sc/source/ui/inc/undodat.hxx
index 5f8dae4fde7e..23eb82d4bda8 100644
--- a/sc/source/ui/inc/undodat.hxx
+++ b/sc/source/ui/inc/undodat.hxx
@@ -21,8 +21,8 @@
#define SC_UNDODAT_HXX
#include "undobase.hxx"
-#include "rangeutl.hxx" // ScArea
-#include "rangelst.hxx" // ScRangeListRef
+#include "rangeutl.hxx"
+#include "rangelst.hxx"
#include "sortparam.hxx"
#include "queryparam.hxx"
#include "subtotalparam.hxx"
diff --git a/sc/source/ui/miscdlgs/simpref.cxx b/sc/source/ui/miscdlgs/simpref.cxx
index b9b50e4d4fe2..502b37da6bbb 100644
--- a/sc/source/ui/miscdlgs/simpref.cxx
+++ b/sc/source/ui/miscdlgs/simpref.cxx
@@ -25,7 +25,7 @@
#include "scresid.hxx"
#include "globstr.hrc"
#include "simpref.hrc"
-#include "rangenam.hxx" // IsNameValid
+#include "rangenam.hxx"
#include "simpref.hxx"
#include "scmod.hxx"
diff --git a/sc/source/ui/navipi/content.cxx b/sc/source/ui/navipi/content.cxx
index fa6c78b0ed5f..f2ba4a0c3f3b 100644
--- a/sc/source/ui/navipi/content.cxx
+++ b/sc/source/ui/navipi/content.cxx
@@ -40,7 +40,7 @@
#include "scmod.hxx"
#include "rangenam.hxx"
#include "dbdata.hxx"
-#include "tablink.hxx" // fuer Loader
+#include "tablink.hxx"
#include "popmenu.hxx"
#include "drwlayer.hxx"
#include "transobj.hxx"
diff --git a/sc/source/ui/navipi/navcitem.cxx b/sc/source/ui/navipi/navcitem.cxx
index 621d06b536fc..9297aae5f350 100644
--- a/sc/source/ui/navipi/navcitem.cxx
+++ b/sc/source/ui/navipi/navcitem.cxx
@@ -23,7 +23,7 @@
#include "navcitem.hxx"
#include "global.hxx"
#include "navipi.hxx"
-#include "sc.hrc" // -> Item-IDs
+#include "sc.hrc"
// STATIC DATA -----------------------------------------------------------
diff --git a/sc/source/ui/optdlg/opredlin.cxx b/sc/source/ui/optdlg/opredlin.cxx
index 85d33f5a45c2..385cef932f46 100644
--- a/sc/source/ui/optdlg/opredlin.cxx
+++ b/sc/source/ui/optdlg/opredlin.cxx
@@ -38,7 +38,7 @@
#include "uiitems.hxx"
#include "scresid.hxx"
#include "docsh.hxx"
-#include "sc.hrc" // -> Slot-IDs
+#include "sc.hrc"
#include "optdlg.hrc"
#include "globstr.hrc"
diff --git a/sc/source/ui/optdlg/tpcalc.cxx b/sc/source/ui/optdlg/tpcalc.cxx
index f47650123adf..a51f2a26275d 100644
--- a/sc/source/ui/optdlg/tpcalc.cxx
+++ b/sc/source/ui/optdlg/tpcalc.cxx
@@ -31,7 +31,7 @@
#include "document.hxx"
#include "docoptio.hxx"
#include "scresid.hxx"
-#include "sc.hrc" // -> Slot-IDs
+#include "sc.hrc"
#include "optdlg.hrc"
#include "tpcalc.hxx"
diff --git a/sc/source/ui/optdlg/tpusrlst.cxx b/sc/source/ui/optdlg/tpusrlst.cxx
index 9235a0b344d1..c19e7bda9a15 100644
--- a/sc/source/ui/optdlg/tpusrlst.cxx
+++ b/sc/source/ui/optdlg/tpusrlst.cxx
@@ -32,7 +32,7 @@
#include "rangeutl.hxx"
#include "crdlg.hxx"
#include "scresid.hxx"
-#include "sc.hrc" // -> Slot-IDs
+#include "sc.hrc"
#include "optdlg.hrc"
#include "globstr.hrc"
diff --git a/sc/source/ui/optdlg/tpview.cxx b/sc/source/ui/optdlg/tpview.cxx
index 1415868dde85..5a944ad51fe1 100644
--- a/sc/source/ui/optdlg/tpview.cxx
+++ b/sc/source/ui/optdlg/tpview.cxx
@@ -32,7 +32,7 @@
#include "uiitems.hxx"
#include "scresid.hxx"
#include "docsh.hxx"
-#include "sc.hrc" // -> Slot-IDs
+#include "sc.hrc"
#include "optdlg.hrc"
#include "globstr.hrc"
#include <appoptio.hxx>
diff --git a/sc/source/ui/pagedlg/pagedlg.hrc b/sc/source/ui/pagedlg/pagedlg.hrc
index 99ae92003e75..f9060ff5e71d 100644
--- a/sc/source/ui/pagedlg/pagedlg.hrc
+++ b/sc/source/ui/pagedlg/pagedlg.hrc
@@ -18,7 +18,7 @@
*/
-#include "sc.hrc" // -> RID_SCDLG_PAGE
+#include "sc.hrc"
// -> RID_SCPAGE_AREAS
//================================================
diff --git a/sc/source/ui/pagedlg/scuitphfedit.cxx b/sc/source/ui/pagedlg/scuitphfedit.cxx
index 8c0761fc83ba..e94555d9c414 100644
--- a/sc/source/ui/pagedlg/scuitphfedit.cxx
+++ b/sc/source/ui/pagedlg/scuitphfedit.cxx
@@ -51,7 +51,7 @@
#include "AccessibleEditObject.hxx"
#include "scuitphfedit.hxx"
-#include <memory> // header file for auto_ptr
+#include <memory>
// STATIC DATA -----------------------------------------------------------
diff --git a/sc/source/ui/src/popup.src b/sc/source/ui/src/popup.src
index a8bcea960eb7..4a52c793d1ac 100644
--- a/sc/source/ui/src/popup.src
+++ b/sc/source/ui/src/popup.src
@@ -17,7 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include "sc.hrc" // -> #include <sfx.hrc>
+#include "sc.hrc"
#include <svx/globlmn.hrc>
diff --git a/sc/source/ui/src/sc.src b/sc/source/ui/src/sc.src
index 117552ec157c..f6ab97174a48 100644
--- a/sc/source/ui/src/sc.src
+++ b/sc/source/ui/src/sc.src
@@ -17,7 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include "sc.hrc" // -> #include <sfx.hrc>
+#include "sc.hrc"
// App-Titel------------------------------------------------------
diff --git a/sc/source/ui/src/scfuncs.src b/sc/source/ui/src/scfuncs.src
index 4d5dd944fea5..93ea5c345e60 100644
--- a/sc/source/ui/src/scfuncs.src
+++ b/sc/source/ui/src/scfuncs.src
@@ -73,8 +73,8 @@
// ExtraData, but the HID_XXX are unsigned and exceed 32k. Code reading the
// resource entries must consider this and undo the conversion.
-#include "scfuncs.hrc" // ID_FUNCTION_GRP_XXX, HID_FUNC_XXX
-#include "formula/compiler.hrc" // SC_OPCODE_XXX
+#include "scfuncs.hrc"
+#include "formula/compiler.hrc"
Resource RID_SC_FUNCTION_DESCRIPTIONS1
{
diff --git a/sc/source/ui/src/scstring.src b/sc/source/ui/src/scstring.src
index 462db0bb280d..c42c8dffc397 100644
--- a/sc/source/ui/src/scstring.src
+++ b/sc/source/ui/src/scstring.src
@@ -17,7 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include "sc.hrc" // -> #include <sfx.hrc>
+#include "sc.hrc"
// Strings fuer Interface-Namen ------------------------------------------
diff --git a/sc/source/ui/src/toolbox.src b/sc/source/ui/src/toolbox.src
index 197cfed19515..9c2c5feced7c 100644
--- a/sc/source/ui/src/toolbox.src
+++ b/sc/source/ui/src/toolbox.src
@@ -17,9 +17,9 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include "sc.hrc" // -> #include <sfx.hrc>
+#include "sc.hrc"
#include <svx/globlmn.hrc>
-#include "tbinsert.hrc" // Sub-IDs
+#include "tbinsert.hrc"
// ToolBoxen: ----------------------------------------------------------------
diff --git a/sc/source/ui/styleui/styledlg.cxx b/sc/source/ui/styleui/styledlg.cxx
index fcbc7aefb4c5..1b738d354207 100644
--- a/sc/source/ui/styleui/styledlg.cxx
+++ b/sc/source/ui/styleui/styledlg.cxx
@@ -31,9 +31,9 @@
#include <svl/cjkoptions.hxx>
#include "styledlg.hxx"
-#include "tabpages.hxx" // Zellvorlagen
-#include "tphf.hxx" // Seitenvorlage: Kopf-/Fusszeilen
-#include "tptable.hxx" // Seitenvorlage: Tabelle
+#include "tabpages.hxx"
+#include "tphf.hxx"
+#include "tptable.hxx"
#include "scresid.hxx"
#include "sc.hrc"
#include <svx/svxdlg.hxx>
diff --git a/sc/source/ui/undo/undoblk2.cxx b/sc/source/ui/undo/undoblk2.cxx
index 4a2547a92b3a..7729556d3c92 100644
--- a/sc/source/ui/undo/undoblk2.cxx
+++ b/sc/source/ui/undo/undoblk2.cxx
@@ -17,7 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include "scitems.hxx" // SearchItem
+#include "scitems.hxx"
#include "undoblk.hxx"
#include "document.hxx"
@@ -28,7 +28,7 @@
#include "global.hxx"
#include "target.hxx"
-#include "undoolk.hxx" // TODO move GetUndo in Document
+#include "undoolk.hxx"
TYPEINIT1(ScUndoWidthOrHeight, SfxUndoAction);
diff --git a/sc/source/ui/unoobj/appluno.cxx b/sc/source/ui/unoobj/appluno.cxx
index afe8288635f6..4a6888787de1 100644
--- a/sc/source/ui/unoobj/appluno.cxx
+++ b/sc/source/ui/unoobj/appluno.cxx
@@ -34,7 +34,7 @@
#include "inputopt.hxx"
#include "printopt.hxx"
#include "userlist.hxx"
-#include "sc.hrc" // VAR_ARGS
+#include "sc.hrc"
#include "unonames.hxx"
#include "funcdesc.hxx"
#include <com/sun/star/sheet/FunctionArgument.hpp>
diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx
index e16f8aee941b..9d2b61242c91 100644
--- a/sc/source/ui/unoobj/cellsuno.cxx
+++ b/sc/source/ui/unoobj/cellsuno.cxx
@@ -41,7 +41,7 @@
#include <svl/zforlist.hxx>
#include <svl/zformat.hxx>
#include <comphelper/servicehelper.hxx>
-#include <float.h> // DBL_MIN
+#include <float.h>
#include <com/sun/star/awt/XBitmap.hpp>
#include <com/sun/star/util/CellProtection.hpp>
@@ -68,7 +68,7 @@
#include "editsrc.hxx"
#include "notesuno.hxx"
#include "fielduno.hxx"
-#include "docuno.hxx" // ScTableColumnsObj etc
+#include "docuno.hxx"
#include "datauno.hxx"
#include "dapiuno.hxx"
#include "chartuno.hxx"
@@ -91,7 +91,7 @@
#include "formulacell.hxx"
#include "undocell.hxx"
#include "undotab.hxx"
-#include "undoblk.hxx" // fuer lcl_ApplyBorder - nach docfunc verschieben!
+#include "undoblk.hxx"
#include "stlsheet.hxx"
#include "dbdata.hxx"
#include "attrib.hxx"
diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx
index 0050395ecf45..0858adbac50b 100644
--- a/sc/source/ui/unoobj/docuno.cxx
+++ b/sc/source/ui/unoobj/docuno.cxx
@@ -39,7 +39,7 @@
#include <toolkit/awt/vclxdevice.hxx>
#include <ctype.h>
-#include <float.h> // DBL_MAX
+#include <float.h>
#include <com/sun/star/util/Date.hpp>
#include <com/sun/star/sheet/XNamedRanges.hpp>
diff --git a/sc/source/ui/unoobj/fielduno.cxx b/sc/source/ui/unoobj/fielduno.cxx
index b9a52fce836d..cddb4ea1d2e6 100644
--- a/sc/source/ui/unoobj/fielduno.cxx
+++ b/sc/source/ui/unoobj/fielduno.cxx
@@ -24,7 +24,7 @@
#include "hints.hxx"
#include "editsrc.hxx"
#include "cellsuno.hxx"
-#include "servuno.hxx" // fuer IDs
+#include "servuno.hxx"
#include "unonames.hxx"
#include "editutil.hxx"
diff --git a/sc/source/ui/unoobj/fmtuno.cxx b/sc/source/ui/unoobj/fmtuno.cxx
index 3470065db668..0084fa3f23a5 100644
--- a/sc/source/ui/unoobj/fmtuno.cxx
+++ b/sc/source/ui/unoobj/fmtuno.cxx
@@ -32,7 +32,7 @@
#include "validat.hxx"
#include "document.hxx"
#include "unonames.hxx"
-#include "styleuno.hxx" // ScStyleNameConversion
+#include "styleuno.hxx"
#include "tokenarray.hxx"
#include "tokenuno.hxx"
#include "stylehelper.hxx"
diff --git a/sc/source/ui/vba/vbavalidation.cxx b/sc/source/ui/vba/vbavalidation.cxx
index 807118617b3e..ee9e2f73ca20 100644
--- a/sc/source/ui/vba/vbavalidation.cxx
+++ b/sc/source/ui/vba/vbavalidation.cxx
@@ -18,7 +18,7 @@
*/
#include "vbavalidation.hxx"
-#include "vbaformatcondition.hxx" //#i108860
+#include "vbaformatcondition.hxx"
#include <com/sun/star/sheet/XSheetCondition.hpp>
#include <com/sun/star/sheet/ValidationType.hpp>
#include <com/sun/star/sheet/ValidationAlertStyle.hpp>
diff --git a/sc/source/ui/view/cellsh1.cxx b/sc/source/ui/view/cellsh1.cxx
index 32fb834cbf6f..75d4a8dfa88b 100644
--- a/sc/source/ui/view/cellsh1.cxx
+++ b/sc/source/ui/view/cellsh1.cxx
@@ -60,13 +60,13 @@
#include "editable.hxx"
#include "dpobject.hxx"
#include "dpsave.hxx"
-#include "dpgroup.hxx" // for ScDPNumGroupInfo
+#include "dpgroup.hxx"
#include "spellparam.hxx"
#include "postit.hxx"
#include "clipparam.hxx"
#include "pivot.hxx"
-#include "dpsdbtab.hxx" // ScImportSourceDesc
-#include "dpshttab.hxx" // ScSheetSourceDesc
+#include "dpsdbtab.hxx"
+#include "dpshttab.hxx"
#include "dbdata.hxx"
#include "docsh.hxx"
#include "cliputil.hxx"
diff --git a/sc/source/ui/view/cellsh2.cxx b/sc/source/ui/view/cellsh2.cxx
index c6d3fdcf2871..c373d2d96cc4 100644
--- a/sc/source/ui/view/cellsh2.cxx
+++ b/sc/source/ui/view/cellsh2.cxx
@@ -51,7 +51,7 @@
#include "validat.hxx"
#include "scresid.hxx"
-#include "validate.hrc" // ScValidationDlg
+#include "validate.hrc"
#include "scui_def.hxx"
#include "scabstdlg.hxx"
#include "impex.hxx"
diff --git a/sc/source/ui/view/drawvie4.cxx b/sc/source/ui/view/drawvie4.cxx
index 9e2f38d8654e..418ca87dae6f 100644
--- a/sc/source/ui/view/drawvie4.cxx
+++ b/sc/source/ui/view/drawvie4.cxx
@@ -34,7 +34,7 @@
#include "document.hxx"
#include "docsh.hxx"
#include "drwtrans.hxx"
-#include "transobj.hxx" // SetDrawClipDoc
+#include "transobj.hxx"
#include "drawutil.hxx"
#include "scmod.hxx"
#include "globstr.hrc"
diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index c08d00293347..f70b838b22ff 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -20,7 +20,7 @@
#include "scitems.hxx"
-#include <memory> //auto_ptr
+#include <memory>
#include <editeng/adjustitem.hxx>
#include <svx/algitem.hxx>
#include <editeng/editview.hxx>
@@ -46,8 +46,8 @@
#include <comphelper/classids.hxx>
#include <sal/macros.h>
-#include <svx/svdview.hxx> // fuer Command-Handler (COMMAND_INSERTTEXT)
-#include <editeng/outliner.hxx> // fuer Command-Handler (COMMAND_INSERTTEXT)
+#include <svx/svdview.hxx>
+#include <editeng/outliner.hxx>
#include <svx/svditer.hxx>
#include <svx/svdocapt.hxx>
#include <svx/svdpagv.hxx>
@@ -82,10 +82,10 @@
#include "editutil.hxx"
#include "scresid.hxx"
#include "inputhdl.hxx"
-#include "uiitems.hxx" // Filter-Dialog - auslagern !!!
+#include "uiitems.hxx"
#include "filtdlg.hxx"
-#include "impex.hxx" // Sylk-ID fuer CB
-#include "formulacell.hxx" // fuer Edit-Felder
+#include "impex.hxx"
+#include "formulacell.hxx"
#include "patattr.hxx"
#include "notemark.hxx"
#include "rfindlst.hxx"
diff --git a/sc/source/ui/view/gridwin2.cxx b/sc/source/ui/view/gridwin2.cxx
index 61f9bab3ac28..bbc2657cc7c8 100644
--- a/sc/source/ui/view/gridwin2.cxx
+++ b/sc/source/ui/view/gridwin2.cxx
@@ -32,7 +32,7 @@
#include "pagedata.hxx"
#include "dpobject.hxx"
#include "dpsave.hxx"
-#include "dpoutput.hxx" // ScDPPositionData
+#include "dpoutput.hxx"
#include "dpshttab.hxx"
#include "dbdocfun.hxx"
#include "checklistmenu.hxx"
diff --git a/sc/source/ui/view/gridwin4.cxx b/sc/source/ui/view/gridwin4.cxx
index 5ef56322ad5a..6d5c84037697 100644
--- a/sc/source/ui/view/gridwin4.cxx
+++ b/sc/source/ui/view/gridwin4.cxx
@@ -36,11 +36,11 @@
#include "output.hxx"
#include "document.hxx"
#include "attrib.hxx"
-#include "patattr.hxx" // InvertSimple
+#include "patattr.hxx"
#include "dbdata.hxx"
#include "docoptio.hxx"
#include "notemark.hxx"
-#include "dbfunc.hxx" // oder GetPageBreakData an die ViewData
+#include "dbfunc.hxx"
#include "scmod.hxx"
#include "inputhdl.hxx"
#include "rfindlst.hxx"
@@ -48,7 +48,7 @@
#include "pagedata.hxx"
#include "docpool.hxx"
#include "globstr.hrc"
-#include "docsh.hxx" // oder GetSfxInPlaceObject
+#include "docsh.hxx"
#include "cbutton.hxx"
#include "invmerge.hxx"
#include "editutil.hxx"
diff --git a/sc/source/ui/view/hdrcont.cxx b/sc/source/ui/view/hdrcont.cxx
index 37ac42387c2f..2acfd9511d3d 100644
--- a/sc/source/ui/view/hdrcont.cxx
+++ b/sc/source/ui/view/hdrcont.cxx
@@ -26,8 +26,8 @@
#include "sc.hrc"
#include "tabvwsh.hxx"
#include "hdrcont.hxx"
-#include "scmod.hxx" // Optionen
-#include "inputopt.hxx" // Optionen
+#include "scmod.hxx"
+#include "inputopt.hxx"
#include "gridmerg.hxx"
#include "document.hxx"
#include "markdata.hxx"
diff --git a/sc/source/ui/view/preview.cxx b/sc/source/ui/view/preview.cxx
index 8261cd365618..a5f77ea955fa 100644
--- a/sc/source/ui/view/preview.cxx
+++ b/sc/source/ui/view/preview.cxx
@@ -46,7 +46,7 @@
#include "scmod.hxx"
#include "markdata.hxx"
#include "globstr.hrc"
-#include "sc.hrc" // for ShellInvalidate
+#include "sc.hrc"
#include "AccessibleDocumentPagePreview.hxx"
#include <vcl/lineinfo.hxx>
#include <svx/algitem.hxx>
diff --git a/sc/source/ui/view/printfun.cxx b/sc/source/ui/view/printfun.cxx
index 3a1bac8e4058..814a6ceb6cbe 100644
--- a/sc/source/ui/view/printfun.cxx
+++ b/sc/source/ui/view/printfun.cxx
@@ -27,7 +27,7 @@
#include <editeng/boxitem.hxx>
#include <editeng/brushitem.hxx>
#include <svtools/colorcfg.hxx>
-#include <editeng/editstat.hxx> // EE_CNTRL_RTFSTYLESHEETS
+#include <editeng/editstat.hxx>
#include <svx/fmview.hxx>
#include <editeng/frmdiritem.hxx>
#include <editeng/lrspitem.hxx>
diff --git a/sc/source/ui/view/tabview5.cxx b/sc/source/ui/view/tabview5.cxx
index ef34191f8a1b..681fcc62d68e 100644
--- a/sc/source/ui/view/tabview5.cxx
+++ b/sc/source/ui/view/tabview5.cxx
@@ -41,7 +41,7 @@
#include "hiranges.hxx"
#include "drawview.hxx"
#include "drwlayer.hxx"
-#include "fusel.hxx" // Start-Function
+#include "fusel.hxx"
#include "seltrans.hxx"
#include "scmod.hxx"
#include "AccessibilityHints.hxx"
diff --git a/sc/source/ui/view/tabvwsh.cxx b/sc/source/ui/view/tabvwsh.cxx
index dde0afd8fa1c..1bc0e52b4bf1 100644
--- a/sc/source/ui/view/tabvwsh.cxx
+++ b/sc/source/ui/view/tabvwsh.cxx
@@ -34,8 +34,8 @@
#include "reffact.hxx"
#include "scresid.hxx"
#include "dwfunctr.hxx"
-#include "sc.hrc" // -> SID_TOOL_xxx
-#include "drawattr.hxx" // -> SvxDrawToolItem
+#include "sc.hrc"
+#include "drawattr.hxx"
#include "spelldialog.hxx"
diff --git a/sc/source/ui/view/tabvwsh4.cxx b/sc/source/ui/view/tabvwsh4.cxx
index aed5251ab522..1c73dbe79fee 100644
--- a/sc/source/ui/view/tabvwsh4.cxx
+++ b/sc/source/ui/view/tabvwsh4.cxx
@@ -57,7 +57,7 @@
#include "inputopt.hxx"
#include "inputwin.hxx"
#include "scresid.hxx"
-#include "dbdata.hxx" // fuer ReImport
+#include "dbdata.hxx"
#include "reffact.hxx"
#include "viewuno.hxx"
#include "dispuno.hxx"
diff --git a/sc/source/ui/view/tabvwsha.cxx b/sc/source/ui/view/tabvwsha.cxx
index e819b2c10d1e..c8917fac9599 100644
--- a/sc/source/ui/view/tabvwsha.cxx
+++ b/sc/source/ui/view/tabvwsha.cxx
@@ -35,7 +35,7 @@
#include "attrib.hxx"
#include "patattr.hxx"
#include "document.hxx"
-#include "formulacell.hxx" // Input Status Edit-Zellen
+#include "formulacell.hxx"
#include "globstr.hrc"
#include "scmod.hxx"
#include "inputhdl.hxx"
diff --git a/sc/source/ui/view/tabvwshc.cxx b/sc/source/ui/view/tabvwshc.cxx
index 1bc5dc4ae992..642a4bdc5014 100644
--- a/sc/source/ui/view/tabvwshc.cxx
+++ b/sc/source/ui/view/tabvwshc.cxx
@@ -38,8 +38,8 @@
#include "solvrdlg.hxx"
#include "optsolver.hxx"
#include "tabopdlg.hxx"
-#include "autoform.hxx" // Core
-#include "autofmt.hxx" // Dialog
+#include "autoform.hxx"
+#include "autofmt.hxx"
#include "consdlg.hxx"
#include "filtdlg.hxx"
#include "dbnamdlg.hxx"
@@ -50,7 +50,7 @@
#include "rangeutl.hxx"
#include "crnrdlg.hxx"
#include "formula.hxx"
-#include "formulacell.hxx" // Input Status Edit-Zellen
+#include "formulacell.hxx"
#include "acredlin.hxx"
#include "highred.hxx"
#include "simpref.hxx"
diff --git a/sc/source/ui/view/tabvwshh.cxx b/sc/source/ui/view/tabvwshh.cxx
index 74505f003e2e..84e805bfba9b 100644
--- a/sc/source/ui/view/tabvwshh.cxx
+++ b/sc/source/ui/view/tabvwshh.cxx
@@ -32,7 +32,7 @@
#include "document.hxx"
#include "docsh.hxx"
#include "sc.hrc"
-#include "drwlayer.hxx" // GetVisibleName
+#include "drwlayer.hxx"
#include "retypepassdlg.hxx"
#include "tabprotection.hxx"
diff --git a/sc/source/ui/view/viewfun2.cxx b/sc/source/ui/view/viewfun2.cxx
index 8ee0da43db1d..637c7f3f3d06 100644
--- a/sc/source/ui/view/viewfun2.cxx
+++ b/sc/source/ui/view/viewfun2.cxx
@@ -49,7 +49,7 @@
#include "attrib.hxx"
#include "autoform.hxx"
-#include "formulacell.hxx" // EnterAutoSum
+#include "formulacell.hxx"
#include "cellmergeoption.hxx"
#include "compiler.hxx"
#include "docfunc.hxx"
diff --git a/sc/source/ui/view/viewfun3.cxx b/sc/source/ui/view/viewfun3.cxx
index 5f4dac21e73e..942826e71528 100644
--- a/sc/source/ui/view/viewfun3.cxx
+++ b/sc/source/ui/view/viewfun3.cxx
@@ -53,7 +53,7 @@
#include "drwtrans.hxx"
#include "rangenam.hxx"
#include "dbdata.hxx"
-#include "impex.hxx" // Sylk-ID fuer CB
+#include "impex.hxx"
#include "chgtrack.hxx"
#include "waitoff.hxx"
#include "scmod.hxx"
diff --git a/sc/source/ui/view/viewfun5.cxx b/sc/source/ui/view/viewfun5.cxx
index 34f1e1fc0bc3..0d4c1311d8b5 100644
--- a/sc/source/ui/view/viewfun5.cxx
+++ b/sc/source/ui/view/viewfun5.cxx
@@ -59,7 +59,7 @@
#include "sc.hrc"
#include "filter.hxx"
#include "scextopt.hxx"
-#include "tabvwsh.hxx" // wegen GetViewFrame
+#include "tabvwsh.hxx"
#include "compiler.hxx"
#include "asciiopt.hxx"
diff --git a/sc/source/ui/view/viewfun7.cxx b/sc/source/ui/view/viewfun7.cxx
index e70d1b220dfa..ebcbaeb10062 100644
--- a/sc/source/ui/view/viewfun7.cxx
+++ b/sc/source/ui/view/viewfun7.cxx
@@ -33,7 +33,7 @@
#include <toolkit/helper/vclunohelper.hxx>
#include <com/sun/star/embed/Aspects.hpp>
-#include "document.hxx" // for MapMode init in PasteDraw
+#include "document.hxx"
#include "viewfunc.hxx"
#include "tabvwsh.hxx"
#include "drawview.hxx"
diff --git a/sc/source/ui/view/viewfunc.cxx b/sc/source/ui/view/viewfunc.cxx
index 92f72dfcf2c2..fcf4fec85c6a 100644
--- a/sc/source/ui/view/viewfunc.cxx
+++ b/sc/source/ui/view/viewfunc.cxx
@@ -37,7 +37,7 @@
#include <vcl/virdev.hxx>
#include <vcl/waitobj.hxx>
#include <vcl/wrkwin.hxx>
-#include <stdlib.h> // qsort
+#include <stdlib.h>
#include "viewfunc.hxx"
#include "tabvwsh.hxx"