summaryrefslogtreecommitdiff
path: root/sw/source/core
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core')
-rw-r--r--sw/source/core/access/accnotextframe.cxx2
-rw-r--r--sw/source/core/access/accpara.cxx10
-rw-r--r--sw/source/core/access/accpara.hxx2
-rw-r--r--sw/source/core/access/accselectionhelper.cxx2
-rw-r--r--sw/source/core/access/acctextframe.cxx2
-rw-r--r--sw/source/core/attr/calbck.cxx6
-rw-r--r--sw/source/core/bastyp/swcache.cxx2
-rw-r--r--sw/source/core/doc/doc.cxx28
-rw-r--r--sw/source/core/doc/docdde.cxx8
-rw-r--r--sw/source/core/doc/docdesc.cxx2
-rw-r--r--sw/source/core/doc/docdraw.cxx6
-rw-r--r--sw/source/core/doc/docedt.cxx12
-rw-r--r--sw/source/core/doc/docfld.cxx4
-rw-r--r--sw/source/core/doc/docfmt.cxx8
-rw-r--r--sw/source/core/doc/docglbl.cxx2
-rw-r--r--sw/source/core/doc/doclay.cxx8
-rw-r--r--sw/source/core/doc/docnew.cxx16
-rw-r--r--sw/source/core/doc/docnum.cxx2
-rw-r--r--sw/source/core/doc/docruby.cxx6
-rw-r--r--sw/source/core/doc/fmtcol.cxx2
-rw-r--r--sw/source/core/doc/notxtfrm.cxx2
-rw-r--r--sw/source/core/docnode/ndnotxt.cxx2
-rw-r--r--sw/source/core/docnode/ndnum.cxx2
-rw-r--r--sw/source/core/docnode/node.cxx2
-rw-r--r--sw/source/core/docnode/nodes.cxx4
-rw-r--r--sw/source/core/docnode/swbaslnk.cxx2
-rw-r--r--sw/source/core/draw/dcontact.cxx2
-rw-r--r--sw/source/core/edit/autofmt.cxx2
-rw-r--r--sw/source/core/edit/edatmisc.cxx10
-rw-r--r--sw/source/core/edit/edattr.cxx8
-rw-r--r--sw/source/core/edit/eddel.cxx2
-rw-r--r--sw/source/core/edit/edfcol.cxx6
-rw-r--r--sw/source/core/edit/edfld.cxx2
-rw-r--r--sw/source/core/edit/edfldexp.cxx2
-rw-r--r--sw/source/core/edit/edfmt.cxx2
-rw-r--r--sw/source/core/edit/edglbldc.cxx2
-rw-r--r--sw/source/core/edit/edglss.cxx8
-rw-r--r--sw/source/core/edit/editsh.cxx4
-rw-r--r--sw/source/core/edit/edlingu.cxx20
-rw-r--r--sw/source/core/edit/edsect.cxx10
-rw-r--r--sw/source/core/fields/chpfld.cxx6
-rw-r--r--sw/source/core/fields/ddetbl.cxx2
-rw-r--r--sw/source/core/fields/docufld.cxx6
-rw-r--r--sw/source/core/fields/reffld.cxx2
-rw-r--r--sw/source/core/fields/tblcalc.cxx4
-rw-r--r--sw/source/core/frmedt/fecopy.cxx2
-rw-r--r--sw/source/core/frmedt/fefly1.cxx4
-rw-r--r--sw/source/core/frmedt/feshview.cxx6
-rw-r--r--sw/source/core/frmedt/fetab.cxx2
-rw-r--r--sw/source/core/frmedt/fews.cxx6
-rw-r--r--sw/source/core/inc/swfont.hxx4
-rw-r--r--sw/source/core/layout/atrfrm.cxx2
-rw-r--r--sw/source/core/layout/colfrm.cxx6
-rw-r--r--sw/source/core/layout/findfrm.cxx2
-rw-r--r--sw/source/core/layout/fly.cxx2
-rw-r--r--sw/source/core/layout/flyincnt.cxx2
-rw-r--r--sw/source/core/layout/layact.cxx8
-rw-r--r--sw/source/core/layout/pagechg.cxx2
-rw-r--r--sw/source/core/layout/pagedesc.cxx2
-rw-r--r--sw/source/core/layout/paintfrm.cxx2
-rw-r--r--sw/source/core/layout/sectfrm.cxx32
-rw-r--r--sw/source/core/layout/ssfrm.cxx2
-rw-r--r--sw/source/core/layout/tabfrm.cxx4
-rw-r--r--sw/source/core/layout/virtoutp.hxx4
-rw-r--r--sw/source/core/ole/ndole.cxx2
-rw-r--r--sw/source/core/swg/swblocks.cxx2
-rw-r--r--sw/source/core/table/swtable.cxx4
-rw-r--r--sw/source/core/text/atrstck.cxx4
-rw-r--r--sw/source/core/text/blink.cxx6
-rw-r--r--sw/source/core/text/frmcrsr.cxx18
-rw-r--r--sw/source/core/text/frmform.cxx30
-rw-r--r--sw/source/core/text/frminf.cxx6
-rw-r--r--sw/source/core/text/frmpaint.cxx28
-rw-r--r--sw/source/core/text/guess.cxx4
-rw-r--r--sw/source/core/text/guess.hxx2
-rw-r--r--sw/source/core/text/inftxt.cxx20
-rw-r--r--sw/source/core/text/itradj.cxx6
-rw-r--r--sw/source/core/text/itratr.cxx6
-rw-r--r--sw/source/core/text/itrcrsr.cxx12
-rw-r--r--sw/source/core/text/itrform2.cxx32
-rw-r--r--sw/source/core/text/itrpaint.cxx28
-rw-r--r--sw/source/core/text/itrtxt.cxx2
-rw-r--r--sw/source/core/text/porexp.cxx2
-rw-r--r--sw/source/core/text/porfld.cxx8
-rw-r--r--sw/source/core/text/porfly.cxx16
-rw-r--r--sw/source/core/text/porglue.cxx8
-rw-r--r--sw/source/core/text/porlay.cxx18
-rw-r--r--sw/source/core/text/porlay.hxx2
-rw-r--r--sw/source/core/text/porlin.hxx2
-rw-r--r--sw/source/core/text/pormulti.cxx22
-rw-r--r--sw/source/core/text/porref.cxx4
-rw-r--r--sw/source/core/text/porrst.cxx16
-rw-r--r--sw/source/core/text/portox.cxx4
-rw-r--r--sw/source/core/text/portxt.cxx10
-rw-r--r--sw/source/core/text/redlnitr.cxx14
-rw-r--r--sw/source/core/text/txtdrop.cxx10
-rw-r--r--sw/source/core/text/txtfld.cxx40
-rw-r--r--sw/source/core/text/txtfly.cxx28
-rw-r--r--sw/source/core/text/txtfrm.cxx28
-rw-r--r--sw/source/core/text/txtftn.cxx10
-rw-r--r--sw/source/core/text/txthyph.cxx10
-rw-r--r--sw/source/core/text/txtinit.cxx12
-rw-r--r--sw/source/core/text/txtio.cxx4
-rw-r--r--sw/source/core/text/txttab.cxx2
-rw-r--r--sw/source/core/text/widorp.cxx2
-rw-r--r--sw/source/core/tox/tox.cxx2
-rw-r--r--sw/source/core/txtnode/atrfld.cxx8
-rw-r--r--sw/source/core/txtnode/atrflyin.cxx10
-rw-r--r--sw/source/core/txtnode/atrftn.cxx4
-rw-r--r--sw/source/core/txtnode/fmtatr2.cxx10
-rw-r--r--sw/source/core/txtnode/fntcache.cxx6
-rw-r--r--sw/source/core/txtnode/fntcap.cxx2
-rw-r--r--sw/source/core/txtnode/ndtxt.cxx8
-rw-r--r--sw/source/core/txtnode/swfont.cxx6
-rw-r--r--sw/source/core/txtnode/thints.cxx2
-rw-r--r--sw/source/core/txtnode/txtatr2.cxx6
-rw-r--r--sw/source/core/txtnode/txtedt.cxx6
-rw-r--r--sw/source/core/undo/rolbck.cxx8
-rw-r--r--sw/source/core/undo/unbkmk.cxx2
-rw-r--r--sw/source/core/undo/undel.cxx2
-rw-r--r--sw/source/core/undo/undraw.cxx2
-rw-r--r--sw/source/core/undo/unins.cxx2
-rw-r--r--sw/source/core/undo/unoutl.cxx2
-rw-r--r--sw/source/core/undo/unovwr.cxx2
-rw-r--r--sw/source/core/unocore/unochart.cxx2
-rw-r--r--sw/source/core/unocore/unofield.cxx2
-rw-r--r--sw/source/core/unocore/unotbl.cxx4
-rw-r--r--sw/source/core/view/viewpg.cxx2
-rw-r--r--sw/source/core/view/vnew.cxx4
-rw-r--r--sw/source/core/view/vprint.cxx20
130 files changed, 473 insertions, 473 deletions
diff --git a/sw/source/core/access/accnotextframe.cxx b/sw/source/core/access/accnotextframe.cxx
index b79e7945a000..d0a0de9d6731 100644
--- a/sw/source/core/access/accnotextframe.cxx
+++ b/sw/source/core/access/accnotextframe.cxx
@@ -27,7 +27,7 @@
#include <ndnotxt.hxx>
#include <flyfrm.hxx>
#include <cntfrm.hxx>
-#include <hints.hxx> //#i73249#
+#include <hints.hxx>
#include "accnotextframe.hxx"
using namespace ::com::sun::star;
diff --git a/sw/source/core/access/accpara.cxx b/sw/source/core/access/accpara.cxx
index 20b86d67a0e8..7e6be84936d0 100644
--- a/sw/source/core/access/accpara.cxx
+++ b/sw/source/core/access/accpara.cxx
@@ -44,10 +44,10 @@
#include <accpara.hxx>
#include <access.hrc>
#include <accportions.hxx>
-#include <sfx2/viewsh.hxx> // for ExecuteAtViewShell(...)
-#include <sfx2/viewfrm.hxx> // for ExecuteAtViewShell(...)
-#include <sfx2/dispatch.hxx> // for ExecuteAtViewShell(...)
-#include <unotools/charclass.hxx> // for GetWordBoundary
+#include <sfx2/viewsh.hxx>
+#include <sfx2/viewfrm.hxx>
+#include <sfx2/dispatch.hxx>
+#include <unotools/charclass.hxx>
#include <unocrsr.hxx>
#include <unoport.hxx>
#include <doc.hxx>
@@ -68,7 +68,7 @@
// #i10825#
#include <parachangetrackinginfo.hxx>
#include <com/sun/star/text/TextMarkupType.hpp>
-#include <comphelper/stlunosequence.hxx> // #i92233#
+#include <comphelper/stlunosequence.hxx>
#include <comphelper/servicehelper.hxx>
#include <algorithm>
diff --git a/sw/source/core/access/accpara.hxx b/sw/source/core/access/accpara.hxx
index 5776c4c986f7..468e33a02388 100644
--- a/sw/source/core/access/accpara.hxx
+++ b/sw/source/core/access/accpara.hxx
@@ -28,7 +28,7 @@
#include <com/sun/star/accessibility/XAccessibleTextAttributes.hpp>
#include <boost/unordered_map.hpp>
#include <accselectionhelper.hxx>
-#include <calbck.hxx> // #i108125#
+#include <calbck.hxx>
class SwTxtFrm;
class SwTxtNode;
diff --git a/sw/source/core/access/accselectionhelper.cxx b/sw/source/core/access/accselectionhelper.cxx
index f7f033288c9d..7ea2522e2dda 100644
--- a/sw/source/core/access/accselectionhelper.cxx
+++ b/sw/source/core/access/accselectionhelper.cxx
@@ -25,7 +25,7 @@
#include <svx/AccessibleShape.hxx>
#include <viewsh.hxx>
#include <fesh.hxx>
-#include <vcl/svapp.hxx> // for SolarMutex
+#include <vcl/svapp.hxx>
#include <flyfrm.hxx>
using namespace ::com::sun::star;
diff --git a/sw/source/core/access/acctextframe.cxx b/sw/source/core/access/acctextframe.cxx
index a25506962608..118c3e003244 100644
--- a/sw/source/core/access/acctextframe.cxx
+++ b/sw/source/core/access/acctextframe.cxx
@@ -32,7 +32,7 @@
#include <flyfrm.hxx>
#include <accmap.hxx>
#include <unotools/accessiblerelationsethelper.hxx>
-#include <hints.hxx> // #i73249#
+#include <hints.hxx>
#include "acctextframe.hxx"
using namespace ::com::sun::star;
diff --git a/sw/source/core/attr/calbck.cxx b/sw/source/core/attr/calbck.cxx
index d270d42e1d86..57a6cae4cd89 100644
--- a/sw/source/core/attr/calbck.cxx
+++ b/sw/source/core/attr/calbck.cxx
@@ -18,10 +18,10 @@
*/
#include <frame.hxx>
-#include <hintids.hxx> // contains RES_.. IDs
+#include <hintids.hxx>
#include <hints.hxx>
-#include <swcache.hxx> // mba: get rid of that dependency
-#include <swfntcch.hxx> // mba: get rid of that dependency
+#include <swcache.hxx>
+#include <swfntcch.hxx>
static SwClientIter* pClientIters = 0;
diff --git a/sw/source/core/bastyp/swcache.cxx b/sw/source/core/bastyp/swcache.cxx
index 539ffe437e6c..ab0598e1b3f2 100644
--- a/sw/source/core/bastyp/swcache.cxx
+++ b/sw/source/core/bastyp/swcache.cxx
@@ -19,7 +19,7 @@
#include <rtl/strbuf.hxx>
#include <swcache.hxx>
-#include <limits.h> // USHRT_MAX
+#include <limits.h>
#ifdef DBG_UTIL
void SwCache::Check()
diff --git a/sw/source/core/doc/doc.cxx b/sw/source/core/doc/doc.cxx
index 26a03b4fd72d..b82639813518 100644
--- a/sw/source/core/doc/doc.cxx
+++ b/sw/source/core/doc/doc.cxx
@@ -73,48 +73,48 @@
#include <swtable.hxx>
#include <pam.hxx>
#include <ndtxt.hxx>
-#include <swundo.hxx> // for the UndoIds
+#include <swundo.hxx>
#include <UndoCore.hxx>
#include <UndoInsert.hxx>
#include <UndoSplitMove.hxx>
#include <UndoTable.hxx>
-#include <pagedesc.hxx> // DTor
+#include <pagedesc.hxx>
#include <breakit.hxx>
#include <ndole.hxx>
#include <ndgrf.hxx>
-#include <rolbck.hxx> // Undo attr
-#include <doctxm.hxx> // for the index stuff
+#include <rolbck.hxx>
+#include <doctxm.hxx>
#include <grfatr.hxx>
-#include <poolfmt.hxx> // pool template ids
-#include <mvsave.hxx> // for server functionality
+#include <poolfmt.hxx>
+#include <mvsave.hxx>
#include <SwGrammarMarkUp.hxx>
#include <scriptinfo.hxx>
-#include <acorrect.hxx> // auto correction
-#include <mdiexp.hxx> // status indicator
+#include <acorrect.hxx>
+#include <mdiexp.hxx>
#include <docstat.hxx>
#include <docary.hxx>
#include <redline.hxx>
#include <fldupde.hxx>
#include <swbaslnk.hxx>
#include <printdata.hxx>
-#include <cmdid.h> // for the dflt printer in SetJob
-#include <statstr.hrc> // StatLine string
+#include <cmdid.h>
+#include <statstr.hrc>
#include <comcore.hrc>
#include <SwUndoTOXChange.hxx>
#include <SwUndoFmt.hxx>
#include <unocrsr.hxx>
#include <docsh.hxx>
#include <viewopt.hxx>
-#include <docfld.hxx> // _SetGetExpFld
-#include <docufld.hxx> // SwPostItField
+#include <docfld.hxx>
+#include <docufld.hxx>
#include <viewsh.hxx>
#include <shellres.hxx>
#include <txtfrm.hxx>
#include <attrhint.hxx>
#include <view.hxx>
-#include <wdocsh.hxx> // SwWebDocShell
-#include <prtopt.hxx> // SwPrintOptions
+#include <wdocsh.hxx>
+#include <prtopt.hxx>
#include <vector>
#include <map>
diff --git a/sw/source/core/doc/docdde.cxx b/sw/source/core/doc/docdde.cxx
index b2835b1e61ef..944800937eb9 100644
--- a/sw/source/core/doc/docdde.cxx
+++ b/sw/source/core/doc/docdde.cxx
@@ -22,15 +22,15 @@
#include <vcl/svapp.hxx>
#include <tools/urlobj.hxx>
-#include <sfx2/linkmgr.hxx> // LinkManager
+#include <sfx2/linkmgr.hxx>
#include <unotools/charclass.hxx>
#include <fmtcntnt.hxx>
#include <doc.hxx>
-#include <swserv.hxx> // for server functionality
+#include <swserv.hxx>
#include <IMark.hxx>
#include <bookmrk.hxx>
-#include <section.hxx> // for SwSectionFmt
-#include <swtable.hxx> // for SwTable
+#include <section.hxx>
+#include <swtable.hxx>
#include <node.hxx>
#include <ndtxt.hxx>
#include <pam.hxx>
diff --git a/sw/source/core/doc/docdesc.cxx b/sw/source/core/doc/docdesc.cxx
index 1f00833c7adb..ed370d675ceb 100644
--- a/sw/source/core/doc/docdesc.cxx
+++ b/sw/source/core/doc/docdesc.cxx
@@ -35,7 +35,7 @@
#include <doc.hxx>
#include <IDocumentUndoRedo.hxx>
#include <docary.hxx>
-#include <rootfrm.hxx> //For DelPageDesc
+#include <rootfrm.hxx>
#include <frmtool.hxx>
#include <poolfmt.hxx>
#include <docsh.hxx>
diff --git a/sw/source/core/doc/docdraw.cxx b/sw/source/core/doc/docdraw.cxx
index 567ad9cd0d2c..e05fbd7fa1bb 100644
--- a/sw/source/core/doc/docdraw.cxx
+++ b/sw/source/core/doc/docdraw.cxx
@@ -40,12 +40,12 @@
#include <doc.hxx>
#include <IDocumentUndoRedo.hxx>
#include <docsh.hxx>
-#include <rootfrm.hxx> // So that the RootDtor is called.
+#include <rootfrm.hxx>
#include <poolfmt.hxx>
-#include <viewsh.hxx> // for MakeDrawView
+#include <viewsh.hxx>
#include <drawdoc.hxx>
#include <UndoDraw.hxx>
-#include <swundo.hxx> // for the UndoIds
+#include <swundo.hxx>
#include <dcontact.hxx>
#include <dview.hxx>
#include <mvsave.hxx>
diff --git a/sw/source/core/doc/docedt.cxx b/sw/source/core/doc/docedt.cxx
index 8f31aa973ab1..15792b089700 100644
--- a/sw/source/core/doc/docedt.cxx
+++ b/sw/source/core/doc/docedt.cxx
@@ -20,17 +20,17 @@
#include <fmtanchr.hxx>
#include <fmtcntnt.hxx>
#include <txtftn.hxx>
-#include <acorrect.hxx> // AutoCorrect
+#include <acorrect.hxx>
#include <UndoManager.hxx>
#include <docsh.hxx>
#include <docary.hxx>
-#include <doctxm.hxx> // when moving: correct indexes
+#include <doctxm.hxx>
#include <ftnidx.hxx>
-#include <mdiexp.hxx> // status bar
-#include <mvsave.hxx> // structures to save when moving/deleting
+#include <mdiexp.hxx>
+#include <mvsave.hxx>
#include <redline.hxx>
-#include <rootfrm.hxx> // for UpdateFtn
-#include <splargs.hxx> // for Spell
+#include <rootfrm.hxx>
+#include <splargs.hxx>
#include <txtfrm.hxx>
#include <UndoSplitMove.hxx>
#include <UndoRedline.hxx>
diff --git a/sw/source/core/doc/docfld.cxx b/sw/source/core/doc/docfld.cxx
index aa10eef1ebad..43850ed366dc 100644
--- a/sw/source/core/doc/docfld.cxx
+++ b/sw/source/core/doc/docfld.cxx
@@ -37,7 +37,7 @@
#include <fmtfld.hxx>
#include <tox.hxx>
#include <txttxmrk.hxx>
-#include <docfld.hxx> // for expression fields
+#include <docfld.hxx>
#include <docufld.hxx>
#include <ddefld.hxx>
#include <usrfld.hxx>
@@ -54,7 +54,7 @@
#include <authfld.hxx>
#include <txtinet.hxx>
#include <fmtcntnt.hxx>
-#include <poolfmt.hrc> // for InitFldTypes
+#include <poolfmt.hrc>
#include <SwUndoField.hxx>
#include "switerator.hxx"
diff --git a/sw/source/core/doc/docfmt.cxx b/sw/source/core/doc/docfmt.cxx
index 156debb26223..223d48ccb387 100644
--- a/sw/source/core/doc/docfmt.cxx
+++ b/sw/source/core/doc/docfmt.cxx
@@ -39,16 +39,16 @@
#include <IDocumentUndoRedo.hxx>
#include <rootfrm.hxx>
#include <pagefrm.hxx>
-#include <hints.hxx> // for SwHyphenBug (in SetDefault)
+#include <hints.hxx>
#include <ndtxt.hxx>
#include <pam.hxx>
#include <UndoCore.hxx>
#include <UndoAttribute.hxx>
#include <UndoInsert.hxx>
#include <ndgrf.hxx>
-#include <pagedesc.hxx> // For special treatment in InsFrmFmt
-#include <rolbck.hxx> // Undo-Attr
-#include <mvsave.hxx> // serve: Recognize changes
+#include <pagedesc.hxx>
+#include <rolbck.hxx>
+#include <mvsave.hxx>
#include <txatbase.hxx>
#include <swtable.hxx>
#include <swtblfmt.hxx>
diff --git a/sw/source/core/doc/docglbl.cxx b/sw/source/core/doc/docglbl.cxx
index 310213dc1668..cf611bad3e6a 100644
--- a/sw/source/core/doc/docglbl.cxx
+++ b/sw/source/core/doc/docglbl.cxx
@@ -38,7 +38,7 @@
#include <docsh.hxx>
#include <globdoc.hxx>
#include <shellio.hxx>
-#include <swundo.hxx> // for the UndoIds
+#include <swundo.hxx>
#include <section.hxx>
#include <doctxm.hxx>
#include <poolfmt.hxx>
diff --git a/sw/source/core/doc/doclay.cxx b/sw/source/core/doc/doclay.cxx
index b06d003e3a91..ba265a36b823 100644
--- a/sw/source/core/doc/doclay.cxx
+++ b/sw/source/core/doc/doclay.cxx
@@ -55,7 +55,7 @@
#include <fmtcnct.hxx>
#include <frmfmt.hxx>
#include <txtflcnt.hxx>
-#include <docfld.hxx> // for ExpressionFields
+#include <docfld.hxx>
#include <pam.hxx>
#include <ndtxt.hxx>
#include <ndnotxt.hxx>
@@ -73,8 +73,8 @@
#include <swundo.hxx>
#include <flypos.hxx>
#include <UndoInsert.hxx>
-#include <expfld.hxx> // InsertLabel
-#include <poolfmt.hxx> // PoolTemplate Ids
+#include <expfld.hxx>
+#include <poolfmt.hxx>
#include <docary.hxx>
#include <swtable.hxx>
#include <tblsel.hxx>
@@ -85,7 +85,7 @@
#include <ftninfo.hxx>
#include <pagedesc.hxx>
#include <PostItMgr.hxx>
-#include <comcore.hrc> // STR ResIds
+#include <comcore.hrc>
#include <unoframe.hxx>
diff --git a/sw/source/core/doc/docnew.cxx b/sw/source/core/doc/docnew.cxx
index 36eaf7b20cd2..6c9ab2bcabd0 100644
--- a/sw/source/core/doc/docnew.cxx
+++ b/sw/source/core/doc/docnew.cxx
@@ -51,9 +51,9 @@
#include <fmtfordr.hxx>
#include <fmtpdsc.hxx>
#include <pvprtdat.hxx>
-#include <rootfrm.hxx> // So that the RootDtor is being called
+#include <rootfrm.hxx>
#include <layouter.hxx>
-#include <pagedesc.hxx> // So that the PageDescs can be destroyed
+#include <pagedesc.hxx>
#include <ndtxt.hxx>
#include <printdata.hxx>
#include <docfld.hxx>
@@ -62,12 +62,12 @@
#include <docstat.hxx>
#include <charfmt.hxx>
#include <frmfmt.hxx>
-#include <rolbck.hxx> // Undo attributes, SwHistory
-#include <poolfmt.hxx> // for the Pool template
+#include <rolbck.hxx>
+#include <poolfmt.hxx>
#include <dbmgr.hxx>
#include <docsh.hxx>
-#include <acorrect.hxx> // for the automatic adding of exceptions
-#include <visiturl.hxx> // for the URLChange message
+#include <acorrect.hxx>
+#include <visiturl.hxx>
#include <docary.hxx>
#include <lineinfo.hxx>
#include <drawdoc.hxx>
@@ -89,7 +89,7 @@
#include <unochart.hxx>
#include <fldbas.hxx>
-#include <cmdid.h> // for the default printer in SetJob
+#include <cmdid.h>
#include <pausethreadstarting.hxx>
#include <numrule.hxx>
@@ -97,7 +97,7 @@
#include <listfunc.hxx>
#include <sfx2/Metadatable.hxx>
-#include <fmtmeta.hxx> // MetaFieldManager
+#include <fmtmeta.hxx>
#include <boost/foreach.hpp>
using namespace ::com::sun::star;
diff --git a/sw/source/core/doc/docnum.cxx b/sw/source/core/doc/docnum.cxx
index 10b0387769d5..db5dd76b7cdb 100644
--- a/sw/source/core/doc/docnum.cxx
+++ b/sw/source/core/doc/docnum.cxx
@@ -27,7 +27,7 @@
#include <IDocumentUndoRedo.hxx>
#include <pam.hxx>
#include <ndtxt.hxx>
-#include <doctxm.hxx> // pTOXBaseRing
+#include <doctxm.hxx>
#include <poolfmt.hxx>
#include <UndoCore.hxx>
#include <UndoRedline.hxx>
diff --git a/sw/source/core/doc/docruby.cxx b/sw/source/core/doc/docruby.cxx
index 2e2bab72e041..2f3dc2623afc 100644
--- a/sw/source/core/doc/docruby.cxx
+++ b/sw/source/core/doc/docruby.cxx
@@ -17,7 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include <string.h> // for strchr()
+#include <string.h>
#include <com/sun/star/i18n/UnicodeType.hpp>
#include <com/sun/star/i18n/WordType.hpp>
@@ -28,12 +28,12 @@
#include <doc.hxx>
#include <IDocumentUndoRedo.hxx>
#include <docary.hxx>
-#include <mvsave.hxx> // structures for Saving by Move/Delete
+#include <mvsave.hxx>
#include <ndtxt.hxx>
#include <txatbase.hxx>
#include <rubylist.hxx>
#include <pam.hxx>
-#include <swundo.hxx> // for the UndoIds
+#include <swundo.hxx>
#include <breakit.hxx>
#include <crsskip.hxx>
diff --git a/sw/source/core/doc/fmtcol.cxx b/sw/source/core/doc/fmtcol.cxx
index be240163a7fe..80823a88ac93 100644
--- a/sw/source/core/doc/fmtcol.cxx
+++ b/sw/source/core/doc/fmtcol.cxx
@@ -22,7 +22,7 @@
#include <editeng/ulspitem.hxx>
#include <editeng/lrspitem.hxx>
#include <editeng/fhgtitem.hxx>
-#include <doc.hxx> // for GetAttrPool
+#include <doc.hxx>
#include <fmtcol.hxx>
#include <fmtcolfunc.hxx>
#include <hints.hxx>
diff --git a/sw/source/core/doc/notxtfrm.cxx b/sw/source/core/doc/notxtfrm.cxx
index 2ea85fbf7102..46164fda6f0e 100644
--- a/sw/source/core/doc/notxtfrm.cxx
+++ b/sw/source/core/doc/notxtfrm.cxx
@@ -66,7 +66,7 @@
#include <com/sun/star/embed/EmbedStates.hpp>
#include <svtools/embedhlp.hxx>
#include <svx/charthelper.hxx>
-#include <dview.hxx> // #i99665#
+#include <dview.hxx>
#include <basegfx/matrix/b2dhommatrix.hxx>
#include <drawinglayer/processor2d/baseprocessor2d.hxx>
#include <drawinglayer/primitive2d/bitmapprimitive2d.hxx>
diff --git a/sw/source/core/docnode/ndnotxt.cxx b/sw/source/core/docnode/ndnotxt.cxx
index 7711eadabf26..b1b41a0d40e7 100644
--- a/sw/source/core/docnode/ndnotxt.cxx
+++ b/sw/source/core/docnode/ndnotxt.cxx
@@ -33,7 +33,7 @@
#include <istyleaccess.hxx>
#include <SwStyleNameMapper.hxx>
-#include <frmfmt.hxx> // #i73249#
+#include <frmfmt.hxx>
SwNoTxtNode::SwNoTxtNode( const SwNodeIndex & rWhere,
const sal_uInt8 nNdType,
diff --git a/sw/source/core/docnode/ndnum.cxx b/sw/source/core/docnode/ndnum.cxx
index 91b861ec9cbb..95edb7a82f75 100644
--- a/sw/source/core/docnode/ndnum.cxx
+++ b/sw/source/core/docnode/ndnum.cxx
@@ -21,7 +21,7 @@
#include <doc.hxx>
#include <pam.hxx>
#include <ndtxt.hxx>
-#include <fldbas.hxx> // UpdateFlds of the chapter numbering
+#include <fldbas.hxx>
#include <docary.hxx>
bool CompareSwOutlineNodes::operator()( SwNode* const& lhs, SwNode* const& rhs) const
diff --git a/sw/source/core/docnode/node.cxx b/sw/source/core/docnode/node.cxx
index e98377faee5c..bb17e7c63d06 100644
--- a/sw/source/core/docnode/node.cxx
+++ b/sw/source/core/docnode/node.cxx
@@ -40,7 +40,7 @@
#include <cntfrm.hxx>
#include <flyfrm.hxx>
#include <txtfrm.hxx>
-#include <tabfrm.hxx> // SwTabFrm
+#include <tabfrm.hxx>
#include <viewsh.hxx>
#include <paratr.hxx>
#include <ftnidx.hxx>
diff --git a/sw/source/core/docnode/nodes.cxx b/sw/source/core/docnode/nodes.cxx
index e9a03e7fd109..54f5e2e0b242 100644
--- a/sw/source/core/docnode/nodes.cxx
+++ b/sw/source/core/docnode/nodes.cxx
@@ -29,14 +29,14 @@
#include <numrule.hxx>
#include <ndtxt.hxx>
#include <ndnotxt.hxx>
-#include <swtable.hxx> // fuer erzuegen / loeschen der Table-Frames
+#include <swtable.hxx>
#include <tblsel.hxx>
#include <section.hxx>
#include <ddefld.hxx>
#include <swddetbl.hxx>
#include <frame.hxx>
#include <txtatr.hxx>
-#include <tox.hxx> // InvalidateTOXMark
+#include <tox.hxx>
#include <docsh.hxx>
#include <svl/smplhint.hxx>
diff --git a/sw/source/core/docnode/swbaslnk.cxx b/sw/source/core/docnode/swbaslnk.cxx
index 3de915c651ba..87af50cca97a 100644
--- a/sw/source/core/docnode/swbaslnk.cxx
+++ b/sw/source/core/docnode/swbaslnk.cxx
@@ -28,7 +28,7 @@
#include <sfx2/lnkbase.hxx>
#include <sfx2/objsh.hxx>
#include <editeng/boxitem.hxx>
-#include <svx/svxids.hrc> // For the EventIds
+#include <svx/svxids.hrc>
#include <sfx2/linkmgr.hxx>
#include <svtools/soerr.hxx>
#include <fmtfsize.hxx>
diff --git a/sw/source/core/draw/dcontact.cxx b/sw/source/core/draw/dcontact.cxx
index 2674ff7ab3f4..cf5c1e9866b5 100644
--- a/sw/source/core/draw/dcontact.cxx
+++ b/sw/source/core/draw/dcontact.cxx
@@ -42,7 +42,7 @@
#include <fmtcntnt.hxx>
#include <pagefrm.hxx>
#include <rootfrm.hxx>
-#include <frmtool.hxx> // Notify_Background
+#include <frmtool.hxx>
#include <flyfrm.hxx>
#include <frmfmt.hxx>
#include <dflyobj.hxx>
diff --git a/sw/source/core/edit/autofmt.cxx b/sw/source/core/edit/autofmt.cxx
index e9b76a72f63c..e4a70ae3f804 100644
--- a/sw/source/core/edit/autofmt.cxx
+++ b/sw/source/core/edit/autofmt.cxx
@@ -46,7 +46,7 @@
#include <pam.hxx>
#include <edimp.hxx>
#include <fesh.hxx>
-#include <swundo.hxx> // for the UndoIds
+#include <swundo.hxx>
#include <poolfmt.hxx>
#include <ndtxt.hxx>
#include <txtfrm.hxx>
diff --git a/sw/source/core/edit/edatmisc.cxx b/sw/source/core/edit/edatmisc.cxx
index 94218ac3e5e4..e270f49e3d82 100644
--- a/sw/source/core/edit/edatmisc.cxx
+++ b/sw/source/core/edit/edatmisc.cxx
@@ -18,12 +18,12 @@
*/
#include <editsh.hxx>
-#include <doc.hxx> // for aNodes
+#include <doc.hxx>
#include <IDocumentUndoRedo.hxx>
-#include <pam.hxx> // for SwPaM
-#include <edimp.hxx> // for MACROS
-#include <swundo.hxx> // for the UndoIds
-#include <ndtxt.hxx> // fot Get-/ChgFmt Set-/GetAttrXXX
+#include <pam.hxx>
+#include <edimp.hxx>
+#include <swundo.hxx>
+#include <ndtxt.hxx>
/*
* hard formatting (Attribute)
diff --git a/sw/source/core/edit/edattr.cxx b/sw/source/core/edit/edattr.cxx
index d97be991f00e..d9cfcadcf0e5 100644
--- a/sw/source/core/edit/edattr.cxx
+++ b/sw/source/core/edit/edattr.cxx
@@ -27,9 +27,9 @@
#include <txtftn.hxx>
#include <fmtftn.hxx>
#include <editsh.hxx>
-#include <edimp.hxx> // for MACROS
+#include <edimp.hxx>
#include <doc.hxx>
-#include <swundo.hxx> // for UNDO-Ids
+#include <swundo.hxx>
#include <ndtxt.hxx>
#include <ftnidx.hxx>
#include <expfld.hxx>
@@ -39,10 +39,10 @@
#include <txtfld.hxx>
#include <fmtfld.hxx>
#include <crsskip.hxx>
-#include <txtfrm.hxx> // SwTxtFrm
+#include <txtfrm.hxx>
#include <scriptinfo.hxx>
#include <svl/ctloptions.hxx>
-#include <charfmt.hxx> // #i27615#
+#include <charfmt.hxx>
#include <numrule.hxx>
#include <algorithm>
diff --git a/sw/source/core/edit/eddel.cxx b/sw/source/core/edit/eddel.cxx
index 09b8a0c62549..5434de3b2ff9 100644
--- a/sw/source/core/edit/eddel.cxx
+++ b/sw/source/core/edit/eddel.cxx
@@ -23,7 +23,7 @@
#include <editsh.hxx>
#include <cntfrm.hxx>
#include <pam.hxx>
-#include <swundo.hxx> // fuer die UndoIds
+#include <swundo.hxx>
#include <edimp.hxx>
#include <IMark.hxx>
#include <docary.hxx>
diff --git a/sw/source/core/edit/edfcol.cxx b/sw/source/core/edit/edfcol.cxx
index 598a55e14ca5..f389800bac90 100644
--- a/sw/source/core/edit/edfcol.cxx
+++ b/sw/source/core/edit/edfcol.cxx
@@ -20,13 +20,13 @@
#include <hintids.hxx>
#include <editeng/formatbreakitem.hxx>
#include <editsh.hxx>
-#include <doc.hxx> // fuer SwTxtFmtColls
+#include <doc.hxx>
#include <IDocumentUndoRedo.hxx>
-#include <edimp.hxx> // fuer MACROS
+#include <edimp.hxx>
#include <ndtxt.hxx>
#include <paratr.hxx>
#include <fmtpdsc.hxx>
-#include <viewopt.hxx> // Formular view
+#include <viewopt.hxx>
#include <SwRewriter.hxx>
#include <numrule.hxx>
#include <swundo.hxx>
diff --git a/sw/source/core/edit/edfld.cxx b/sw/source/core/edit/edfld.cxx
index c0312a85aa9f..4d40496ed575 100644
--- a/sw/source/core/edit/edfld.cxx
+++ b/sw/source/core/edit/edfld.cxx
@@ -20,7 +20,7 @@
#include <unotools/charclass.hxx>
#include <editsh.hxx>
#include <fldbas.hxx>
-#include <ndtxt.hxx> // GetCurFld
+#include <ndtxt.hxx>
#include <doc.hxx>
#include <docary.hxx>
#include <fmtfld.hxx>
diff --git a/sw/source/core/edit/edfldexp.cxx b/sw/source/core/edit/edfldexp.cxx
index 452fa561176b..7def93e8f27b 100644
--- a/sw/source/core/edit/edfldexp.cxx
+++ b/sw/source/core/edit/edfldexp.cxx
@@ -26,7 +26,7 @@
#include <com/sun/star/sdb/DatabaseContext.hpp>
#include <doc.hxx>
#include <docary.hxx>
-#include <ndtxt.hxx> // GetCurFld
+#include <ndtxt.hxx>
#include <txtfld.hxx>
#include <fmtfld.hxx>
#include <edimp.hxx>
diff --git a/sw/source/core/edit/edfmt.cxx b/sw/source/core/edit/edfmt.cxx
index 7459bab72ff2..532e2b23ebb8 100644
--- a/sw/source/core/edit/edfmt.cxx
+++ b/sw/source/core/edit/edfmt.cxx
@@ -25,7 +25,7 @@
#include <fchrfmt.hxx>
#include <frmfmt.hxx>
#include <charfmt.hxx>
-#include "ndtxt.hxx" // for GetXXXFmt
+#include "ndtxt.hxx"
#include "hints.hxx"
sal_uInt16 SwEditShell::GetCharFmtCount() const
diff --git a/sw/source/core/edit/edglbldc.cxx b/sw/source/core/edit/edglbldc.cxx
index 8a549c290403..b7490b72f0ac 100644
--- a/sw/source/core/edit/edglbldc.cxx
+++ b/sw/source/core/edit/edglbldc.cxx
@@ -24,7 +24,7 @@
#include <ndtxt.hxx>
#include <docary.hxx>
#include <swwait.hxx>
-#include <swundo.hxx> // for UndoIds
+#include <swundo.hxx>
#include <section.hxx>
#include <doctxm.hxx>
#include <edglbldc.hxx>
diff --git a/sw/source/core/edit/edglss.cxx b/sw/source/core/edit/edglss.cxx
index 29533ed50f6e..c108035e6de1 100644
--- a/sw/source/core/edit/edglss.cxx
+++ b/sw/source/core/edit/edglss.cxx
@@ -27,12 +27,12 @@
#include <editsh.hxx>
#include <edimp.hxx>
#include <frmfmt.hxx>
-#include <swundo.hxx> // for UndoIds
+#include <swundo.hxx>
#include <ndtxt.hxx>
-#include <swtable.hxx> // for table copying
-#include <shellio.hxx> // SwTextBlocks
+#include <swtable.hxx>
+#include <shellio.hxx>
#include <acorrect.hxx>
-#include <swerror.h> // SwTextBlocks
+#include <swerror.h>
void SwEditShell::InsertGlossary( SwTextBlocks& rGlossary, const OUString& rStr )
{
diff --git a/sw/source/core/edit/editsh.cxx b/sw/source/core/edit/editsh.cxx
index 4f7c0c870bf4..63eb5bcce609 100644
--- a/sw/source/core/edit/editsh.cxx
+++ b/sw/source/core/edit/editsh.cxx
@@ -36,11 +36,11 @@
#include <frame.hxx>
#include <cntfrm.hxx>
#include <pam.hxx>
-#include <ndtxt.hxx> // for SwTxtNode
+#include <ndtxt.hxx>
#include <grfatr.hxx>
#include <flyfrm.hxx>
#include <swtable.hxx>
-#include <swundo.hxx> // UNDO_START, UNDO_END
+#include <swundo.hxx>
#include <calc.hxx>
#include <edimp.hxx>
#include <ndgrf.hxx>
diff --git a/sw/source/core/edit/edlingu.cxx b/sw/source/core/edit/edlingu.cxx
index 58b1296b2c22..11c9a110c41b 100644
--- a/sw/source/core/edit/edlingu.cxx
+++ b/sw/source/core/edit/edlingu.cxx
@@ -38,20 +38,20 @@
#include <editsh.hxx>
#include <doc.hxx>
#include <IDocumentUndoRedo.hxx>
-#include <rootfrm.hxx> // SwRootFrm
+#include <rootfrm.hxx>
#include <pam.hxx>
-#include <swundo.hxx> // for the UndoIds
-#include <ndtxt.hxx> // AdjHyphPos
-#include <viewopt.hxx> // HyphStart/End
-#include <viscrs.hxx> // SwShellCrsr
-#include <SwGrammarMarkUp.hxx> // SwWrongList
-#include <mdiexp.hxx> // status display
-#include <statstr.hrc> // StatLine-String
+#include <swundo.hxx>
+#include <ndtxt.hxx>
+#include <viewopt.hxx>
+#include <viscrs.hxx>
+#include <SwGrammarMarkUp.hxx>
+#include <mdiexp.hxx>
+#include <statstr.hrc>
#include <cntfrm.hxx>
#include <crsskip.hxx>
#include <splargs.hxx>
-#include <redline.hxx> // SwRedline
-#include <docary.hxx> // SwRedlineTbl
+#include <redline.hxx>
+#include <docary.hxx>
#include <docsh.hxx>
#include <txatbase.hxx>
#include <txtfrm.hxx>
diff --git a/sw/source/core/edit/edsect.cxx b/sw/source/core/edit/edsect.cxx
index 88b0695acaa1..37ccd706cdab 100644
--- a/sw/source/core/edit/edsect.cxx
+++ b/sw/source/core/edit/edsect.cxx
@@ -22,13 +22,13 @@
#include <IDocumentUndoRedo.hxx>
#include <pam.hxx>
#include <docary.hxx>
-#include <swundo.hxx> // for the UndoIds
+#include <swundo.hxx>
#include <section.hxx>
#include <edimp.hxx>
-#include <sectfrm.hxx> // SwSectionFrm
-#include <cntfrm.hxx> // SwCntntFrm
-#include <tabfrm.hxx> // SwTabFrm
-#include <rootfrm.hxx> // SwRootFrm
+#include <sectfrm.hxx>
+#include <cntfrm.hxx>
+#include <tabfrm.hxx>
+#include <rootfrm.hxx>
SwSection const*
diff --git a/sw/source/core/fields/chpfld.cxx b/sw/source/core/fields/chpfld.cxx
index 7c1eb5217ddb..139b3213da54 100644
--- a/sw/source/core/fields/chpfld.cxx
+++ b/sw/source/core/fields/chpfld.cxx
@@ -19,11 +19,11 @@
#include <com/sun/star/text/ChapterFormat.hpp>
#include <doc.hxx>
-#include <frame.hxx> // SwChapterFieldType::ChangeExpansion()
-#include <pam.hxx> // for GetBodyTxtNode
+#include <frame.hxx>
+#include <pam.hxx>
#include <ndtxt.hxx>
#include <chpfld.hxx>
-#include <expfld.hxx> // for GetBodyTxtNode
+#include <expfld.hxx>
#include <unofldmid.h>
#include <numrule.hxx>
diff --git a/sw/source/core/fields/ddetbl.cxx b/sw/source/core/fields/ddetbl.cxx
index 940abf6f18c4..364f2b8dbc9b 100644
--- a/sw/source/core/fields/ddetbl.cxx
+++ b/sw/source/core/fields/ddetbl.cxx
@@ -24,7 +24,7 @@
#include <ndtxt.hxx>
#include <swtable.hxx>
#include <swddetbl.hxx>
-#include <ddefld.hxx> // for FieldType
+#include <ddefld.hxx>
#include <ndindex.hxx>
#include <fldupde.hxx>
#include <swtblfmt.hxx>
diff --git a/sw/source/core/fields/docufld.cxx b/sw/source/core/fields/docufld.cxx
index dfafdcc05d40..317193da34b1 100644
--- a/sw/source/core/fields/docufld.cxx
+++ b/sw/source/core/fields/docufld.cxx
@@ -70,9 +70,9 @@
#include <pagedesc.hxx>
#include <fmtpdsc.hxx>
#include <doc.hxx>
-#include <rootfrm.hxx> // AuthorField
-#include <pagefrm.hxx> //
-#include <cntfrm.hxx> //
+#include <rootfrm.hxx>
+#include <pagefrm.hxx>
+#include <cntfrm.hxx>
#include <pam.hxx>
#include <viewsh.hxx>
#include <dbmgr.hxx>
diff --git a/sw/source/core/fields/reffld.cxx b/sw/source/core/fields/reffld.cxx
index d5cc720c9fa1..abc373f38fe5 100644
--- a/sw/source/core/fields/reffld.cxx
+++ b/sw/source/core/fields/reffld.cxx
@@ -58,7 +58,7 @@
#include <set>
#include <map>
-#include <algorithm> // min, max
+#include <algorithm>
#include <sfx2/childwin.hxx>
diff --git a/sw/source/core/fields/tblcalc.cxx b/sw/source/core/fields/tblcalc.cxx
index f3bc3e774646..61f86b4803ea 100644
--- a/sw/source/core/fields/tblcalc.cxx
+++ b/sw/source/core/fields/tblcalc.cxx
@@ -20,12 +20,12 @@
#include <switerator.hxx>
#include <cntfrm.hxx>
#include <doc.hxx>
-#include <pam.hxx> // for GetBodyTxtNode
+#include <pam.hxx>
#include <ndtxt.hxx>
#include <fmtfld.hxx>
#include <txtfld.hxx>
#include <expfld.hxx>
-#include <docfld.hxx> // for _SetGetExpFld
+#include <docfld.hxx>
#include <unofldmid.h>
using namespace ::com::sun::star;
diff --git a/sw/source/core/frmedt/fecopy.cxx b/sw/source/core/frmedt/fecopy.cxx
index d35e3b961f26..9c5c0073c310 100644
--- a/sw/source/core/frmedt/fecopy.cxx
+++ b/sw/source/core/frmedt/fecopy.cxx
@@ -39,7 +39,7 @@
#include <svx/svdoole2.hxx>
#include <svx/fmmodel.hxx>
#include <svx/unomodel.hxx>
-#include <svx/svditer.hxx> // #i50824#
+#include <svx/svditer.hxx>
#include <svx/svdograf.hxx>
#include <unotools/streamwrap.hxx>
#include <fmtanchr.hxx>
diff --git a/sw/source/core/frmedt/fefly1.cxx b/sw/source/core/frmedt/fefly1.cxx
index 574f0f220978..0194d4f52608 100644
--- a/sw/source/core/frmedt/fefly1.cxx
+++ b/sw/source/core/frmedt/fefly1.cxx
@@ -54,7 +54,7 @@
#include <ndtxt.hxx>
#include <edimp.hxx>
#include <swtable.hxx>
-#include <mvsave.hxx> // storage structures for Move/Delete
+#include <mvsave.hxx>
#include <ndgrf.hxx>
#include <flyfrms.hxx>
#include <flypos.hxx>
@@ -65,7 +65,7 @@
#include <notxtfrm.hxx>
#include <HandleAnchorNodeChg.hxx>
#include <frmatr.hxx>
-#include <fmtsrnd.hxx> // #i89920#
+#include <fmtsrnd.hxx>
#include <ndole.hxx>
#include <editeng/opaqitem.hxx>
diff --git a/sw/source/core/frmedt/feshview.cxx b/sw/source/core/frmedt/feshview.cxx
index 3a93e69f8716..646c6b326c47 100644
--- a/sw/source/core/frmedt/feshview.cxx
+++ b/sw/source/core/frmedt/feshview.cxx
@@ -38,7 +38,7 @@
#include <svx/svdpagv.hxx>
#include <IDocumentSettingAccess.hxx>
#include <cmdid.h>
-#include <poolfmt.hrc> // for InitFldTypes
+#include <poolfmt.hrc>
#include <frmfmt.hxx>
#include <frmatr.hxx>
#include <fmtfsize.hxx>
@@ -67,12 +67,12 @@
#include "ndole.hxx"
#include "ndgrf.hxx"
#include "ndtxt.hxx"
-#include "viewopt.hxx" // for GetHTMLMode
+#include "viewopt.hxx"
#include "swundo.hxx"
#include "notxtfrm.hxx"
#include "txtfrm.hxx"
#include "txatbase.hxx"
-#include "mdiexp.hxx" // for update of the statusline during dragging
+#include "mdiexp.hxx"
#include <sortedobjs.hxx>
#include <HandleAnchorNodeChg.hxx>
#include <basegfx/polygon/b2dpolygon.hxx>
diff --git a/sw/source/core/frmedt/fetab.cxx b/sw/source/core/frmedt/fetab.cxx
index 37da8747297d..b2589d017cf1 100644
--- a/sw/source/core/frmedt/fetab.cxx
+++ b/sw/source/core/frmedt/fetab.cxx
@@ -56,7 +56,7 @@
#include <swundo.hxx>
#include <frmtool.hxx>
-#include <node.hxx> // #i23726#
+#include <node.hxx>
// OD 2004-05-24 #i28701#
#include <sortedobjs.hxx>
diff --git a/sw/source/core/frmedt/fews.cxx b/sw/source/core/frmedt/fews.cxx
index 4d2412239fd6..59a514357d7a 100644
--- a/sw/source/core/frmedt/fews.cxx
+++ b/sw/source/core/frmedt/fews.cxx
@@ -39,15 +39,15 @@
#include <tabfrm.hxx>
#include <cellfrm.hxx>
#include <flyfrms.hxx>
-#include <txtfrm.hxx> // SwTxtFrm
+#include <txtfrm.hxx>
#include <mdiexp.hxx>
#include <edimp.hxx>
#include <pagedesc.hxx>
#include <fmtanchr.hxx>
#include <environmentofanchoredobject.hxx>
-#include <ndtxt.hxx> // #i22341#
+#include <ndtxt.hxx>
#include <dflyobj.hxx>
-#include <dcontact.hxx> // #i26791#
+#include <dcontact.hxx>
using namespace com::sun::star;
diff --git a/sw/source/core/inc/swfont.hxx b/sw/source/core/inc/swfont.hxx
index 6df1dd2d33fb..1176ca011ac4 100644
--- a/sw/source/core/inc/swfont.hxx
+++ b/sw/source/core/inc/swfont.hxx
@@ -25,8 +25,8 @@
#include <tools/gen.hxx>
#include <editeng/svxfont.hxx>
#include <swtypes.hxx>
-#include <drawfont.hxx> // SwDrawTextInfo
-#include <editeng/borderline.hxx> // SvxBorderLine
+#include <drawfont.hxx>
+#include <editeng/borderline.hxx>
#include <boost/optional.hpp>
class SfxItemSet;
diff --git a/sw/source/core/layout/atrfrm.cxx b/sw/source/core/layout/atrfrm.cxx
index 597f8db6f079..5c3a076db438 100644
--- a/sw/source/core/layout/atrfrm.cxx
+++ b/sw/source/core/layout/atrfrm.cxx
@@ -67,7 +67,7 @@
#include <svtools/grfmgr.hxx>
#include <unomid.h>
#include <comcore.hrc>
-#include <svx/svdundo.hxx> // #111827#
+#include <svx/svdundo.hxx>
#include <sortedobjs.hxx>
#include <HandleAnchorNodeChg.hxx>
#include <switerator.hxx>
diff --git a/sw/source/core/layout/colfrm.cxx b/sw/source/core/layout/colfrm.cxx
index ef7847c2578e..5088bf3e591b 100644
--- a/sw/source/core/layout/colfrm.cxx
+++ b/sw/source/core/layout/colfrm.cxx
@@ -25,9 +25,9 @@
#include "frmtool.hxx"
#include "colfrm.hxx"
#include "pagefrm.hxx"
-#include "bodyfrm.hxx" // ColumnFrms now with BodyFrm
-#include "rootfrm.hxx" // wg. RemoveFtns
-#include "sectfrm.hxx" // wg. FtnAtEnd-Flag
+#include "bodyfrm.hxx"
+#include "rootfrm.hxx"
+#include "sectfrm.hxx"
#include "switerator.hxx"
// ftnfrm.cxx:
diff --git a/sw/source/core/layout/findfrm.cxx b/sw/source/core/layout/findfrm.cxx
index d90c8a9e91c9..32aee617d33a 100644
--- a/sw/source/core/layout/findfrm.cxx
+++ b/sw/source/core/layout/findfrm.cxx
@@ -29,7 +29,7 @@
#include "ftnfrm.hxx"
#include "txtftn.hxx"
#include "fmtftn.hxx"
-#include <txtfrm.hxx> // SwTxtFrm
+#include <txtfrm.hxx>
#include <switerator.hxx>
/*************************************************************************
diff --git a/sw/source/core/layout/fly.cxx b/sw/source/core/layout/fly.cxx
index 3f13e690e96e..bb9ebf9bf5a6 100644
--- a/sw/source/core/layout/fly.cxx
+++ b/sw/source/core/layout/fly.cxx
@@ -52,7 +52,7 @@
#include "hints.hxx"
#include "tabfrm.hxx"
#include "txtfrm.hxx"
-#include "notxtfrm.hxx" // GetGrfArea
+#include "notxtfrm.hxx"
#include "flyfrms.hxx"
#include "sectfrm.hxx"
#include <vcl/svapp.hxx>
diff --git a/sw/source/core/layout/flyincnt.cxx b/sw/source/core/layout/flyincnt.cxx
index e7d72c0d97c2..8064bcdb6efe 100644
--- a/sw/source/core/layout/flyincnt.cxx
+++ b/sw/source/core/layout/flyincnt.cxx
@@ -22,7 +22,7 @@
#include "frmtool.hxx"
#include "hints.hxx"
#include <fmtornt.hxx>
-#include "txtfrm.hxx" //fuer IsLocked()
+#include "txtfrm.hxx"
#include "flyfrms.hxx"
// OD 2004-01-19 #110582#
#include <dflyobj.hxx>
diff --git a/sw/source/core/layout/layact.cxx b/sw/source/core/layout/layact.cxx
index cc14c74f91ad..2baace7723c0 100644
--- a/sw/source/core/layout/layact.cxx
+++ b/sw/source/core/layout/layact.cxx
@@ -34,13 +34,13 @@
#include "flyfrm.hxx"
#include "frmtool.hxx"
#include "dcontact.hxx"
-#include "ndtxt.hxx" // OnlineSpelling
+#include "ndtxt.hxx"
#include "frmfmt.hxx"
#include "swregion.hxx"
-#include "viewopt.hxx" // test OnlineSpelling using internal TabPage
-#include "pam.hxx" // OnlineSpelling needed because of the current cursor position
+#include "viewopt.hxx"
+#include "pam.hxx"
#include "dbg_lay.hxx"
-#include "layouter.hxx" // LoopControlling
+#include "layouter.hxx"
#include "docstat.hxx"
#include "swevent.hxx"
diff --git a/sw/source/core/layout/pagechg.cxx b/sw/source/core/layout/pagechg.cxx
index 533b2fb0ed64..20dc1a02dfd8 100644
--- a/sw/source/core/layout/pagechg.cxx
+++ b/sw/source/core/layout/pagechg.cxx
@@ -66,7 +66,7 @@
#include "pagedesc.hxx"
#include "poolfmt.hxx"
#include <editeng/frmdiritem.hxx>
-#include <swfntcch.hxx> // SwFontAccess
+#include <swfntcch.hxx>
#include <sortedobjs.hxx>
#include <switerator.hxx>
#include <vcl/svapp.hxx>
diff --git a/sw/source/core/layout/pagedesc.cxx b/sw/source/core/layout/pagedesc.cxx
index e53b1352d6d5..94ba341d7491 100644
--- a/sw/source/core/layout/pagedesc.cxx
+++ b/sw/source/core/layout/pagedesc.cxx
@@ -29,7 +29,7 @@
#include <pagedesc.hxx>
#include <swtable.hxx>
#include <frmtool.hxx>
-#include <doc.hxx> // for GetAttrPool
+#include <doc.hxx>
#include <poolfmt.hrc>
#include <poolfmt.hxx>
#include <switerator.hxx>
diff --git a/sw/source/core/layout/paintfrm.cxx b/sw/source/core/layout/paintfrm.cxx
index d2cf32f2bf81..010347063bcf 100644
--- a/sw/source/core/layout/paintfrm.cxx
+++ b/sw/source/core/layout/paintfrm.cxx
@@ -80,7 +80,7 @@
#define COL_NOTES_SIDEPANE_BORDER RGB_COLORDATA(200,200,200)
#define COL_NOTES_SIDEPANE_SCROLLAREA RGB_COLORDATA(230,230,220)
-#include <svtools/borderhelper.hxx> //Need for svtools::DrawLine
+#include <svtools/borderhelper.hxx>
#include "pagefrm.hrc"
#include <drawinglayer/primitive2d/polygonprimitive2d.hxx>
diff --git a/sw/source/core/layout/sectfrm.cxx b/sw/source/core/layout/sectfrm.cxx
index 99b6dda3fe79..d5f0f289934e 100644
--- a/sw/source/core/layout/sectfrm.cxx
+++ b/sw/source/core/layout/sectfrm.cxx
@@ -25,23 +25,23 @@
#include <fmtftn.hxx>
#include <fmtclbl.hxx>
#include "sectfrm.hxx"
-#include "section.hxx" // SwSection
-#include "frmtool.hxx" // StackHack
-#include "doc.hxx" // SwDoc
-#include "cntfrm.hxx" // SwCntntFrm
-#include "rootfrm.hxx" // SwRootFrm
-#include "pagefrm.hxx" // SwPageFrm
-#include "fmtpdsc.hxx" // SwFmtPageDesc
-#include "fmtcntnt.hxx" // SwFmtCntnt
-#include "ndindex.hxx" // SwNodeIndex
+#include "section.hxx"
+#include "frmtool.hxx"
+#include "doc.hxx"
+#include "cntfrm.hxx"
+#include "rootfrm.hxx"
+#include "pagefrm.hxx"
+#include "fmtpdsc.hxx"
+#include "fmtcntnt.hxx"
+#include "ndindex.hxx"
#include "ftnidx.hxx"
-#include "txtfrm.hxx" // SwTxtFrm
-#include "fmtclds.hxx" // SwFmtCol
-#include "colfrm.hxx" // SwColumnFrm
-#include "tabfrm.hxx" // SwTabFrm
-#include "flyfrm.hxx" // SwFlyFrm
-#include "ftnfrm.hxx" // SwFtnFrm
-#include "layouter.hxx" // SwLayouter
+#include "txtfrm.hxx"
+#include "fmtclds.hxx"
+#include "colfrm.hxx"
+#include "tabfrm.hxx"
+#include "flyfrm.hxx"
+#include "ftnfrm.hxx"
+#include "layouter.hxx"
#include "dbg_lay.hxx"
#include "viewsh.hxx"
#include "viewopt.hxx"
diff --git a/sw/source/core/layout/ssfrm.cxx b/sw/source/core/layout/ssfrm.cxx
index 4ae962ef751b..b0a125435389 100644
--- a/sw/source/core/layout/ssfrm.cxx
+++ b/sw/source/core/layout/ssfrm.cxx
@@ -28,7 +28,7 @@
#include <dcontact.hxx>
#include <dflyobj.hxx>
#include <flyfrm.hxx>
-#include <txtfrm.hxx> // ClearPara()
+#include <txtfrm.hxx>
#include <cellfrm.hxx>
#include <swtable.hxx>
#include <fmtfsize.hxx>
diff --git a/sw/source/core/layout/tabfrm.cxx b/sw/source/core/layout/tabfrm.cxx
index b9f840282590..2e25de503eaf 100644
--- a/sw/source/core/layout/tabfrm.cxx
+++ b/sw/source/core/layout/tabfrm.cxx
@@ -56,9 +56,9 @@
#include "rowfrm.hxx"
#include "cellfrm.hxx"
#include "flyfrms.hxx"
-#include "txtfrm.hxx" //HasFtn()
+#include "txtfrm.hxx"
#include "htmltbl.hxx"
-#include "sectfrm.hxx" //SwSectionFrm
+#include "sectfrm.hxx"
#include <fmtfollowtextflow.hxx>
#include <sortedobjs.hxx>
#include <objectformatter.hxx>
diff --git a/sw/source/core/layout/virtoutp.hxx b/sw/source/core/layout/virtoutp.hxx
index 97348cffbb38..18479d537971 100644
--- a/sw/source/core/layout/virtoutp.hxx
+++ b/sw/source/core/layout/virtoutp.hxx
@@ -21,8 +21,8 @@
#include <vcl/virdev.hxx>
-#include "swtypes.hxx" // UCHAR
-#include "swrect.hxx" // SwRect
+#include "swtypes.hxx"
+#include "swrect.hxx"
class ViewShell;
#define VIRTUALHEIGHT 64
diff --git a/sw/source/core/ole/ndole.cxx b/sw/source/core/ole/ndole.cxx
index d0330598f04d..3f624e0389e1 100644
--- a/sw/source/core/ole/ndole.cxx
+++ b/sw/source/core/ole/ndole.cxx
@@ -27,7 +27,7 @@
#include <com/sun/star/util/XCloseable.hpp>
#include <com/sun/star/util/XModifiable.hpp>
#include <com/sun/star/document/XEventBroadcaster.hpp>
-#include <com/sun/star/chart2/XChartDocument.hpp> // #i119941
+#include <com/sun/star/chart2/XChartDocument.hpp>
#include <cppuhelper/implbase1.hxx>
#include <cppuhelper/implbase2.hxx>
diff --git a/sw/source/core/swg/swblocks.cxx b/sw/source/core/swg/swblocks.cxx
index 8b308a95493d..c35212645a26 100644
--- a/sw/source/core/swg/swblocks.cxx
+++ b/sw/source/core/swg/swblocks.cxx
@@ -32,7 +32,7 @@
#include <shellio.hxx>
#include <swblocks.hxx>
#include <ndtxt.hxx>
-#include <mdiexp.hxx> // Progress
+#include <mdiexp.hxx>
#include <SwXMLTextBlocks.hxx>
#include <docsh.hxx>
#include <swunohelper.hxx>
diff --git a/sw/source/core/table/swtable.cxx b/sw/source/core/table/swtable.cxx
index 5e3c57a7d289..11b26adbbe7a 100644
--- a/sw/source/core/table/swtable.cxx
+++ b/sw/source/core/table/swtable.cxx
@@ -21,7 +21,7 @@
#include <ctype.h>
#include <float.h>
#include <hintids.hxx>
-#include <hints.hxx> // for SwAttrSetChg
+#include <hints.hxx>
#include <editeng/lrspitem.hxx>
#include <editeng/shaditem.hxx>
#include <editeng/adjustitem.hxx>
@@ -35,7 +35,7 @@
#include <fmtfld.hxx>
#include <frmatr.hxx>
#include <doc.hxx>
-#include <docary.hxx> // for RedlineTbl()
+#include <docary.hxx>
#include <frame.hxx>
#include <swtable.hxx>
#include <ndtxt.hxx>
diff --git a/sw/source/core/text/atrstck.cxx b/sw/source/core/text/atrstck.cxx
index 08c3d999bb0c..18e49095e265 100644
--- a/sw/source/core/text/atrstck.cxx
+++ b/sw/source/core/text/atrstck.cxx
@@ -52,8 +52,8 @@
#include <fmtinfmt.hxx>
#include <txtinet.hxx>
#include <IDocumentSettingAccess.hxx>
-#include <viewsh.hxx> // ViewShell
-#include <viewopt.hxx> // SwViewOptions
+#include <viewsh.hxx>
+#include <viewopt.hxx>
#define STACK_INCREMENT 4
diff --git a/sw/source/core/text/blink.cxx b/sw/source/core/text/blink.cxx
index a8e7c919593b..22c7344ffa0f 100644
--- a/sw/source/core/text/blink.cxx
+++ b/sw/source/core/text/blink.cxx
@@ -19,11 +19,11 @@
#include "viewsh.hxx"
-#include "rootfrm.hxx" // GetOleShell()
-#include "txtfrm.hxx" // FindRootFrm()
+#include "rootfrm.hxx"
+#include "txtfrm.hxx"
#include "blink.hxx"
#include "porlin.hxx"
-#include "porlay.hxx" // SwLineLayout
+#include "porlay.hxx"
// Sichtbare Zeit:
#define BLINK_ON_TIME 2400L
diff --git a/sw/source/core/text/frmcrsr.cxx b/sw/source/core/text/frmcrsr.cxx
index 96ae5a09f862..305790bb905b 100644
--- a/sw/source/core/text/frmcrsr.cxx
+++ b/sw/source/core/text/frmcrsr.cxx
@@ -17,8 +17,8 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include "ndtxt.hxx" // GetNode()
-#include "pam.hxx" // SwPosition
+#include "ndtxt.hxx"
+#include "pam.hxx"
#include "frmtool.hxx"
#include "viewopt.hxx"
#include "paratr.hxx"
@@ -31,18 +31,18 @@
#include <editeng/tstpitem.hxx>
#include <editeng/ulspitem.hxx>
#include <editeng/lspcitem.hxx>
-#include <pormulti.hxx> // SwMultiPortion
+#include <pormulti.hxx>
#include <doc.hxx>
#include <sortedobjs.hxx>
#include <unicode/ubidi.h>
-#include "txtfrm.hxx" // SwTxtFrm
-#include "inftxt.hxx" // SwTxtSizeInfo
-#include "itrtxt.hxx" // SwTxtCursor
-#include "crstate.hxx" // SwTxtCursor
-#include "viewsh.hxx" // InvalidateWindows
-#include "swfntcch.hxx" // SwFontAccess
+#include "txtfrm.hxx"
+#include "inftxt.hxx"
+#include "itrtxt.hxx"
+#include "crstate.hxx"
+#include "viewsh.hxx"
+#include "swfntcch.hxx"
#include "flyfrm.hxx"
diff --git a/sw/source/core/text/frmform.cxx b/sw/source/core/text/frmform.cxx
index e36de8761102..355e5d2b5e1e 100644
--- a/sw/source/core/text/frmform.cxx
+++ b/sw/source/core/text/frmform.cxx
@@ -21,32 +21,32 @@
#include <hintids.hxx>
#include <editeng/keepitem.hxx>
#include <editeng/hyphenzoneitem.hxx>
-#include <pagefrm.hxx> // ChangeFtnRef
-#include <ndtxt.hxx> // MakeFrm()
-#include <dcontact.hxx> // SwDrawContact
-#include <dflyobj.hxx> // SwVirtFlyDrawObj
+#include <pagefrm.hxx>
+#include <ndtxt.hxx>
+#include <dcontact.hxx>
+#include <dflyobj.hxx>
#include <flyfrm.hxx>
-#include <ftnfrm.hxx> // SwFtnFrm
+#include <ftnfrm.hxx>
#include <txtftn.hxx>
#include <fmtftn.hxx>
#include <paratr.hxx>
-#include <viewopt.hxx> // SwViewOptions
-#include <viewsh.hxx> // ViewShell
+#include <viewopt.hxx>
+#include <viewsh.hxx>
#include <frmatr.hxx>
#include <pam.hxx>
#include <flyfrms.hxx>
#include <fmtanchr.hxx>
-#include <itrform2.hxx> // SwTxtFormatter
-#include <widorp.hxx> // Widows and Orphans
+#include <itrform2.hxx>
+#include <widorp.hxx>
#include <txtcache.hxx>
-#include <porrst.hxx> // SwEmptyPortion
-#include <blink.hxx> // pBlink
-#include <porfld.hxx> // SwFldPortion
-#include <sectfrm.hxx> // SwSectionFrm
-#include <pormulti.hxx> // SwMultiPortion
+#include <porrst.hxx>
+#include <blink.hxx>
+#include <porfld.hxx>
+#include <sectfrm.hxx>
+#include <pormulti.hxx>
#include <rootfrm.hxx>
-#include <frmfmt.hxx> // SwFrmFmt
+#include <frmfmt.hxx>
// OD 2004-05-24 #i28701#
#include <sortedobjs.hxx>
diff --git a/sw/source/core/text/frminf.cxx b/sw/source/core/text/frminf.cxx
index 5a65a07cd62f..4df500fe3f0f 100644
--- a/sw/source/core/text/frminf.cxx
+++ b/sw/source/core/text/frminf.cxx
@@ -17,9 +17,9 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include <pam.hxx> // GetSpaces
-#include <frminf.hxx> // SwTxtFrminfo
-#include <itrtxt.hxx> // SwTxtMargin
+#include <pam.hxx>
+#include <frminf.hxx>
+#include <itrtxt.hxx>
/*************************************************************************
* SwTxtMargin::GetTxtStart()
diff --git a/sw/source/core/text/frmpaint.cxx b/sw/source/core/text/frmpaint.cxx
index 8a70fca97f93..881f932ff74a 100644
--- a/sw/source/core/text/frmpaint.cxx
+++ b/sw/source/core/text/frmpaint.cxx
@@ -20,10 +20,10 @@
#include <com/sun/star/text/HoriOrientation.hpp>
#include <hintids.hxx>
-#include <tools/shl.hxx> // SW_MOD
+#include <tools/shl.hxx>
#include <editeng/pgrditem.hxx>
#include <editeng/lrspitem.hxx>
-#include <pagedesc.hxx> // SwPageDesc
+#include <pagedesc.hxx>
#include <tgrditem.hxx>
#include <paratr.hxx>
@@ -32,18 +32,18 @@
#include <charfmt.hxx>
#include "rootfrm.hxx"
#include <pagefrm.hxx>
-#include <viewsh.hxx> // ViewShell
-#include <viewimp.hxx> // SwViewImp
-#include <viewopt.hxx> // SwViewOption
-#include <frmtool.hxx> // DrawGraphic
-#include <txtfrm.hxx> // SwTxtFrm
-#include <itrpaint.hxx> // SwTxtPainter
-#include <txtpaint.hxx> // SwSaveClip
-#include <txtcache.hxx> // SwTxtLineAccess
-#include <flyfrm.hxx> // SwFlyFrm
-#include <redlnitr.hxx> // SwRedlineItr
-#include <swmodule.hxx> // SW_MOD
-#include <tabfrm.hxx> // SwTabFrm (Redlining)
+#include <viewsh.hxx>
+#include <viewimp.hxx>
+#include <viewopt.hxx>
+#include <frmtool.hxx>
+#include <txtfrm.hxx>
+#include <itrpaint.hxx>
+#include <txtpaint.hxx>
+#include <txtcache.hxx>
+#include <flyfrm.hxx>
+#include <redlnitr.hxx>
+#include <swmodule.hxx>
+#include <tabfrm.hxx>
#include <numrule.hxx>
#include <SwGrammarMarkUp.hxx>
diff --git a/sw/source/core/text/guess.cxx b/sw/source/core/text/guess.cxx
index 63bc94d59f08..8239d94d63e1 100644
--- a/sw/source/core/text/guess.cxx
+++ b/sw/source/core/text/guess.cxx
@@ -19,14 +19,14 @@
#include <ctype.h>
#include <editeng/unolingu.hxx>
-#include <tools/shl.hxx> // needed for SW_MOD() macro
+#include <tools/shl.hxx>
#include <dlelstnr.hxx>
#include <swmodule.hxx>
#include <IDocumentSettingAccess.hxx>
#include <guess.hxx>
#include <inftxt.hxx>
#include <pagefrm.hxx>
-#include <pagedesc.hxx> // SwPageDesc
+#include <pagedesc.hxx>
#include <tgrditem.hxx>
#include <com/sun/star/i18n/BreakType.hpp>
#include <com/sun/star/i18n/WordType.hpp>
diff --git a/sw/source/core/text/guess.hxx b/sw/source/core/text/guess.hxx
index 92f05cb03653..c6deb076376d 100644
--- a/sw/source/core/text/guess.hxx
+++ b/sw/source/core/text/guess.hxx
@@ -22,7 +22,7 @@
#include "txttypes.hxx"
#include "breakit.hxx"
-#include "porrst.hxx" // SwHangingPortion
+#include "porrst.hxx"
class SwTxtFormatInfo;
diff --git a/sw/source/core/text/inftxt.cxx b/sw/source/core/text/inftxt.cxx
index 52a0b170f305..46b1c867aa12 100644
--- a/sw/source/core/text/inftxt.cxx
+++ b/sw/source/core/text/inftxt.cxx
@@ -46,18 +46,18 @@
#include <swmodule.hxx>
#include <vcl/svapp.hxx>
#include <vcl/wrkwin.hxx>
-#include <viewsh.hxx> // ViewShell
-#include <viewopt.hxx> // SwViewOptions
-#include <frmtool.hxx> // DrawGraphic
+#include <viewsh.hxx>
+#include <viewopt.hxx>
+#include <frmtool.hxx>
#include <IDocumentSettingAccess.hxx>
#include <IDocumentDeviceAccess.hxx>
-#include <paratr.hxx> // SwFmtDrop
-#include <rootfrm.hxx> // SwRootFrm
-#include <inftxt.hxx> // SwTxtInfo
-#include <blink.hxx> // SwBlink
-#include <noteurl.hxx> // SwNoteURL
-#include <porftn.hxx> // SwFtnPortion
-#include <porrst.hxx> // SwHangingPortion
+#include <paratr.hxx>
+#include <rootfrm.hxx>
+#include <inftxt.hxx>
+#include <blink.hxx>
+#include <noteurl.hxx>
+#include <porftn.hxx>
+#include <porrst.hxx>
#include <itratr.hxx>
#include <accessibilityoptions.hxx>
#include <wrong.hxx>
diff --git a/sw/source/core/text/itradj.cxx b/sw/source/core/text/itradj.cxx
index 1dcb60399f67..1fd18c3cabdd 100644
--- a/sw/source/core/text/itradj.cxx
+++ b/sw/source/core/text/itradj.cxx
@@ -21,13 +21,13 @@
#include <vcl/outdev.hxx>
#include <IDocumentSettingAccess.hxx>
-#include "frame.hxx" // CalcFlyAdjust()
+#include "frame.hxx"
#include "paratr.hxx"
#include "itrtxt.hxx"
#include "porglue.hxx"
#include "porlay.hxx"
-#include "porfly.hxx" // CalcFlyAdjust()
-#include "pordrop.hxx" // CalcFlyAdjust()
+#include "porfly.hxx"
+#include "pordrop.hxx"
#include "pormulti.hxx"
#include <portab.hxx>
diff --git a/sw/source/core/text/itratr.cxx b/sw/source/core/text/itratr.cxx
index 7a74d3ea0277..37819b144c34 100644
--- a/sw/source/core/text/itratr.cxx
+++ b/sw/source/core/text/itratr.cxx
@@ -34,13 +34,13 @@
#include <frmfmt.hxx>
#include <fmtfld.hxx>
#include <doc.hxx>
-#include <viewsh.hxx> // ViewShell
+#include <viewsh.hxx>
#include <rootfrm.hxx>
#include <docary.hxx>
#include <ndtxt.hxx>
#include <dcontact.hxx>
-#include <fldbas.hxx> // SwField
-#include <pam.hxx> // SwPosition (lcl_MinMaxNode)
+#include <fldbas.hxx>
+#include <pam.hxx>
#include <itratr.hxx>
#include <htmltbl.hxx>
#include <swtable.hxx>
diff --git a/sw/source/core/text/itrcrsr.cxx b/sw/source/core/text/itrcrsr.cxx
index fa3fa081807e..9c1d30901a7f 100644
--- a/sw/source/core/text/itrcrsr.cxx
+++ b/sw/source/core/text/itrcrsr.cxx
@@ -31,7 +31,7 @@
#include <editeng/lrspitem.hxx>
#include <editeng/borderline.hxx>
#include <frmatr.hxx>
-#include <pagedesc.hxx> // SwPageDesc
+#include <pagedesc.hxx>
#include <tgrditem.hxx>
#include <IDocumentSettingAccess.hxx>
#include <pagefrm.hxx>
@@ -39,12 +39,12 @@
#include "itrtxt.hxx"
#include "txtfrm.hxx"
#include "flyfrms.hxx"
-#include "porglue.hxx" // SwFlyCnt
-#include "porfld.hxx" // SwFldPortion::IsFollow()
-#include "porfly.hxx" // GetFlyCrsrOfst()
+#include "porglue.hxx"
+#include "porfld.hxx"
+#include "porfly.hxx"
#include "pordrop.hxx"
-#include "crstate.hxx" // SwCrsrMoveState
-#include <pormulti.hxx> // SwMultiPortion
+#include "crstate.hxx"
+#include <pormulti.hxx>
// #i111284#
#include <numrule.hxx>
diff --git a/sw/source/core/text/itrform2.cxx b/sw/source/core/text/itrform2.cxx
index 1fd8c7814f0b..180b240f64a7 100644
--- a/sw/source/core/text/itrform2.cxx
+++ b/sw/source/core/text/itrform2.cxx
@@ -31,29 +31,29 @@
#include <ftninfo.hxx>
#include <charfmt.hxx>
#include <editeng/charrotateitem.hxx>
-#include <layfrm.hxx> // GetFrmRstHeight, etc
+#include <layfrm.hxx>
#include <viewsh.hxx>
-#include <viewopt.hxx> // SwViewOptions
-#include <paratr.hxx> // SwFmtDrop
+#include <viewopt.hxx>
+#include <paratr.hxx>
#include <itrform2.hxx>
#include <porrst.hxx>
-#include <portab.hxx> // pLastTab->
-#include <porfly.hxx> // CalcFlyWidth
-#include <portox.hxx> // WhichTxtPortion
-#include <porref.hxx> // WhichTxtPortion
-#include <porfld.hxx> // SwNumberPortion for CalcAscent()
-#include <porftn.hxx> // SwFtnPortion
+#include <portab.hxx>
+#include <porfly.hxx>
+#include <portox.hxx>
+#include <porref.hxx>
+#include <porfld.hxx>
+#include <porftn.hxx>
#include <porhyph.hxx>
#include <pordrop.hxx>
#include <guess.hxx>
-#include <blink.hxx> // pBlink
-#include <ftnfrm.hxx> // WhichFirstPortion() -> move it
-#include <redlnitr.hxx> // SwRedlineItr
+#include <blink.hxx>
+#include <ftnfrm.hxx>
+#include <redlnitr.hxx>
#include <pagefrm.hxx>
-#include <pagedesc.hxx> // SwPageDesc
+#include <pagedesc.hxx>
#include <tgrditem.hxx>
-#include <doc.hxx> // SwDoc
-#include <pormulti.hxx> // SwMultiPortion
+#include <doc.hxx>
+#include <pormulti.hxx>
#include <unotools/charclass.hxx>
#include <vector>
@@ -61,7 +61,7 @@
#include <config_graphite.h>
#if OSL_DEBUG_LEVEL > 1
-#include <ndtxt.hxx> // pSwpHints, output operator
+#include <ndtxt.hxx>
#endif
using namespace ::com::sun::star;
diff --git a/sw/source/core/text/itrpaint.cxx b/sw/source/core/text/itrpaint.cxx
index 7e7d4c7ac7fb..696f34348ca6 100644
--- a/sw/source/core/text/itrpaint.cxx
+++ b/sw/source/core/text/itrpaint.cxx
@@ -18,9 +18,9 @@
*/
#include "hintids.hxx"
-#include "flyfrm.hxx" // SwFlyInCntFrm
-#include "viewopt.hxx" // SwViewOptions
-#include "txtatr.hxx" // SwINetFmt
+#include "flyfrm.hxx"
+#include "viewopt.hxx"
+#include "txtatr.hxx"
#include <tools/multisel.hxx>
#include <editeng/escapementitem.hxx>
#include <editeng/udlnitem.hxx>
@@ -30,10 +30,10 @@
#include <frmatr.hxx>
#include <sfx2/printer.hxx>
#include <fmtfld.hxx>
-#include <fldbas.hxx> // SwField
+#include <fldbas.hxx>
#include <rootfrm.hxx>
#include <pagefrm.hxx>
-#include <pagedesc.hxx> // SwPageDesc
+#include <pagedesc.hxx>
#include <tgrditem.hxx>
// #i12836# enhanced pdf export
@@ -43,18 +43,18 @@
#include "flyfrms.hxx"
#include "viewsh.hxx"
#include "itrpaint.hxx"
-#include "txtfrm.hxx" // pFrm
+#include "txtfrm.hxx"
#include "txtfly.hxx"
#include "swfont.hxx"
#include "txtpaint.hxx"
-#include "portab.hxx" // SwTabPortion::IsFilled
-#include "porfly.hxx" // SwFlyCntPortion
-#include "porfld.hxx" // SwGrfNumPortion
-#include "frmfmt.hxx" // LRSpace
-#include "txatbase.hxx" // SwTxtAttr
-#include "charfmt.hxx" // SwFmtCharFmt
-#include "redlnitr.hxx" // SwRedlineItr
-#include "porrst.hxx" // SwArrowPortion
+#include "portab.hxx"
+#include "porfly.hxx"
+#include "porfld.hxx"
+#include "frmfmt.hxx"
+#include "txatbase.hxx"
+#include "charfmt.hxx"
+#include "redlnitr.hxx"
+#include "porrst.hxx"
#include "pormulti.hxx"
/*************************************************************************
diff --git a/sw/source/core/text/itrtxt.cxx b/sw/source/core/text/itrtxt.cxx
index e2a178758591..00de23124d49 100644
--- a/sw/source/core/text/itrtxt.cxx
+++ b/sw/source/core/text/itrtxt.cxx
@@ -25,7 +25,7 @@
#include "pormulti.hxx"
#include <pagefrm.hxx>
-#include <pagedesc.hxx> // SwPageDesc
+#include <pagedesc.hxx>
#include <tgrditem.hxx>
#include <porfld.hxx>
diff --git a/sw/source/core/text/porexp.cxx b/sw/source/core/text/porexp.cxx
index d0b3f3f127de..40eeb2aad5f1 100644
--- a/sw/source/core/text/porexp.cxx
+++ b/sw/source/core/text/porexp.cxx
@@ -17,7 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include <viewopt.hxx> // SwViewOptions
+#include <viewopt.hxx>
#include <SwPortionHandler.hxx>
#include <inftxt.hxx>
#include <porexp.hxx>
diff --git a/sw/source/core/text/porfld.cxx b/sw/source/core/text/porfld.cxx
index 2774cf1036cb..3e48b7b4cab4 100644
--- a/sw/source/core/text/porfld.cxx
+++ b/sw/source/core/text/porfld.cxx
@@ -24,20 +24,20 @@
#include <editeng/brushitem.hxx>
#include <vcl/metric.hxx>
#include <vcl/outdev.hxx>
-#include <viewopt.hxx> // SwViewOptions
+#include <viewopt.hxx>
#include <SwPortionHandler.hxx>
#include <porlay.hxx>
#include <porfld.hxx>
#include <inftxt.hxx>
-#include <blink.hxx> // pBlink
-#include <frmtool.hxx> // DrawGraphic
+#include <blink.hxx>
+#include <frmtool.hxx>
#include <viewsh.hxx>
#include <docsh.hxx>
#include <doc.hxx>
#include "rootfrm.hxx"
#include <breakit.hxx>
#include <porrst.hxx>
-#include <porftn.hxx> // SwFtnPortion
+#include <porftn.hxx>
#include <accessibilityoptions.hxx>
#include <editeng/lrspitem.hxx>
diff --git a/sw/source/core/text/porfly.cxx b/sw/source/core/text/porfly.cxx
index cf824b4b5092..fc6278ca2e2c 100644
--- a/sw/source/core/text/porfly.cxx
+++ b/sw/source/core/text/porfly.cxx
@@ -17,12 +17,12 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include "dcontact.hxx" // SwDrawContact
-#include "dflyobj.hxx" // SwVirtFlyDrawObj
-#include "pam.hxx" // SwPosition
-#include "flyfrm.hxx" // SwFlyInCntFrm
+#include "dcontact.hxx"
+#include "dflyobj.hxx"
+#include "pam.hxx"
+#include "flyfrm.hxx"
#include "rootfrm.hxx"
-#include "frmfmt.hxx" // SwFrmFmt
+#include "frmfmt.hxx"
#include "viewsh.hxx"
#include <vcl/outdev.hxx>
@@ -33,10 +33,10 @@
#include <fmtornt.hxx>
#include <frmatr.hxx>
#include "flyfrms.hxx"
-#include "txatbase.hxx" // SwTxtAttr
+#include "txatbase.hxx"
#include "porfly.hxx"
-#include "porlay.hxx" // SetFly
-#include "inftxt.hxx" // SwTxtPaintInfo
+#include "porlay.hxx"
+#include "inftxt.hxx"
// OD 2004-05-24 #i28701#
#include <sortedobjs.hxx>
diff --git a/sw/source/core/text/porglue.cxx b/sw/source/core/text/porglue.cxx
index 8769a41448b1..19fa51e80949 100644
--- a/sw/source/core/text/porglue.cxx
+++ b/sw/source/core/text/porglue.cxx
@@ -18,13 +18,13 @@
*/
#include "swrect.hxx"
-#include "paratr.hxx" // pTabStop, ADJ*
-#include "viewopt.hxx" // SwViewOptions
+#include "paratr.hxx"
+#include "viewopt.hxx"
#include <SwPortionHandler.hxx>
#include "porglue.hxx"
#include "inftxt.hxx"
-#include "porlay.hxx" // SwParaPortion, SetFull
-#include "porfly.hxx" // SwParaPortion, SetFull
+#include "porlay.hxx"
+#include "porfly.hxx"
#include <comphelper/string.hxx>
/*************************************************************************
diff --git a/sw/source/core/text/porlay.cxx b/sw/source/core/text/porlay.cxx
index 8224bbb25322..3e0ee4f4b43a 100644
--- a/sw/source/core/text/porlay.cxx
+++ b/sw/source/core/text/porlay.cxx
@@ -21,13 +21,13 @@
#include "porlay.hxx"
#include "itrform2.hxx"
#include "porglue.hxx"
-#include "porexp.hxx" // SwQuoVadisPortion
-#include "blink.hxx" // pBlink
-#include "redlnitr.hxx" // SwRedlineItr
-#include "porfly.hxx" // SwFlyCntPortion
-#include <porrst.hxx> // SwHangingPortion
-#include <pormulti.hxx> // SwMultiPortion
-#include <pordrop.hxx> // SwDropPortion
+#include "porexp.hxx"
+#include "blink.hxx"
+#include "redlnitr.hxx"
+#include "porfly.hxx"
+#include <porrst.hxx>
+#include <pormulti.hxx>
+#include <pordrop.hxx>
#include <breakit.hxx>
#include <unicode/uchar.h>
#include <com/sun/star/i18n/ScriptType.hpp>
@@ -44,8 +44,8 @@
#include <i18nlangtag/mslangid.hxx>
#include <charfmt.hxx>
#include <fchrfmt.hxx>
-#include <docary.hxx> // SwRedlineTbl
-#include <redline.hxx> // SwRedline
+#include <docary.hxx>
+#include <redline.hxx>
#include <section.hxx>
#include <switerator.hxx>
#include <IDocumentRedlineAccess.hxx>
diff --git a/sw/source/core/text/porlay.hxx b/sw/source/core/text/porlay.hxx
index b8e566884f69..ac89498d782c 100644
--- a/sw/source/core/text/porlay.hxx
+++ b/sw/source/core/text/porlay.hxx
@@ -22,7 +22,7 @@
#include <tools/fract.hxx>
#include <scriptinfo.hxx>
-#include "swrect.hxx" // SwRepaint
+#include "swrect.hxx"
#include "portxt.hxx"
#include "swfont.hxx"
diff --git a/sw/source/core/text/porlin.hxx b/sw/source/core/text/porlin.hxx
index 48329b463b51..fb17d745b782 100644
--- a/sw/source/core/text/porlin.hxx
+++ b/sw/source/core/text/porlin.hxx
@@ -19,7 +19,7 @@
#ifndef _PORLIN_HXX
#define _PORLIN_HXX
-#include "possiz.hxx" // SwPosSize
+#include "possiz.hxx"
#ifdef DBG_UTIL
#include <libxml/xmlwriter.h>
diff --git a/sw/source/core/text/pormulti.cxx b/sw/source/core/text/pormulti.cxx
index f3721f404920..ab18a829ad7e 100644
--- a/sw/source/core/text/pormulti.cxx
+++ b/sw/source/core/text/pormulti.cxx
@@ -24,26 +24,26 @@
#include <editeng/charrotateitem.hxx>
#include <vcl/outdev.hxx>
#include <fmtfld.hxx>
-#include <fldbas.hxx> // SwField
+#include <fldbas.hxx>
#include <txatbase.hxx>
-#include <fmtruby.hxx> // SwFmtRuby
-#include <txtatr.hxx> // SwTxtRuby
+#include <fmtruby.hxx>
+#include <txtatr.hxx>
#include <charfmt.hxx>
#include <txtinet.hxx>
#include <fchrfmt.hxx>
-#include <layfrm.hxx> // GetUpper()
+#include <layfrm.hxx>
#include <SwPortionHandler.hxx>
-#include <pormulti.hxx> // SwMultiPortion
-#include <inftxt.hxx> // SwTxtSizeInfo
-#include <itrpaint.hxx> // SwTxtPainter
-#include <viewopt.hxx> // SwViewOptions
-#include <itrform2.hxx> // SwTxtFormatter
-#include <porfld.hxx> // SwFldPortion
+#include <pormulti.hxx>
+#include <inftxt.hxx>
+#include <itrpaint.hxx>
+#include <viewopt.hxx>
+#include <itrform2.hxx>
+#include <porfld.hxx>
#include <porglue.hxx>
#include <breakit.hxx>
#include <pagefrm.hxx>
#include <rowfrm.hxx>
-#include <pagedesc.hxx> // SwPageDesc
+#include <pagedesc.hxx>
#include <tgrditem.hxx>
#include <swtable.hxx>
#include <fmtfsize.hxx>
diff --git a/sw/source/core/text/porref.cxx b/sw/source/core/text/porref.cxx
index adad0f62a6da..0cb2538251fe 100644
--- a/sw/source/core/text/porref.cxx
+++ b/sw/source/core/text/porref.cxx
@@ -18,10 +18,10 @@
*/
#include <SwPortionHandler.hxx>
-#include "viewopt.hxx" // SwViewOptions
+#include "viewopt.hxx"
#include "porref.hxx"
-#include "inftxt.hxx" // GetTxtSize()
+#include "inftxt.hxx"
/*************************************************************************
* virtual SwRefPortion::Paint()
diff --git a/sw/source/core/text/porrst.cxx b/sw/source/core/text/porrst.cxx
index 16a87ea73b85..5e80d374d443 100644
--- a/sw/source/core/text/porrst.cxx
+++ b/sw/source/core/text/porrst.cxx
@@ -26,21 +26,21 @@
#include <editeng/pgrditem.hxx>
#include <vcl/window.hxx>
#include <vcl/svapp.hxx>
-#include <viewsh.hxx> // ViewShell
+#include <viewsh.hxx>
#include <viewopt.hxx>
-#include <ndtxt.hxx> // SwTxtNode
-#include <pagefrm.hxx> // SwPageFrm
+#include <ndtxt.hxx>
+#include <pagefrm.hxx>
#include <paratr.hxx>
#include <SwPortionHandler.hxx>
#include <porrst.hxx>
#include <inftxt.hxx>
-#include <txtpaint.hxx> // ClipVout
-#include <swfntcch.hxx> // SwFontAccess
+#include <txtpaint.hxx>
+#include <swfntcch.hxx>
#include <tgrditem.hxx>
-#include <pagedesc.hxx> // SwPageDesc
+#include <pagedesc.hxx>
#include <frmatr.hxx>
-#include <redlnitr.hxx> // SwRedlineItr
-#include <porfly.hxx> // SwFlyPortion
+#include <redlnitr.hxx>
+#include <porfly.hxx>
#include <atrhndl.hxx>
#include "rootfrm.hxx"
diff --git a/sw/source/core/text/portox.cxx b/sw/source/core/text/portox.cxx
index 347ddbb43167..5e1c9f703c29 100644
--- a/sw/source/core/text/portox.cxx
+++ b/sw/source/core/text/portox.cxx
@@ -18,10 +18,10 @@
*/
#include <SwPortionHandler.hxx>
-#include "viewopt.hxx" // SwViewOptions
+#include "viewopt.hxx"
#include "portox.hxx"
-#include "inftxt.hxx" // GetTxtSize()
+#include "inftxt.hxx"
/*************************************************************************
* virtual SwToxPortion::Paint()
diff --git a/sw/source/core/text/portxt.cxx b/sw/source/core/text/portxt.cxx
index 31c93f1ec5ab..01afab67d721 100644
--- a/sw/source/core/text/portxt.cxx
+++ b/sw/source/core/text/portxt.cxx
@@ -21,19 +21,19 @@
#include <com/sun/star/i18n/ScriptType.hpp>
#include <i18nlangtag/mslangid.hxx>
-#include <hintids.hxx> // CH_TXTATR
+#include <hintids.hxx>
#include <EnhancedPDFExportHelper.hxx>
#include <SwPortionHandler.hxx>
#include <porlay.hxx>
#include <inftxt.hxx>
-#include <guess.hxx> // SwTxtGuess, line break
+#include <guess.hxx>
#include <porglue.hxx>
-#include <portab.hxx> // pLastTab->
-#include <porfld.hxx> // SwFldPortion
+#include <portab.hxx>
+#include <porfld.hxx>
#include <wrong.hxx>
#include <viewsh.hxx>
#include <IDocumentSettingAccess.hxx>
-#include <viewopt.hxx> // SwViewOptions
+#include <viewopt.hxx>
#include <editeng/borderline.hxx>
#include <IMark.hxx>
diff --git a/sw/source/core/text/redlnitr.cxx b/sw/source/core/text/redlnitr.cxx
index 1529ad6c5e60..675ae619cbc2 100644
--- a/sw/source/core/text/redlnitr.cxx
+++ b/sw/source/core/text/redlnitr.cxx
@@ -22,18 +22,18 @@
#include <tools/shl.hxx>
#include <com/sun/star/i18n/ScriptType.hpp>
#include <swmodule.hxx>
-#include <redline.hxx> // SwRedline
-#include <txtatr.hxx> // SwTxt ...
-#include <docary.hxx> // SwRedlineTbl
-#include <itratr.hxx> // SwAttrIter
-#include <ndtxt.hxx> // SwTxtNode
-#include <doc.hxx> // SwDoc
+#include <redline.hxx>
+#include <txtatr.hxx>
+#include <docary.hxx>
+#include <itratr.hxx>
+#include <ndtxt.hxx>
+#include <doc.hxx>
#include <rootfrm.hxx>
#include <breakit.hxx>
#include <vcl/keycodes.hxx>
#include <vcl/cmdevt.hxx>
#include <vcl/settings.hxx>
-#include <txtfrm.hxx> // SwTxtFrm
+#include <txtfrm.hxx>
#include <vcl/svapp.hxx>
#include <redlnitr.hxx>
#include <extinput.hxx>
diff --git a/sw/source/core/text/txtdrop.cxx b/sw/source/core/text/txtdrop.cxx
index cc03993dd009..025613c6a5a2 100644
--- a/sw/source/core/text/txtdrop.cxx
+++ b/sw/source/core/text/txtdrop.cxx
@@ -22,14 +22,14 @@
#include <vcl/window.hxx>
#include <vcl/svapp.hxx>
#include <paratr.hxx>
-#include <txtfrm.hxx> // Format()
+#include <txtfrm.hxx>
#include <charfmt.hxx>
-#include <viewopt.hxx> // SwViewOption
-#include <viewsh.hxx> // ViewShell
+#include <viewopt.hxx>
+#include <viewsh.hxx>
#include <pordrop.hxx>
#include <itrform2.hxx>
-#include <txtpaint.hxx> // SwSaveClip
-#include <blink.hxx> // pBlink
+#include <txtpaint.hxx>
+#include <blink.hxx>
#include <breakit.hxx>
#include <com/sun/star/i18n/ScriptType.hpp>
#include <com/sun/star/i18n/WordType.hpp>
diff --git a/sw/source/core/text/txtfld.cxx b/sw/source/core/text/txtfld.cxx
index ea4841c90850..266c96cda1f4 100644
--- a/sw/source/core/text/txtfld.cxx
+++ b/sw/source/core/text/txtfld.cxx
@@ -22,32 +22,32 @@
#include <txtfld.hxx>
#include <charfmt.hxx>
-#include "viewsh.hxx" // NewFldPortion, GetDoc()
-#include "doc.hxx" // NewFldPortion, GetSysFldType()
-#include "rootfrm.hxx" // Info ueber virt. PageNumber
-#include "pagefrm.hxx" // NewFldPortion, GetVirtPageNum()
-#include "ndtxt.hxx" // NewNumberPortion, pHints->GetNum()
-#include "fldbas.hxx" // SwField
-#include "viewopt.hxx" // SwViewOptions
-#include "flyfrm.hxx" //IsInBody()
+#include "viewsh.hxx"
+#include "doc.hxx"
+#include "rootfrm.hxx"
+#include "pagefrm.hxx"
+#include "ndtxt.hxx"
+#include "fldbas.hxx"
+#include "viewopt.hxx"
+#include "flyfrm.hxx"
#include "viewimp.hxx"
-#include "txtatr.hxx" // SwTxtFld
-#include "swfont.hxx" // NewFldPortion, new SwFont
-#include "fntcache.hxx" // NewFldPortion, SwFntAccess
+#include "txtatr.hxx"
+#include "swfont.hxx"
+#include "fntcache.hxx"
#include "porfld.hxx"
-#include "porftn.hxx" // NewExtraPortion
-#include "porref.hxx" // NewExtraPortion
-#include "portox.hxx" // NewExtraPortion
-#include "porhyph.hxx" // NewExtraPortion
-#include "porfly.hxx" // NewExtraPortion
-#include "itrform2.hxx" // SwTxtFormatter
+#include "porftn.hxx"
+#include "porref.hxx"
+#include "portox.hxx"
+#include "porhyph.hxx"
+#include "porfly.hxx"
+#include "itrform2.hxx"
#include "chpfld.hxx"
#include "dbfld.hxx"
#include "expfld.hxx"
#include "docufld.hxx"
-#include "pagedesc.hxx" // NewFldPortion, GetNum()
-#include <pormulti.hxx> // SwMultiPortion
-#include "fmtmeta.hxx" // lcl_NewMetaPortion
+#include "pagedesc.hxx"
+#include <pormulti.hxx>
+#include "fmtmeta.hxx"
/*************************************************************************
diff --git a/sw/source/core/text/txtfly.cxx b/sw/source/core/text/txtfly.cxx
index 5cd468f99565..e1511a46cf0a 100644
--- a/sw/source/core/text/txtfly.cxx
+++ b/sw/source/core/text/txtfly.cxx
@@ -23,20 +23,20 @@
#include "pagefrm.hxx"
#include "rootfrm.hxx"
-#include "pam.hxx" // SwPosition
-#include "swregion.hxx" // SwRegionRects
-#include "dflyobj.hxx" // SdrObject
-#include "flyfrm.hxx" // SwFlyFrm
-#include "frmtool.hxx" // ::DrawGraphic
-#include "porfly.hxx" // NewFlyCntPortion
-#include "porfld.hxx" // SwGrfNumPortion
-#include "txtfly.hxx" // SwTxtFly
-#include "txtpaint.hxx" // SwSaveClip
-#include "txtatr.hxx" // SwTxtFlyCnt
+#include "pam.hxx"
+#include "swregion.hxx"
+#include "dflyobj.hxx"
+#include "flyfrm.hxx"
+#include "frmtool.hxx"
+#include "porfly.hxx"
+#include "porfld.hxx"
+#include "txtfly.hxx"
+#include "txtpaint.hxx"
+#include "txtatr.hxx"
#include "notxtfrm.hxx"
-#include "fmtcnct.hxx" // SwFmtChain
+#include "fmtcnct.hxx"
#include "inftxt.hxx"
-#include <pormulti.hxx> // SwMultiPortion
+#include <pormulti.hxx>
#include <svx/obj3d.hxx>
#include <editeng/txtrange.hxx>
#include <editeng/lrspitem.hxx>
@@ -46,7 +46,7 @@
#include <fmtsrnd.hxx>
#include <fmtanchr.hxx>
#include <frmfmt.hxx>
-#include <pagedesc.hxx> // SwPageDesc
+#include <pagedesc.hxx>
#include <tgrditem.hxx>
#include <sortedobjs.hxx>
#include <layouter.hxx>
@@ -57,7 +57,7 @@
#ifdef DBG_UTIL
#include "viewsh.hxx"
-#include "viewopt.hxx" // SwViewOptions, only for testing (Test2)
+#include "viewopt.hxx"
#include "doc.hxx"
#endif
diff --git a/sw/source/core/text/txtfrm.cxx b/sw/source/core/text/txtfrm.cxx
index 3ee2bc80a7ed..03dbba33344a 100644
--- a/sw/source/core/text/txtfrm.cxx
+++ b/sw/source/core/text/txtfrm.cxx
@@ -30,13 +30,13 @@
#include <editeng/pgrditem.hxx>
#include <swmodule.hxx>
#include <SwSmartTagMgr.hxx>
-#include <doc.hxx> // GetDoc()
+#include <doc.hxx>
#include "rootfrm.hxx"
-#include <pagefrm.hxx> // InvalidateSpelling
+#include <pagefrm.hxx>
#include <rootfrm.hxx>
-#include <viewsh.hxx> // ViewShell
-#include <pam.hxx> // SwPosition
-#include <ndtxt.hxx> // SwTxtNode
+#include <viewsh.hxx>
+#include <pam.hxx>
+#include <ndtxt.hxx>
#include <txtatr.hxx>
#include <paratr.hxx>
#include <viewopt.hxx>
@@ -44,7 +44,7 @@
#include <flyfrm.hxx>
#include <tabfrm.hxx>
#include <frmtool.hxx>
-#include <pagedesc.hxx> // SwPageDesc
+#include <pagedesc.hxx>
#include <tgrditem.hxx>
#include <dbg_lay.hxx>
#include <fmtfld.hxx>
@@ -54,20 +54,20 @@
#include <charatr.hxx>
#include <ftninfo.hxx>
#include <fmtline.hxx>
-#include <txtfrm.hxx> // SwTxtFrm
-#include <sectfrm.hxx> // SwSectFrm
-#include <itrform2.hxx> // Iteratoren
-#include <widorp.hxx> // SwFrmBreak
+#include <txtfrm.hxx>
+#include <sectfrm.hxx>
+#include <itrform2.hxx>
+#include <widorp.hxx>
#include <txtcache.hxx>
-#include <fntcache.hxx> // GetLineSpace benutzt pLastFont
+#include <fntcache.hxx>
#include <SwGrammarMarkUp.hxx>
#include <lineinfo.hxx>
#include <SwPortionHandler.hxx>
#include <dcontact.hxx>
#include <sortedobjs.hxx>
-#include <txtflcnt.hxx> // SwTxtFlyCnt
-#include <fmtflcnt.hxx> // SwFmtFlyCnt
-#include <fmtcntnt.hxx> // SwFmtCntnt
+#include <txtflcnt.hxx>
+#include <fmtflcnt.hxx>
+#include <fmtcntnt.hxx>
#include <numrule.hxx>
#include <swtable.hxx>
#include <fldupde.hxx>
diff --git a/sw/source/core/text/txtftn.cxx b/sw/source/core/text/txtftn.cxx
index 5a3f7ac0448a..8cbf49526434 100644
--- a/sw/source/core/text/txtftn.cxx
+++ b/sw/source/core/text/txtftn.cxx
@@ -39,17 +39,17 @@
// #i28701#
#include <sortedobjs.hxx>
-#include "swfont.hxx" // new SwFont
+#include "swfont.hxx"
#include "porftn.hxx"
#include "porfly.hxx"
#include "porlay.hxx"
#include "txtfrm.hxx"
#include "itrform2.hxx"
-#include "ftnfrm.hxx" // FindQuoVadisFrm(),
+#include "ftnfrm.hxx"
#include "pagedesc.hxx"
-#include "redlnitr.hxx" // SwRedlnItr
-#include "sectfrm.hxx" // SwSectionFrm
-#include "layouter.hxx" // Endnote-Collection
+#include "redlnitr.hxx"
+#include "sectfrm.hxx"
+#include "layouter.hxx"
#include "frmtool.hxx"
#include "ndindex.hxx"
diff --git a/sw/source/core/text/txthyph.cxx b/sw/source/core/text/txthyph.cxx
index a234dcfbef5c..909f2ad42469 100644
--- a/sw/source/core/text/txthyph.cxx
+++ b/sw/source/core/text/txthyph.cxx
@@ -21,14 +21,14 @@
#include <editeng/unolingu.hxx>
#include <com/sun/star/i18n/WordType.hpp>
#include <EnhancedPDFExportHelper.hxx>
-#include <viewopt.hxx> // SwViewOptions
+#include <viewopt.hxx>
#include <viewsh.hxx>
#include <SwPortionHandler.hxx>
-#include <porhyph.hxx> //
+#include <porhyph.hxx>
#include <inftxt.hxx>
-#include <itrform2.hxx> //
-#include <guess.hxx> //
-#include <splargs.hxx> // SwInterHyphInfo
+#include <itrform2.hxx>
+#include <guess.hxx>
+#include <splargs.hxx>
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
diff --git a/sw/source/core/text/txtinit.cxx b/sw/source/core/text/txtinit.cxx
index dedd5802b2e7..d43913117880 100644
--- a/sw/source/core/text/txtinit.cxx
+++ b/sw/source/core/text/txtinit.cxx
@@ -19,8 +19,8 @@
#include "swcache.hxx"
-#include "fntcache.hxx" // pFntCache ( SwFont/ScrFont-PrtFont cache )
-#include "swfntcch.hxx" // pSwFontCache ( SwAttrSet/SwFont cache )
+#include "fntcache.hxx"
+#include "swfntcch.hxx"
#include "txtfrm.hxx"
#include "txtcache.hxx"
#include "porlay.hxx"
@@ -34,10 +34,10 @@
#include "porftn.hxx"
#include "porhyph.hxx"
#include "pordrop.hxx"
-#include "blink.hxx" // Blink manager
-#include "init.hxx" // Declarations for _TextInit() and _TextFinit()
-#include "txtfly.hxx" // SwContourCache
-#include "dbg_lay.hxx" // Layout Debug file output
+#include "blink.hxx"
+#include "init.hxx"
+#include "txtfly.hxx"
+#include "dbg_lay.hxx"
SwCache *SwTxtFrm::pTxtCache = 0;
long SwTxtFrm::nMinPrtLine = 0;
diff --git a/sw/source/core/text/txtio.cxx b/sw/source/core/text/txtio.cxx
index 4de7e4eff595..b6995d1d64bf 100644
--- a/sw/source/core/text/txtio.cxx
+++ b/sw/source/core/text/txtio.cxx
@@ -121,8 +121,8 @@ const char *GetPrepName( const PrepareHint )
#else
#include <limits.h>
#include <stdlib.h>
-#include "swtypes.hxx" // ZTCCONST
-#include "swfont.hxx" // SwDropPortion
+#include "swtypes.hxx"
+#include "swfont.hxx"
#define CONSTCHAR( name, string ) static const sal_Char name[] = string
diff --git a/sw/source/core/text/txttab.cxx b/sw/source/core/text/txttab.cxx
index bafe565e5b0b..a466b6624fe2 100644
--- a/sw/source/core/text/txttab.cxx
+++ b/sw/source/core/text/txttab.cxx
@@ -27,7 +27,7 @@
#include <frmatr.hxx>
#include <SwPortionHandler.hxx>
-#include "viewopt.hxx" // SwViewOptions
+#include "viewopt.hxx"
#include "portab.hxx"
#include "inftxt.hxx"
#include "itrform2.hxx"
diff --git a/sw/source/core/text/widorp.cxx b/sw/source/core/text/widorp.cxx
index 3548f78e2434..190108246039 100644
--- a/sw/source/core/text/widorp.cxx
+++ b/sw/source/core/text/widorp.cxx
@@ -35,7 +35,7 @@
#include "widorp.hxx"
#include "txtfrm.hxx"
#include "itrtxt.hxx"
-#include "sectfrm.hxx" //SwSectionFrm
+#include "sectfrm.hxx"
#include "ftnfrm.hxx"
#undef WIDOWTWIPS
diff --git a/sw/source/core/tox/tox.cxx b/sw/source/core/tox/tox.cxx
index 1a469d0aefd4..c7e177f01c84 100644
--- a/sw/source/core/tox/tox.cxx
+++ b/sw/source/core/tox/tox.cxx
@@ -31,7 +31,7 @@
#include <paratr.hxx>
#include <editeng/tstpitem.hxx>
#include <SwStyleNameMapper.hxx>
-#include <hints.hxx> // SwPtrMsgPoolItem
+#include <hints.hxx>
#include <algorithm>
#include <functional>
#include <switerator.hxx>
diff --git a/sw/source/core/txtnode/atrfld.cxx b/sw/source/core/txtnode/atrfld.cxx
index 51c43baee0bd..7bf3e3f997c1 100644
--- a/sw/source/core/txtnode/atrfld.cxx
+++ b/sw/source/core/txtnode/atrfld.cxx
@@ -18,7 +18,7 @@
*/
-#include "fldbas.hxx" // fuer FieldType
+#include "fldbas.hxx"
#include <fmtfld.hxx>
#include <txtfld.hxx>
#include <docufld.hxx>
@@ -29,9 +29,9 @@
#include "ddefld.hxx"
#include "usrfld.hxx"
#include "expfld.hxx"
-#include "swfont.hxx" // fuer GetFldsColor
-#include "ndtxt.hxx" // SwTxtNode
-#include "calc.hxx" // Update fuer UserFields
+#include "swfont.hxx"
+#include "ndtxt.hxx"
+#include "calc.hxx"
#include "hints.hxx"
#include <IDocumentFieldsAccess.hxx>
#include <fieldhint.hxx>
diff --git a/sw/source/core/txtnode/atrflyin.cxx b/sw/source/core/txtnode/atrflyin.cxx
index a52606fc2ca1..b44d4914a3a7 100644
--- a/sw/source/core/txtnode/atrflyin.cxx
+++ b/sw/source/core/txtnode/atrflyin.cxx
@@ -19,13 +19,13 @@
#include "hintids.hxx"
-#include "cntfrm.hxx" // _GetFly
+#include "cntfrm.hxx"
#include "doc.hxx"
#include <IDocumentUndoRedo.hxx>
-#include "pam.hxx" // fuer SwTxtFlyCnt
-#include "flyfrm.hxx" // fuer SwTxtFlyCnt
-#include "ndtxt.hxx" // SwFlyFrmFmt
-#include "frmfmt.hxx" // SwFlyFrmFmt
+#include "pam.hxx"
+#include "flyfrm.hxx"
+#include "ndtxt.hxx"
+#include "frmfmt.hxx"
#include <fmtflcnt.hxx>
#include <txtflcnt.hxx>
#include <fmtanchr.hxx>
diff --git a/sw/source/core/txtnode/atrftn.cxx b/sw/source/core/txtnode/atrftn.cxx
index be898145eab1..4260c8f4621d 100644
--- a/sw/source/core/txtnode/atrftn.cxx
+++ b/sw/source/core/txtnode/atrftn.cxx
@@ -18,8 +18,8 @@
*/
#include <doc.hxx>
-#include <cntfrm.hxx> // OSL_ENSURE(in ~SwTxtFtn()
-#include <pagefrm.hxx> // RemoveFtn()
+#include <cntfrm.hxx>
+#include <pagefrm.hxx>
#include <fmtftn.hxx>
#include <txtftn.hxx>
#include <ftnidx.hxx>
diff --git a/sw/source/core/txtnode/fmtatr2.cxx b/sw/source/core/txtnode/fmtatr2.cxx
index 3443c01b1388..cb3c33f94a65 100644
--- a/sw/source/core/txtnode/fmtatr2.cxx
+++ b/sw/source/core/txtnode/fmtatr2.cxx
@@ -31,9 +31,9 @@
#include <txtatr.hxx>
#include <fmtruby.hxx>
#include <charfmt.hxx>
-#include <hints.hxx> // SwUpdateAttr
+#include <hints.hxx>
#include <unostyle.hxx>
-#include <unoevent.hxx> // SwHyperlinkEventDescriptor
+#include <unoevent.hxx>
#include <com/sun/star/text/RubyAdjust.hpp>
#include <cmdid.h>
@@ -41,11 +41,11 @@
#include <SwStyleNameMapper.hxx>
#include <fmtmeta.hxx>
-#include <ndtxt.hxx> // for meta
-#include <doc.hxx> // for meta
+#include <ndtxt.hxx>
+#include <doc.hxx>
#include <unometa.hxx>
#include <docsh.hxx>
-#include <svl/zforlist.hxx> // GetNumberFormat
+#include <svl/zforlist.hxx>
#include <boost/bind.hpp>
#include <algorithm>
diff --git a/sw/source/core/txtnode/fntcache.cxx b/sw/source/core/txtnode/fntcache.cxx
index 125e4b7cb9ac..59660bc1cd90 100644
--- a/sw/source/core/txtnode/fntcache.cxx
+++ b/sw/source/core/txtnode/fntcache.cxx
@@ -31,12 +31,12 @@
#include <viewopt.hxx>
#include <fntcache.hxx>
#include <IDocumentSettingAccess.hxx>
-#include <swfont.hxx> // CH_BLANK + CH_BULLET
+#include <swfont.hxx>
#include <wrong.hxx>
#include "dbg_lay.hxx"
-#include <txtfrm.hxx> // SwTxtFrm
+#include <txtfrm.hxx>
#include <pagefrm.hxx>
-#include <pagedesc.hxx> // SwPageDesc
+#include <pagedesc.hxx>
#include <tgrditem.hxx>
#include <scriptinfo.hxx>
#include <editeng/brushitem.hxx>
diff --git a/sw/source/core/txtnode/fntcap.cxx b/sw/source/core/txtnode/fntcap.cxx
index 3717575b0212..892273778f01 100644
--- a/sw/source/core/txtnode/fntcap.cxx
+++ b/sw/source/core/txtnode/fntcap.cxx
@@ -29,7 +29,7 @@
#include <fntcache.hxx>
#include <swfont.hxx>
#include <breakit.hxx>
-#include <txtfrm.hxx> // SwTxtFrm
+#include <txtfrm.hxx>
#include <scriptinfo.hxx>
using namespace ::com::sun::star::i18n;
diff --git a/sw/source/core/txtnode/ndtxt.cxx b/sw/source/core/txtnode/ndtxt.cxx
index 4e5152f170fc..0856cca0863a 100644
--- a/sw/source/core/txtnode/ndtxt.cxx
+++ b/sw/source/core/txtnode/ndtxt.cxx
@@ -52,16 +52,16 @@
#include <doc.hxx>
#include <IDocumentUndoRedo.hxx>
#include <docary.hxx>
-#include <pam.hxx> // for SwPosition
+#include <pam.hxx>
#include <fldbas.hxx>
#include <paratr.hxx>
#include <txtfrm.hxx>
#include <ftnfrm.hxx>
#include <ftnboss.hxx>
#include <rootfrm.hxx>
-#include <pagedesc.hxx> // for SwPageDesc
-#include <expfld.hxx> // for SwTblField
-#include <section.hxx> // for SwSection
+#include <pagedesc.hxx>
+#include <expfld.hxx>
+#include <section.hxx>
#include <mvsave.hxx>
#include <swcache.hxx>
#include <SwGrammarMarkUp.hxx>
diff --git a/sw/source/core/txtnode/swfont.cxx b/sw/source/core/txtnode/swfont.cxx
index 9ed61d325147..0a361cac51a7 100644
--- a/sw/source/core/txtnode/swfont.cxx
+++ b/sw/source/core/txtnode/swfont.cxx
@@ -53,10 +53,10 @@
#include <IDocumentSettingAccess.hxx>
#include <vcl/window.hxx>
#include <charatr.hxx>
-#include <viewsh.hxx> // Bildschirmabgleich
+#include <viewsh.hxx>
#include <swfont.hxx>
-#include <fntcache.hxx> // FontCache
-#include <txtfrm.hxx> // SwTxtFrm
+#include <fntcache.hxx>
+#include <txtfrm.hxx>
#include <scriptinfo.hxx>
#ifdef DBG_UTIL
diff --git a/sw/source/core/txtnode/thints.cxx b/sw/source/core/txtnode/thints.cxx
index 803831184ea3..6d04de25d554 100644
--- a/sw/source/core/txtnode/thints.cxx
+++ b/sw/source/core/txtnode/thints.cxx
@@ -56,7 +56,7 @@
#include <pam.hxx>
#include <ndtxt.hxx>
#include <txtfrm.hxx>
-#include <rolbck.hxx> // fuer SwRegHistory
+#include <rolbck.hxx>
#include <ddefld.hxx>
#include <docufld.hxx>
#include <expfld.hxx>
diff --git a/sw/source/core/txtnode/txtatr2.cxx b/sw/source/core/txtnode/txtatr2.cxx
index 659a7561ead8..5fbfa56979ec 100644
--- a/sw/source/core/txtnode/txtatr2.cxx
+++ b/sw/source/core/txtnode/txtatr2.cxx
@@ -28,9 +28,9 @@
#include <fchrfmt.hxx>
#include <fmtinfmt.hxx>
#include <charfmt.hxx>
-#include <ndtxt.hxx> // SwCharFmt, SwTxtNode
-#include <poolfmt.hxx> // RES_POOLCHR_INET_...
-#include <doc.hxx> // SwDoc
+#include <ndtxt.hxx>
+#include <poolfmt.hxx>
+#include <doc.hxx>
#include <fmtruby.hxx>
#include <fmtmeta.hxx>
diff --git a/sw/source/core/txtnode/txtedt.cxx b/sw/source/core/txtnode/txtedt.cxx
index ad571cc0e644..1c82cc6e3871 100644
--- a/sw/source/core/txtnode/txtedt.cxx
+++ b/sw/source/core/txtnode/txtedt.cxx
@@ -35,7 +35,7 @@
#include <splargs.hxx>
#include <viewopt.hxx>
#include <acmplwrd.hxx>
-#include <doc.hxx> // GetDoc()
+#include <doc.hxx>
#include <docsh.hxx>
#include <txtfld.hxx>
#include <fmtfld.hxx>
@@ -53,8 +53,8 @@
#include <crstate.hxx>
#include <UndoOverwrite.hxx>
#include <txatritr.hxx>
-#include <redline.hxx> // SwRedline
-#include <docary.hxx> // SwRedlineTbl
+#include <redline.hxx>
+#include <docary.hxx>
#include <scriptinfo.hxx>
#include <docstat.hxx>
#include <editsh.hxx>
diff --git a/sw/source/core/undo/rolbck.cxx b/sw/source/core/undo/rolbck.cxx
index 4322608378d3..4ffa8fd52adf 100644
--- a/sw/source/core/undo/rolbck.cxx
+++ b/sw/source/core/undo/rolbck.cxx
@@ -38,19 +38,19 @@
#include <fmtcnct.hxx>
#include <frmfmt.hxx>
#include <ftnidx.hxx>
-#include <doc.hxx> // SwDoc.GetNodes()
+#include <doc.hxx>
#include <IDocumentUndoRedo.hxx>
#include <docary.hxx>
-#include <ndtxt.hxx> // SwTxtNode
+#include <ndtxt.hxx>
#include <paratr.hxx>
#include <cellatr.hxx>
#include <fldbas.hxx>
#include <pam.hxx>
#include <swtable.hxx>
-#include <ndgrf.hxx> // SwGrfNode
+#include <ndgrf.hxx>
#include <UndoCore.hxx>
#include <IMark.hxx>
-#include <charfmt.hxx> // #i27615#
+#include <charfmt.hxx>
#include <comcore.hrc>
#include <undo.hrc>
#include <bookmrk.hxx>
diff --git a/sw/source/core/undo/unbkmk.cxx b/sw/source/core/undo/unbkmk.cxx
index 0162ceb72a1f..d34d69e5c942 100644
--- a/sw/source/core/undo/unbkmk.cxx
+++ b/sw/source/core/undo/unbkmk.cxx
@@ -22,7 +22,7 @@
#include "doc.hxx"
#include "docary.hxx"
-#include "swundo.hxx" // fuer die UndoIds
+#include "swundo.hxx"
#include "pam.hxx"
#include <UndoCore.hxx>
diff --git a/sw/source/core/undo/undel.cxx b/sw/source/core/undo/undel.cxx
index c9032f3165d3..9786ab76345a 100644
--- a/sw/source/core/undo/undel.cxx
+++ b/sw/source/core/undo/undel.cxx
@@ -39,7 +39,7 @@
#include <sfx2/app.hxx>
#include <fldbas.hxx>
#include <fmtfld.hxx>
-#include <comcore.hrc> // #111827#
+#include <comcore.hrc>
#include <undo.hrc>
#include <vector>
diff --git a/sw/source/core/undo/undraw.cxx b/sw/source/core/undo/undraw.cxx
index 6890e816edd9..52aa1b3ced33 100644
--- a/sw/source/core/undo/undraw.cxx
+++ b/sw/source/core/undo/undraw.cxx
@@ -37,7 +37,7 @@
#include <IDocumentUndoRedo.hxx>
#include <docary.hxx>
#include <frame.hxx>
-#include <swundo.hxx> // fuer die UndoIds
+#include <swundo.hxx>
#include <pam.hxx>
#include <ndtxt.hxx>
#include <UndoCore.hxx>
diff --git a/sw/source/core/undo/unins.cxx b/sw/source/core/undo/unins.cxx
index ac685dd9d8c3..cc182b23a9a2 100644
--- a/sw/source/core/undo/unins.cxx
+++ b/sw/source/core/undo/unins.cxx
@@ -52,7 +52,7 @@
#include <acorrect.hxx>
#include <dcontact.hxx>
-#include <comcore.hrc> // #111827#
+#include <comcore.hrc>
#include <undo.hrc>
using namespace ::com::sun::star;
diff --git a/sw/source/core/undo/unoutl.cxx b/sw/source/core/undo/unoutl.cxx
index 088eb42d1684..45b85a7edbd0 100644
--- a/sw/source/core/undo/unoutl.cxx
+++ b/sw/source/core/undo/unoutl.cxx
@@ -19,7 +19,7 @@
#include "doc.hxx"
-#include "swundo.hxx" // fuer die UndoIds
+#include "swundo.hxx"
#include "pam.hxx"
#include "ndtxt.hxx"
diff --git a/sw/source/core/undo/unovwr.cxx b/sw/source/core/undo/unovwr.cxx
index 20d8c922b772..83a0e4f687f7 100644
--- a/sw/source/core/undo/unovwr.cxx
+++ b/sw/source/core/undo/unovwr.cxx
@@ -32,7 +32,7 @@
#include <rolbck.hxx>
#include <acorrect.hxx>
#include <docary.hxx>
-#include <comcore.hrc> // #111827#
+#include <comcore.hrc>
#include <undo.hrc>
using namespace ::com::sun::star;
diff --git a/sw/source/core/unocore/unochart.cxx b/sw/source/core/unocore/unochart.cxx
index 0a2b82700674..f57023e82c1a 100644
--- a/sw/source/core/unocore/unochart.cxx
+++ b/sw/source/core/unocore/unochart.cxx
@@ -25,7 +25,7 @@
#include <cppuhelper/interfacecontainer.hxx>
#include <osl/mutex.hxx>
#include <vcl/svapp.hxx>
-#include <svl/zforlist.hxx> // SvNumberFormatter
+#include <svl/zforlist.hxx>
#include <svx/charthelper.hxx>
#include <XMLRangeHelper.hxx>
diff --git a/sw/source/core/unocore/unofield.cxx b/sw/source/core/unocore/unofield.cxx
index f5fc29112263..fb74a806cb01 100644
--- a/sw/source/core/unocore/unofield.cxx
+++ b/sw/source/core/unocore/unofield.cxx
@@ -84,7 +84,7 @@
#include <textapi.hxx>
#include <editeng/outliner.hxx>
#include <docsh.hxx>
-#include <fmtmeta.hxx> // MetaFieldManager
+#include <fmtmeta.hxx>
#include <switerator.hxx>
#include <bookmrk.hxx>
#include <rtl/strbuf.hxx>
diff --git a/sw/source/core/unocore/unotbl.cxx b/sw/source/core/unocore/unotbl.cxx
index a79e33ee919a..75bb8b0447af 100644
--- a/sw/source/core/unocore/unotbl.cxx
+++ b/sw/source/core/unocore/unotbl.cxx
@@ -23,7 +23,7 @@
#include <svx/svxids.hrc>
#include <editeng/memberids.hrc>
-#include <float.h> // for DBL_MIN
+#include <float.h>
#include <swtypes.hxx>
#include <cmdid.h>
#include <unotbl.hxx>
@@ -74,7 +74,7 @@
#include <unotextrange.hxx>
#include <unotextcursor.hxx>
#include <unoparagraph.hxx>
-#include <svl/zforlist.hxx> // SvNumberFormatter
+#include <svl/zforlist.hxx>
#include <editeng/formatbreakitem.hxx>
#include <editeng/shaditem.hxx>
#include <editeng/lrspitem.hxx>
diff --git a/sw/source/core/view/viewpg.cxx b/sw/source/core/view/viewpg.cxx
index 909558e95ba0..c4d194777114 100644
--- a/sw/source/core/view/viewpg.cxx
+++ b/sw/source/core/view/viewpg.cxx
@@ -37,7 +37,7 @@
#include <hints.hxx>
#include <fntcache.hxx>
-#include <statstr.hrc> // Text fuer SfxProgress
+#include <statstr.hrc>
#include <comcore.hrc>
#include <IDocumentFieldsAccess.hxx>
diff --git a/sw/source/core/view/vnew.cxx b/sw/source/core/view/vnew.cxx
index a09df55630ce..3275ace32a99 100644
--- a/sw/source/core/view/vnew.cxx
+++ b/sw/source/core/view/vnew.cxx
@@ -25,12 +25,12 @@
#include <rootfrm.hxx>
#include <viewimp.hxx>
#include <viewopt.hxx>
-#include <txtfrm.hxx> // Zugriff auf TxtCache
+#include <txtfrm.hxx>
#include <notxtfrm.hxx>
#include <fntcache.hxx>
#include <docufld.hxx>
#include <ptqueue.hxx>
-#include <dview.hxx> // SdrView
+#include <dview.hxx>
#include <ndgrf.hxx>
#include <ndindex.hxx>
#include <accessibilityoptions.hxx>
diff --git a/sw/source/core/view/vprint.cxx b/sw/source/core/view/vprint.cxx
index e21abd4a27ae..aa4090445bcd 100644
--- a/sw/source/core/view/vprint.cxx
+++ b/sw/source/core/view/vprint.cxx
@@ -50,24 +50,24 @@
#include <wdocsh.hxx>
#include <fesh.hxx>
#include <pam.hxx>
-#include <viewimp.hxx> // Imp->SetFirstVisPageInvalid()
+#include <viewimp.hxx>
#include <layact.hxx>
#include <ndtxt.hxx>
#include <fldbas.hxx>
-#include <docfld.hxx> // _SetGetExpFld
-#include <docufld.hxx> // PostItFld /-Type
+#include <docfld.hxx>
+#include <docufld.hxx>
#include <shellres.hxx>
#include <viewopt.hxx>
-#include <printdata.hxx> // SwPrintData
+#include <printdata.hxx>
#include <pagedesc.hxx>
-#include <poolfmt.hxx> // for RES_POOLPAGE_JAKET
-#include <mdiexp.hxx> // for accessing status bar
-#include <statstr.hrc> // -- " --
+#include <poolfmt.hxx>
+#include <mdiexp.hxx>
+#include <statstr.hrc>
#include <ptqueue.hxx>
#include <tabfrm.hxx>
-#include <txtfrm.hxx> // MinPrtLine
-#include <viscrs.hxx> // SwShellCrsr
-#include <fmtpdsc.hxx> // SwFmtPageDesc
+#include <txtfrm.hxx>
+#include <viscrs.hxx>
+#include <fmtpdsc.hxx>
#include <globals.hrc>
using namespace ::com::sun::star;