summaryrefslogtreecommitdiff
path: root/sc/source/ui
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2013-10-22 15:58:57 +0300
committerTor Lillqvist <tml@collabora.com>2013-10-22 16:56:28 +0300
commita7724966ab4fc8cd680a20e4f2a65f276e001a39 (patch)
tree5aeb953a7172ea061c7884be8c19849b9e2d81d8 /sc/source/ui
parent1cbe2313edda8a04f0fe233b4a29ef4e2485f557 (diff)
Bin comments that claim to say why some header is included
They are practically always useless, often misleading or obsolete. Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
Diffstat (limited to 'sc/source/ui')
-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
80 files changed, 108 insertions, 108 deletions
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"