summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2014-04-21 10:54:54 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-04-21 18:08:28 +0200
commit97a5ba4a71c39207859556296ed46dc474762164 (patch)
tree4f4a9a23d10d87a4f1e7714ef6f29827ff5d9591
parent8847724ca96199bd628558ba4599d697bce54c3e (diff)
remove comments why a file gets included
also remove some commented out code Change-Id: Ia80c5c57d8d2a74418032de50eee95642cc0969d
-rw-r--r--chart2/inc/ChartView.hxx1
-rw-r--r--chart2/source/controller/accessibility/AccessibleBase.cxx1
-rw-r--r--chart2/source/controller/accessibility/AccessibleChartElement.cxx1
-rw-r--r--chart2/source/controller/accessibility/AccessibleChartView.cxx3
-rw-r--r--chart2/source/controller/chartapiwrapper/MinMaxLineWrapper.hxx1
-rw-r--r--chart2/source/controller/chartapiwrapper/UpDownBarWrapper.hxx1
-rw-r--r--chart2/source/controller/chartapiwrapper/WrappedSymbolProperties.cxx5
-rw-r--r--chart2/source/controller/dialogs/TimerTriggeredControllerLock.cxx1
-rw-r--r--chart2/source/controller/dialogs/dlg_CreationWizard_UNO.cxx3
-rw-r--r--chart2/source/controller/dialogs/dlg_DataEditor.cxx3
-rw-r--r--chart2/source/controller/dialogs/dlg_InsertAxis_Grid.cxx1
-rw-r--r--chart2/source/controller/dialogs/dlg_NumberFormat.cxx6
-rw-r--r--chart2/source/controller/dialogs/dlg_View3D.cxx1
-rw-r--r--chart2/source/controller/dialogs/res_DataLabel.cxx7
-rw-r--r--chart2/source/controller/dialogs/res_DataLabel.hxx3
-rw-r--r--chart2/source/controller/dialogs/res_ErrorBar.cxx1
-rw-r--r--chart2/source/controller/dialogs/res_Trendline.hxx3
-rw-r--r--chart2/source/controller/dialogs/tp_3D_SceneAppearance.hxx4
-rw-r--r--chart2/source/controller/dialogs/tp_3D_SceneGeometry.hxx4
-rw-r--r--chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx6
-rw-r--r--chart2/source/controller/dialogs/tp_3D_SceneIllumination.hxx5
-rw-r--r--chart2/source/controller/dialogs/tp_AxisLabel.cxx3
-rw-r--r--chart2/source/controller/dialogs/tp_AxisPositions.cxx8
-rw-r--r--chart2/source/controller/dialogs/tp_AxisPositions.hxx1
-rw-r--r--chart2/source/controller/dialogs/tp_ChartType.hxx2
-rw-r--r--chart2/source/controller/dialogs/tp_DataSource.cxx1
-rw-r--r--chart2/source/controller/dialogs/tp_DataSource.hxx6
-rw-r--r--chart2/source/controller/dialogs/tp_DataSourceControls.hxx2
-rw-r--r--chart2/source/controller/dialogs/tp_PointGeometry.cxx2
-rw-r--r--chart2/source/controller/dialogs/tp_PointGeometry.hxx1
-rw-r--r--chart2/source/controller/dialogs/tp_Scale.cxx8
-rw-r--r--chart2/source/controller/dialogs/tp_Scale.hxx6
-rw-r--r--chart2/source/controller/dialogs/tp_SeriesToAxis.cxx3
-rw-r--r--chart2/source/controller/dialogs/tp_SeriesToAxis.hxx4
-rw-r--r--chart2/source/controller/dialogs/tp_TitleRotation.cxx3
-rw-r--r--chart2/source/controller/dialogs/tp_TitleRotation.hxx1
-rw-r--r--chart2/source/controller/drawinglayer/DrawViewWrapper.cxx7
-rw-r--r--chart2/source/controller/drawinglayer/ViewElementListProvider.cxx17
-rw-r--r--chart2/source/controller/inc/AccessibleChartView.hxx1
-rw-r--r--chart2/source/controller/inc/ConfigurationAccess.hxx1
-rw-r--r--chart2/source/controller/inc/ItemConverter.hxx1
-rw-r--r--chart2/source/controller/inc/dlg_ChartType.hxx3
-rw-r--r--chart2/source/controller/inc/dlg_CreationWizard.hxx1
-rw-r--r--chart2/source/controller/inc/dlg_CreationWizard_UNO.hxx1
-rw-r--r--chart2/source/controller/inc/dlg_DataSource.hxx5
-rw-r--r--chart2/source/controller/inc/dlg_InsertAxis_Grid.hxx3
-rw-r--r--chart2/source/controller/inc/dlg_InsertDataLabel.hxx3
-rw-r--r--chart2/source/controller/inc/dlg_View3D.hxx3
-rw-r--r--chart2/source/controller/itemsetwrapper/AxisItemConverter.cxx3
-rw-r--r--chart2/source/controller/itemsetwrapper/DataPointItemConverter.cxx4
-rw-r--r--chart2/source/controller/itemsetwrapper/GraphicPropertyItemConverter.cxx2
-rw-r--r--chart2/source/controller/itemsetwrapper/ItemConverter.cxx1
-rw-r--r--chart2/source/controller/itemsetwrapper/RegressionCurveItemConverter.cxx1
-rw-r--r--chart2/source/controller/itemsetwrapper/SeriesOptionsItemConverter.cxx5
-rw-r--r--chart2/source/controller/main/ChartController.cxx3
-rw-r--r--chart2/source/controller/main/ChartController_EditData.cxx1
-rw-r--r--chart2/source/controller/main/ChartController_Insert.cxx4
-rw-r--r--chart2/source/controller/main/ChartController_Position.cxx1
-rw-r--r--chart2/source/controller/main/ChartController_Properties.cxx3
-rw-r--r--chart2/source/controller/main/ChartController_TextEdit.cxx3
-rw-r--r--chart2/source/controller/main/ChartController_Tools.cxx8
-rw-r--r--chart2/source/controller/main/ChartController_Window.cxx6
-rw-r--r--chart2/source/controller/main/ChartDropTargetHelper.hxx1
-rw-r--r--chart2/source/controller/main/ChartTransferable.cxx2
-rw-r--r--chart2/source/controller/main/ConfigurationAccess.cxx3
-rw-r--r--chart2/source/controller/main/DragMethod_Base.cxx2
-rw-r--r--chart2/source/controller/main/DragMethod_Base.hxx3
-rw-r--r--chart2/source/controller/main/DragMethod_RotateDiagram.cxx1
-rw-r--r--chart2/source/controller/main/DragMethod_RotateDiagram.hxx1
-rw-r--r--chart2/source/controller/main/PositionAndSizeHelper.cxx1
-rw-r--r--chart2/source/controller/main/SelectionHelper.cxx2
-rw-r--r--chart2/source/controller/main/SelectionHelper.hxx1
-rw-r--r--chart2/source/controller/main/UndoCommandDispatch.cxx1
-rw-r--r--chart2/source/inc/LegendHelper.hxx1
-rw-r--r--chart2/source/inc/ModifyListenerCallBack.hxx1
-rw-r--r--chart2/source/inc/ObjectIdentifier.hxx1
-rw-r--r--chart2/source/inc/WrappedPropertySet.hxx2
-rw-r--r--chart2/source/inc/chartview/DrawModelWrapper.hxx3
-rw-r--r--chart2/source/model/filter/XMLFilter.cxx5
-rw-r--r--chart2/source/model/inc/XMLFilter.hxx1
-rw-r--r--chart2/source/model/main/ChartModel.cxx2
-rw-r--r--chart2/source/tools/AxisHelper.cxx1
-rw-r--r--chart2/source/tools/CharacterProperties.cxx1
-rw-r--r--chart2/source/tools/DiagramHelper.cxx1
-rw-r--r--chart2/source/tools/NumberFormatterWrapper.cxx2
-rw-r--r--chart2/source/tools/ObjectIdentifier.cxx1
-rw-r--r--chart2/source/tools/WrappedPropertySet.cxx1
-rw-r--r--chart2/source/view/charttypes/VSeriesPlotter.cxx1
-rw-r--r--chart2/source/view/diagram/VDiagram.cxx2
-rw-r--r--chart2/source/view/main/ChartView.cxx5
-rw-r--r--chart2/source/view/main/DrawModelWrapper.cxx12
-rw-r--r--connectivity/qa/connectivity/ado/DriverTest.cxx4
-rw-r--r--connectivity/source/manager/mdrivermanager.hxx1
-rw-r--r--cui/source/inc/transfrm.hxx1
-rw-r--r--cui/source/options/cfgchart.hxx4
-rw-r--r--cui/source/options/optchart.hxx5
-rw-r--r--cui/source/options/optinet2.cxx1
-rw-r--r--cui/source/tabpages/page.cxx2
-rw-r--r--dbaccess/source/ui/misc/linkeddocuments.cxx1
-rw-r--r--desktop/source/splash/unxsplash.cxx1
-rw-r--r--embeddedobj/source/msole/olevisual.cxx1
-rw-r--r--extensions/source/scanner/grid.cxx1
-rw-r--r--filter/source/flash/swfwriter.hxx2
-rw-r--r--include/comphelper/scoped_disposing_ptr.hxx1
-rw-r--r--include/svx/ActionDescriptionProvider.hxx1
-rw-r--r--include/svx/formatpaintbrushctrl.hxx2
-rw-r--r--include/vcl/IconThemeInfo.hxx1
-rw-r--r--include/vcl/slider.hxx1
-rw-r--r--include/xmloff/xmlerror.hxx1
-rw-r--r--reportdesign/source/filter/xml/xmlExport.cxx1
-rw-r--r--sal/qa/osl/security/osl_Security.cxx2
-rw-r--r--sc/source/filter/excel/colrowst.cxx2
-rw-r--r--sc/source/filter/excel/xename.cxx2
-rw-r--r--sc/source/filter/excel/xiname.cxx3
-rw-r--r--sc/source/ui/Accessibility/AccessibleCsvControl.cxx1
-rw-r--r--sc/source/ui/app/transobj.cxx1
-rw-r--r--sc/source/ui/app/typemap.cxx3
-rw-r--r--sc/source/ui/attrdlg/scdlgfact.cxx2
-rw-r--r--sc/source/ui/dbgui/asciiopt.cxx1
-rw-r--r--sc/source/ui/dbgui/csvtablebox.cxx2
-rw-r--r--sc/source/ui/inc/scuitphfedit.hxx1
-rw-r--r--sc/source/ui/unoobj/funcuno.cxx1
-rw-r--r--sc/source/ui/view/gridwin4.cxx2
-rw-r--r--scripting/source/vbaevents/eventhelper.cxx1
-rw-r--r--sd/source/core/CustomAnimationCloner.cxx1
-rw-r--r--sd/source/filter/ppt/ppt97animations.cxx4
-rw-r--r--sd/source/filter/ppt/ppt97animations.hxx1
-rw-r--r--sd/source/ui/dlg/animobjs.cxx1
-rw-r--r--sd/source/ui/func/fumorph.cxx1
-rw-r--r--sd/source/ui/inc/fuformatpaintbrush.hxx1
-rw-r--r--sd/source/ui/slideshow/slideshowimpl.cxx2
-rw-r--r--svl/qa/unit/items/test_IndexedStyleSheets.cxx1
-rw-r--r--svx/source/customshapes/EnhancedCustomShape2d.cxx2
-rw-r--r--svx/source/dialog/contwnd.cxx2
-rw-r--r--svx/source/dialog/graphctl.cxx2
-rw-r--r--svx/source/svdraw/sdrmasterpagedescriptor.cxx3
-rw-r--r--svx/source/svdraw/svdedtv.cxx2
-rw-r--r--svx/source/svdraw/svdedtv2.cxx3
-rw-r--r--svx/source/svdraw/svdoole2.cxx5
-rw-r--r--svx/source/svdraw/svdpagv.cxx1
-rw-r--r--svx/source/tbxctrls/formatpaintbrushctrl.cxx5
-rw-r--r--svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.cxx6
-rw-r--r--svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.hxx4
-rw-r--r--svx/source/unodialogs/textconversiondlgs/chinese_translation_unodialog.cxx4
-rw-r--r--svx/source/unodialogs/textconversiondlgs/chinese_translationdialog.cxx2
-rw-r--r--svx/source/unodialogs/textconversiondlgs/chinese_translationdialog.hxx2
-rw-r--r--svx/source/unodraw/unomlstr.cxx2
-rw-r--r--svx/source/unodraw/unoshap2.cxx2
-rw-r--r--svx/source/unodraw/unoshape.cxx1
-rw-r--r--sw/source/core/SwNumberTree/SwNodeNum.cxx1
-rw-r--r--sw/source/core/access/accpara.cxx3
-rw-r--r--sw/source/core/crsr/pam.cxx2
-rw-r--r--sw/source/core/docnode/ndsect.cxx1
-rw-r--r--sw/source/core/docnode/ndtbl.cxx1
-rw-r--r--sw/source/core/draw/dview.cxx3
-rw-r--r--sw/source/core/frmedt/fetab.cxx1
-rw-r--r--sw/source/core/inc/anchoredobjectposition.hxx2
-rw-r--r--sw/source/core/inc/frmtool.hxx1
-rw-r--r--sw/source/core/inc/layouter.hxx4
-rw-r--r--sw/source/core/layout/anchoreddrawobject.cxx2
-rw-r--r--sw/source/core/layout/anchoredobject.cxx2
-rw-r--r--sw/source/core/layout/calcmove.cxx2
-rw-r--r--sw/source/core/layout/flyincnt.cxx1
-rw-r--r--sw/source/core/layout/flylay.cxx2
-rw-r--r--sw/source/core/layout/hffrm.cxx2
-rw-r--r--sw/source/core/layout/layact.cxx1
-rw-r--r--sw/source/core/layout/laycache.cxx1
-rw-r--r--sw/source/core/layout/layouter.cxx2
-rw-r--r--sw/source/core/layout/paintfrm.cxx2
-rw-r--r--sw/source/core/layout/sectfrm.cxx1
-rw-r--r--sw/source/core/layout/virtoutp.cxx1
-rw-r--r--sw/source/core/layout/wsfrm.cxx1
-rw-r--r--sw/source/core/objectpositioning/anchoredobjectposition.cxx1
-rw-r--r--sw/source/core/objectpositioning/tocntntanchoredobjectposition.cxx1
-rw-r--r--sw/source/core/text/frmform.cxx2
-rw-r--r--sw/source/core/text/frmpaint.cxx1
-rw-r--r--sw/source/core/text/inftxt.cxx1
-rw-r--r--sw/source/core/text/itrcrsr.cxx1
-rw-r--r--sw/source/core/text/itrpaint.cxx1
-rw-r--r--sw/source/core/text/porfly.cxx1
-rw-r--r--sw/source/core/text/porfly.hxx2
-rw-r--r--sw/source/core/text/txtfly.cxx1
-rw-r--r--sw/source/core/text/txtftn.cxx1
-rw-r--r--sw/source/core/text/txttab.cxx1
-rw-r--r--sw/source/core/uibase/docvw/edtwin2.cxx1
-rw-r--r--sw/source/core/uibase/inc/formatclipboard.hxx3
-rw-r--r--sw/source/core/uibase/shells/frmsh.cxx3
-rw-r--r--sw/source/core/uibase/uiview/formatclipboard.cxx7
-rw-r--r--sw/source/core/uibase/uiview/view1.cxx2
-rw-r--r--sw/source/core/uibase/uno/unotxdoc.cxx1
-rw-r--r--sw/source/core/undo/undobj1.cxx1
-rw-r--r--sw/source/core/unocore/unomap.cxx1
-rw-r--r--sw/source/core/unocore/unoportenum.cxx1
-rw-r--r--sw/source/core/unocore/unotbl.cxx1
-rw-r--r--sw/source/core/view/viewimp.cxx1
-rw-r--r--sw/source/filter/basflt/shellio.cxx2
-rw-r--r--sw/source/filter/ww8/wrtw8esh.cxx2
-rw-r--r--sw/source/filter/ww8/ww8graf.cxx1
-rw-r--r--sw/source/filter/ww8/ww8par6.cxx1
-rw-r--r--sw/source/filter/xml/XMLRedlineImportHelper.cxx2
-rw-r--r--sw/source/filter/xml/swxml.cxx1
-rw-r--r--sw/source/filter/xml/xmlexp.cxx2
-rw-r--r--sw/source/filter/xml/xmlimp.cxx1
-rw-r--r--sw/source/filter/xml/xmltbli.cxx2
-rw-r--r--sw/source/filter/xml/xmltexti.cxx3
-rw-r--r--sw/source/ui/dialog/docstdlg.cxx2
-rw-r--r--sw/source/ui/fldui/fldref.cxx1
-rw-r--r--sw/source/ui/fldui/fldref.hxx1
-rw-r--r--sw/source/ui/frmdlg/wrap.cxx1
-rw-r--r--vcl/source/helper/canvastools.cxx2
-rw-r--r--vcl/win/source/gdi/winlayout.cxx1
-rw-r--r--winaccessibility/source/service/AccResource.cxx10
-rw-r--r--xmloff/source/chart/PropertyMaps.cxx1
-rw-r--r--xmloff/source/chart/SchXMLEnumConverter.cxx1
-rw-r--r--xmloff/source/chart/SchXMLExport.cxx1
-rw-r--r--xmloff/source/chart/SchXMLSeries2Context.cxx2
-rw-r--r--xmloff/source/chart/SchXMLSeries2Context.hxx1
-rw-r--r--xmloff/source/chart/SchXMLSeriesHelper.cxx1
-rw-r--r--xmloff/source/chart/SchXMLTools.cxx5
-rw-r--r--xmloff/source/style/MultiPropertySetHelper.cxx1
-rw-r--r--xmloff/source/style/xmlimppr.cxx1
-rw-r--r--xmloff/source/text/XMLTextFrameHyperlinkContext.cxx1
-rw-r--r--xmloff/source/text/txtparai.cxx2
-rw-r--r--xmloff/source/text/txtprhdl.cxx1
-rw-r--r--xmloff/source/text/txtstyli.cxx1
225 files changed, 8 insertions, 501 deletions
diff --git a/chart2/inc/ChartView.hxx b/chart2/inc/ChartView.hxx
index 4217ca9fd52e..bc458a9785fd 100644
--- a/chart2/inc/ChartView.hxx
+++ b/chart2/inc/ChartView.hxx
@@ -25,7 +25,6 @@
#include <cppuhelper/implbase10.hxx>
#include <cppuhelper/interfacecontainer.hxx>
-// header for class SfxListener
#include <svl/lstner.hxx>
#include <com/sun/star/datatransfer/XTransferable.hpp>
#include <com/sun/star/drawing/XDrawPage.hpp>
diff --git a/chart2/source/controller/accessibility/AccessibleBase.cxx b/chart2/source/controller/accessibility/AccessibleBase.cxx
index a2b1a694fe75..db5e60331b08 100644
--- a/chart2/source/controller/accessibility/AccessibleBase.cxx
+++ b/chart2/source/controller/accessibility/AccessibleBase.cxx
@@ -32,7 +32,6 @@
#include <com/sun/star/drawing/LineStyle.hpp>
#include <com/sun/star/drawing/FillStyle.hpp>
#include <rtl/ustrbuf.hxx>
-// for SolarMutex
#include <vcl/svapp.hxx>
#include <rtl/uuid.h>
#include <cppuhelper/queryinterface.hxx>
diff --git a/chart2/source/controller/accessibility/AccessibleChartElement.cxx b/chart2/source/controller/accessibility/AccessibleChartElement.cxx
index 617ee8e3e436..0f89470e162e 100644
--- a/chart2/source/controller/accessibility/AccessibleChartElement.cxx
+++ b/chart2/source/controller/accessibility/AccessibleChartElement.cxx
@@ -30,7 +30,6 @@
#include <com/sun/star/accessibility/AccessibleStateType.hpp>
#include <com/sun/star/lang/XInitialization.hpp>
-// for SolarMutex
#include <vcl/svapp.hxx>
#include <rtl/ustrbuf.hxx>
diff --git a/chart2/source/controller/accessibility/AccessibleChartView.cxx b/chart2/source/controller/accessibility/AccessibleChartView.cxx
index 62e23c6fe63a..83bec76014c8 100644
--- a/chart2/source/controller/accessibility/AccessibleChartView.cxx
+++ b/chart2/source/controller/accessibility/AccessibleChartView.cxx
@@ -34,10 +34,7 @@
#include <rtl/ustring.hxx>
#include <vcl/window.hxx>
#include <toolkit/helper/vclunohelper.hxx>
-// for SolarMutex
#include <vcl/svapp.hxx>
-
-// header for typedef MutexGuard
#include <osl/mutex.hxx>
using namespace ::com::sun::star;
diff --git a/chart2/source/controller/chartapiwrapper/MinMaxLineWrapper.hxx b/chart2/source/controller/chartapiwrapper/MinMaxLineWrapper.hxx
index 369e212c95bb..ddef4f497d31 100644
--- a/chart2/source/controller/chartapiwrapper/MinMaxLineWrapper.hxx
+++ b/chart2/source/controller/chartapiwrapper/MinMaxLineWrapper.hxx
@@ -26,7 +26,6 @@
#include <com/sun/star/chart2/XDiagram.hpp>
-// header for class OPropertyArrayHelper
#include <cppuhelper/propshlp.hxx>
#include <cppuhelper/implbase6.hxx>
#include <com/sun/star/beans/XMultiPropertySet.hpp>
diff --git a/chart2/source/controller/chartapiwrapper/UpDownBarWrapper.hxx b/chart2/source/controller/chartapiwrapper/UpDownBarWrapper.hxx
index c4c003bea4fc..9d6f0f0dd5cc 100644
--- a/chart2/source/controller/chartapiwrapper/UpDownBarWrapper.hxx
+++ b/chart2/source/controller/chartapiwrapper/UpDownBarWrapper.hxx
@@ -25,7 +25,6 @@
#include <com/sun/star/chart2/XDiagram.hpp>
-// header for class OPropertyArrayHelper
#include <cppuhelper/propshlp.hxx>
#include <cppuhelper/implbase6.hxx>
#include <com/sun/star/beans/XMultiPropertySet.hpp>
diff --git a/chart2/source/controller/chartapiwrapper/WrappedSymbolProperties.cxx b/chart2/source/controller/chartapiwrapper/WrappedSymbolProperties.cxx
index b8f9a8e1827e..bc71beefb35c 100644
--- a/chart2/source/controller/chartapiwrapper/WrappedSymbolProperties.cxx
+++ b/chart2/source/controller/chartapiwrapper/WrappedSymbolProperties.cxx
@@ -28,16 +28,11 @@
#include <com/sun/star/beans/PropertyAttribute.hpp>
#include <com/sun/star/chart/ChartSymbolType.hpp>
#include <com/sun/star/drawing/LineStyle.hpp>
-
#include <com/sun/star/graphic/GraphicProvider.hpp>
#include <com/sun/star/graphic/XGraphicProvider.hpp>
-// for UNO_NAME_GRAPHOBJ_URLPREFIX
#include <editeng/unoprnms.hxx>
-
-// for Graphic
#include <vcl/graph.hxx>
-// for GraphicObject
#include <svtools/grfmgr.hxx>
#include <vcl/outdev.hxx>
diff --git a/chart2/source/controller/dialogs/TimerTriggeredControllerLock.cxx b/chart2/source/controller/dialogs/TimerTriggeredControllerLock.cxx
index f564673cc05d..34aec553d199 100644
--- a/chart2/source/controller/dialogs/TimerTriggeredControllerLock.cxx
+++ b/chart2/source/controller/dialogs/TimerTriggeredControllerLock.cxx
@@ -19,7 +19,6 @@
#include "TimerTriggeredControllerLock.hxx"
-// header for define EDIT_UPDATEDATA_TIMEOUT
#include <vcl/edit.hxx>
namespace chart
diff --git a/chart2/source/controller/dialogs/dlg_CreationWizard_UNO.cxx b/chart2/source/controller/dialogs/dlg_CreationWizard_UNO.cxx
index dfd24d7647de..45d1e01e1ddf 100644
--- a/chart2/source/controller/dialogs/dlg_CreationWizard_UNO.cxx
+++ b/chart2/source/controller/dialogs/dlg_CreationWizard_UNO.cxx
@@ -24,12 +24,9 @@
#include "ContainerHelper.hxx"
#include "TimerTriggeredControllerLock.hxx"
#include <osl/mutex.hxx>
-// header for class Application
#include <vcl/svapp.hxx>
#include <toolkit/awt/vclxwindow.hxx>
-// header for define RET_CANCEL
#include <vcl/msgbox.hxx>
-// header for class OImplementationId
#include <cppuhelper/typeprovider.hxx>
#include <comphelper/servicehelper.hxx>
#include <com/sun/star/awt/Point.hpp>
diff --git a/chart2/source/controller/dialogs/dlg_DataEditor.cxx b/chart2/source/controller/dialogs/dlg_DataEditor.cxx
index ddba251a56d3..a1ebedc7bafc 100644
--- a/chart2/source/controller/dialogs/dlg_DataEditor.cxx
+++ b/chart2/source/controller/dialogs/dlg_DataEditor.cxx
@@ -27,10 +27,7 @@
#include <vcl/taskpanelist.hxx>
#include <svtools/miscopt.hxx>
#include <unotools/pathoptions.hxx>
-
-// for SfxBoolItem
#include <svl/eitem.hxx>
-
#include <vcl/edit.hxx>
#include <com/sun/star/frame/XStorable.hpp>
diff --git a/chart2/source/controller/dialogs/dlg_InsertAxis_Grid.cxx b/chart2/source/controller/dialogs/dlg_InsertAxis_Grid.cxx
index 1dad1d823969..bff841eb8640 100644
--- a/chart2/source/controller/dialogs/dlg_InsertAxis_Grid.cxx
+++ b/chart2/source/controller/dialogs/dlg_InsertAxis_Grid.cxx
@@ -24,7 +24,6 @@
#include "HelpIds.hrc"
#include "ObjectNameProvider.hxx"
-// header for class SfxBoolItem
#include <svl/eitem.hxx>
namespace chart
diff --git a/chart2/source/controller/dialogs/dlg_NumberFormat.cxx b/chart2/source/controller/dialogs/dlg_NumberFormat.cxx
index 5d22669b8452..332fcfee6b33 100644
--- a/chart2/source/controller/dialogs/dlg_NumberFormat.cxx
+++ b/chart2/source/controller/dialogs/dlg_NumberFormat.cxx
@@ -19,17 +19,11 @@
#include "dlg_NumberFormat.hxx"
-// header for class SfxItemSet
#include <svl/itemset.hxx>
-
-// header for class SvxNumberInfoItem
#include <svx/numinf.hxx>
-
#include <svx/svxdlg.hxx>
#include <svx/dialogs.hrc>
#include <sfx2/tabdlg.hxx>
-
-// header for SvNumberFormatter
#include <svl/zforlist.hxx>
namespace chart
diff --git a/chart2/source/controller/dialogs/dlg_View3D.cxx b/chart2/source/controller/dialogs/dlg_View3D.cxx
index 61f382668247..d15e8b6bb942 100644
--- a/chart2/source/controller/dialogs/dlg_View3D.cxx
+++ b/chart2/source/controller/dialogs/dlg_View3D.cxx
@@ -29,7 +29,6 @@
#include "ControllerLockGuard.hxx"
#include <com/sun/star/beans/XPropertySet.hpp>
-// for RET_OK
#include <vcl/msgbox.hxx>
namespace chart
diff --git a/chart2/source/controller/dialogs/res_DataLabel.cxx b/chart2/source/controller/dialogs/res_DataLabel.cxx
index 383f4920b8ff..a775e72dca01 100644
--- a/chart2/source/controller/dialogs/res_DataLabel.cxx
+++ b/chart2/source/controller/dialogs/res_DataLabel.cxx
@@ -22,22 +22,15 @@
#include "chartview/ChartSfxItemIds.hxx"
#include "dlg_NumberFormat.hxx"
-// header for class SvxNumberInfoItem
#include <svx/numinf.hxx>
#include <svl/eitem.hxx>
-// for SfxUInt32Item
#include <svl/intitem.hxx>
-// header for class SfxStringItem
#include <svl/stritem.hxx>
-//SfxIntegerListItem
#include <svl/ilstitem.hxx>
#include <editeng/eeitem.hxx>
#include <editeng/frmdiritem.hxx>
-
-// header for define RET_OK
#include <vcl/msgbox.hxx>
#include <svx/svxids.hrc>
-// header for SvNumberFormatter
#include <svl/zforlist.hxx>
#include <svtools/controldims.hrc>
diff --git a/chart2/source/controller/dialogs/res_DataLabel.hxx b/chart2/source/controller/dialogs/res_DataLabel.hxx
index 69317e857c36..8875136c6763 100644
--- a/chart2/source/controller/dialogs/res_DataLabel.hxx
+++ b/chart2/source/controller/dialogs/res_DataLabel.hxx
@@ -21,13 +21,10 @@
#define NUMBER_SEPARATORS 4
-// header for class CheckBox
#include <vcl/button.hxx>
#include <vcl/layout.hxx>
-// header for class SfxItemSet
#include <svl/itemset.hxx>
#include "TextDirectionListBox.hxx"
-
#include <svx/dialcontrol.hxx>
#include <svx/wrapfield.hxx>
#include <sfx2/tabdlg.hxx>
diff --git a/chart2/source/controller/dialogs/res_ErrorBar.cxx b/chart2/source/controller/dialogs/res_ErrorBar.cxx
index 4270b5311110..60b49879521e 100644
--- a/chart2/source/controller/dialogs/res_ErrorBar.cxx
+++ b/chart2/source/controller/dialogs/res_ErrorBar.cxx
@@ -21,7 +21,6 @@
#include "ResId.hxx"
#include "Bitmaps.hrc"
#include "RangeSelectionHelper.hxx"
-// for RANGE_SELECTION_INVALID_RANGE_BACKGROUND_COLOR
#include "TabPageNotifiable.hxx"
#include "macros.hxx"
diff --git a/chart2/source/controller/dialogs/res_Trendline.hxx b/chart2/source/controller/dialogs/res_Trendline.hxx
index bf26e307389f..8399b61b583f 100644
--- a/chart2/source/controller/dialogs/res_Trendline.hxx
+++ b/chart2/source/controller/dialogs/res_Trendline.hxx
@@ -25,10 +25,9 @@
#include <svl/itemset.hxx>
#include <svx/chrtitem.hxx>
#include <vcl/field.hxx>
-// header for class SvNumberformat
#include <svl/zformat.hxx>
-// header for class FormattedField
#include <svtools/fmtfield.hxx>
+
namespace chart
{
diff --git a/chart2/source/controller/dialogs/tp_3D_SceneAppearance.hxx b/chart2/source/controller/dialogs/tp_3D_SceneAppearance.hxx
index c0ee28746d0b..c08cea186df6 100644
--- a/chart2/source/controller/dialogs/tp_3D_SceneAppearance.hxx
+++ b/chart2/source/controller/dialogs/tp_3D_SceneAppearance.hxx
@@ -19,13 +19,9 @@
#ifndef INCLUDED_CHART2_SOURCE_CONTROLLER_DIALOGS_TP_3D_SCENEAPPEARANCE_HXX
#define INCLUDED_CHART2_SOURCE_CONTROLLER_DIALOGS_TP_3D_SCENEAPPEARANCE_HXX
-// header for class TabPage
#include <vcl/tabpage.hxx>
-// header for class MetricField
#include <vcl/field.hxx>
-// header for class CheckBox
#include <vcl/button.hxx>
-// header for class ListBox
#include <vcl/lstbox.hxx>
#include <com/sun/star/drawing/ShadeMode.hpp>
#include <com/sun/star/frame/XModel.hpp>
diff --git a/chart2/source/controller/dialogs/tp_3D_SceneGeometry.hxx b/chart2/source/controller/dialogs/tp_3D_SceneGeometry.hxx
index e6dccc54131c..decc521e87fa 100644
--- a/chart2/source/controller/dialogs/tp_3D_SceneGeometry.hxx
+++ b/chart2/source/controller/dialogs/tp_3D_SceneGeometry.hxx
@@ -22,13 +22,9 @@
#include <com/sun/star/beans/XPropertySet.hpp>
#include <basegfx/matrix/b3dhommatrix.hxx>
-// header for class TabPage
#include <vcl/tabpage.hxx>
-// header for class FixedLine
#include <vcl/fixed.hxx>
-// header for class MetricField
#include <vcl/field.hxx>
-// header for class OKButton
#include <vcl/button.hxx>
#include "ControllerLockGuard.hxx"
diff --git a/chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx b/chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx
index 9ab6183885ef..839f200e9172 100644
--- a/chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx
+++ b/chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx
@@ -23,16 +23,10 @@
#include "CommonConverters.hxx"
#include "svx/dialogs.hrc"
-// header for define SVX_RES
#include <svx/dialmgr.hxx>
#include <rtl/math.hxx>
-
-// header for class SvColorDialog
#include <svtools/colrdlg.hxx>
-
-// header for define RET_OK
#include <vcl/msgbox.hxx>
-
#include <svx/svx3ditems.hxx>
#include <svx/svddef.hxx>
diff --git a/chart2/source/controller/dialogs/tp_3D_SceneIllumination.hxx b/chart2/source/controller/dialogs/tp_3D_SceneIllumination.hxx
index 09d1725daf9c..f08560be63a5 100644
--- a/chart2/source/controller/dialogs/tp_3D_SceneIllumination.hxx
+++ b/chart2/source/controller/dialogs/tp_3D_SceneIllumination.hxx
@@ -24,15 +24,10 @@
#include <com/sun/star/beans/XPropertySet.hpp>
-// header for class TabPage
#include <vcl/tabpage.hxx>
-// header for class FixedText
#include <vcl/fixed.hxx>
-// header for class CheckBox
#include <vcl/button.hxx>
-// header for class ColorLB
#include <svx/dlgctrl.hxx>
-// header for class SvxLightCtl3D
#include <svx/dlgctl3d.hxx>
namespace chart
diff --git a/chart2/source/controller/dialogs/tp_AxisLabel.cxx b/chart2/source/controller/dialogs/tp_AxisLabel.cxx
index eaa6ed5dc8f0..efa7aa405dd5 100644
--- a/chart2/source/controller/dialogs/tp_AxisLabel.cxx
+++ b/chart2/source/controller/dialogs/tp_AxisLabel.cxx
@@ -23,10 +23,7 @@
#include "TabPages.hrc"
#include "chartview/ChartSfxItemIds.hxx"
-// header for SvxChartTextOrientItem / SvxChartTextOrderItem
#include <svx/chrtitem.hxx>
-
-// header for SfxInt32Item
#include <svl/intitem.hxx>
#include <editeng/eeitem.hxx>
#include <editeng/frmdiritem.hxx>
diff --git a/chart2/source/controller/dialogs/tp_AxisPositions.cxx b/chart2/source/controller/dialogs/tp_AxisPositions.cxx
index 0108a454fcfc..a0e28ca7ca2f 100644
--- a/chart2/source/controller/dialogs/tp_AxisPositions.cxx
+++ b/chart2/source/controller/dialogs/tp_AxisPositions.cxx
@@ -27,19 +27,11 @@
#include <svx/svxids.hrc>
#include <rtl/math.hxx>
-// header for class SvxDoubleItem
#include <svx/chrtitem.hxx>
-// header for class SfxBoolItem
#include <svl/eitem.hxx>
-// header for SfxInt32Item
#include <svl/intitem.hxx>
-
-// header for class WarningBox
#include <vcl/msgbox.hxx>
-
-// header for class SvNumberformat
#include <svl/zformat.hxx>
-
#include <svtools/controldims.hrc>
#include <com/sun/star/chart/ChartAxisPosition.hpp>
diff --git a/chart2/source/controller/dialogs/tp_AxisPositions.hxx b/chart2/source/controller/dialogs/tp_AxisPositions.hxx
index b143b44a15b3..21c92f0a331f 100644
--- a/chart2/source/controller/dialogs/tp_AxisPositions.hxx
+++ b/chart2/source/controller/dialogs/tp_AxisPositions.hxx
@@ -19,7 +19,6 @@
#ifndef INCLUDED_CHART2_SOURCE_CONTROLLER_DIALOGS_TP_AXISPOSITIONS_HXX
#define INCLUDED_CHART2_SOURCE_CONTROLLER_DIALOGS_TP_AXISPOSITIONS_HXX
-// header for SfxTabPage
#include <sfx2/tabdlg.hxx>
#include <svtools/fmtfield.hxx>
#include <vcl/fixed.hxx>
diff --git a/chart2/source/controller/dialogs/tp_ChartType.hxx b/chart2/source/controller/dialogs/tp_ChartType.hxx
index e876d59097e7..4d3229a94096 100644
--- a/chart2/source/controller/dialogs/tp_ChartType.hxx
+++ b/chart2/source/controller/dialogs/tp_ChartType.hxx
@@ -30,9 +30,7 @@
#include <svtools/wizardmachine.hxx>
#include <svtools/valueset.hxx>
#include <vcl/fixed.hxx>
-// header for class MetricField
#include <vcl/field.hxx>
-// header for class ListBox
#include <vcl/lstbox.hxx>
#include <com/sun/star/uno/XComponentContext.hpp>
diff --git a/chart2/source/controller/dialogs/tp_DataSource.cxx b/chart2/source/controller/dialogs/tp_DataSource.cxx
index 02e386f93a19..8a83c5b8d441 100644
--- a/chart2/source/controller/dialogs/tp_DataSource.cxx
+++ b/chart2/source/controller/dialogs/tp_DataSource.cxx
@@ -36,7 +36,6 @@
#include <com/sun/star/util/XModifiable.hpp>
#include <com/sun/star/chart2/data/XDataSink.hpp>
-// for RET_OK
#include <vcl/msgbox.hxx>
#include <rtl/ustrbuf.hxx>
diff --git a/chart2/source/controller/dialogs/tp_DataSource.hxx b/chart2/source/controller/dialogs/tp_DataSource.hxx
index de20639b147e..b89d4d4499f3 100644
--- a/chart2/source/controller/dialogs/tp_DataSource.hxx
+++ b/chart2/source/controller/dialogs/tp_DataSource.hxx
@@ -24,17 +24,11 @@
#include "DialogModel.hxx"
#include "TabPageNotifiable.hxx"
-// header for class Edit
#include <vcl/edit.hxx>
-// header for class ListBox
#include <vcl/lstbox.hxx>
-// header for class PushButton, OKButton, CancelButton, HelpButton
#include <vcl/button.hxx>
-// header for class FixedText, FixedLine
#include <vcl/fixed.hxx>
-// header for class SvTabListBox
#include <svtools/svtabbx.hxx>
-// header for class SvTreeListBox
#include <svtools/treelistbox.hxx>
#include <com/sun/star/chart2/XChartDocument.hpp>
#include <com/sun/star/chart2/XDiagram.hpp>
diff --git a/chart2/source/controller/dialogs/tp_DataSourceControls.hxx b/chart2/source/controller/dialogs/tp_DataSourceControls.hxx
index 4497135c44a8..82ae7addf888 100644
--- a/chart2/source/controller/dialogs/tp_DataSourceControls.hxx
+++ b/chart2/source/controller/dialogs/tp_DataSourceControls.hxx
@@ -23,9 +23,7 @@
#include <com/sun/star/chart2/XDataSeries.hpp>
#include <com/sun/star/chart2/data/XLabeledDataSequence.hpp>
-// header for class SvTabListBox
#include <svtools/svtabbx.hxx>
-// header for class SvTreeListBox
#include <svtools/treelistbox.hxx>
#include "svtools/treelistentry.hxx"
diff --git a/chart2/source/controller/dialogs/tp_PointGeometry.cxx b/chart2/source/controller/dialogs/tp_PointGeometry.cxx
index b30160cf94d8..68a20d907367 100644
--- a/chart2/source/controller/dialogs/tp_PointGeometry.cxx
+++ b/chart2/source/controller/dialogs/tp_PointGeometry.cxx
@@ -24,9 +24,7 @@
#include "chartview/ChartSfxItemIds.hxx"
-// header for SfxInt32Item
#include <svl/intitem.hxx>
-// header for class Svx3DHorizontalSegmentsItem
#include <svx/svx3ditems.hxx>
namespace chart
diff --git a/chart2/source/controller/dialogs/tp_PointGeometry.hxx b/chart2/source/controller/dialogs/tp_PointGeometry.hxx
index a1a3f295b6e8..b4098a7dcc5a 100644
--- a/chart2/source/controller/dialogs/tp_PointGeometry.hxx
+++ b/chart2/source/controller/dialogs/tp_PointGeometry.hxx
@@ -19,7 +19,6 @@
#ifndef INCLUDED_CHART2_SOURCE_CONTROLLER_DIALOGS_TP_POINTGEOMETRY_HXX
#define INCLUDED_CHART2_SOURCE_CONTROLLER_DIALOGS_TP_POINTGEOMETRY_HXX
-// header for SfxTabPage
#include <sfx2/tabdlg.hxx>
namespace chart
diff --git a/chart2/source/controller/dialogs/tp_Scale.cxx b/chart2/source/controller/dialogs/tp_Scale.cxx
index 6edd87e1f2b6..a3df39f48df7 100644
--- a/chart2/source/controller/dialogs/tp_Scale.cxx
+++ b/chart2/source/controller/dialogs/tp_Scale.cxx
@@ -26,19 +26,11 @@
#include <svx/svxids.hrc>
#include <rtl/math.hxx>
-// header for class SvxDoubleItem
#include <svx/chrtitem.hxx>
-// header for class SfxBoolItem
#include <svl/eitem.hxx>
-// header for SfxInt32Item
#include <svl/intitem.hxx>
-
-// header for class WarningBox
#include <vcl/msgbox.hxx>
-
-// header for class SvNumberformat
#include <svl/zformat.hxx>
-
#include <svtools/controldims.hrc>
#include <com/sun/star/chart2/AxisType.hpp>
diff --git a/chart2/source/controller/dialogs/tp_Scale.hxx b/chart2/source/controller/dialogs/tp_Scale.hxx
index f7203efdbe4a..6839c09ef9a8 100644
--- a/chart2/source/controller/dialogs/tp_Scale.hxx
+++ b/chart2/source/controller/dialogs/tp_Scale.hxx
@@ -19,17 +19,11 @@
#ifndef INCLUDED_CHART2_SOURCE_CONTROLLER_DIALOGS_TP_SCALE_HXX
#define INCLUDED_CHART2_SOURCE_CONTROLLER_DIALOGS_TP_SCALE_HXX
-// header for SfxTabPage
#include <sfx2/tabdlg.hxx>
-// header for class FormattedField
#include <svtools/fmtfield.hxx>
-// header for FixedText
#include <vcl/fixed.hxx>
-// header for CheckBox
#include <vcl/button.hxx>
-// header for MetricField
#include <vcl/field.hxx>
-// header for class ListBox
#include <vcl/lstbox.hxx>
namespace chart
diff --git a/chart2/source/controller/dialogs/tp_SeriesToAxis.cxx b/chart2/source/controller/dialogs/tp_SeriesToAxis.cxx
index 4b2fed5c0b5a..683fdc167c3c 100644
--- a/chart2/source/controller/dialogs/tp_SeriesToAxis.cxx
+++ b/chart2/source/controller/dialogs/tp_SeriesToAxis.cxx
@@ -22,11 +22,8 @@
#include "ResId.hxx"
#include "chartview/ChartSfxItemIds.hxx"
-// header for class SfxBoolItem
#include <svl/eitem.hxx>
-// header for SfxInt32Item
#include <svl/intitem.hxx>
-//SfxIntegerListItem
#include <svl/ilstitem.hxx>
#include <svtools/controldims.hrc>
diff --git a/chart2/source/controller/dialogs/tp_SeriesToAxis.hxx b/chart2/source/controller/dialogs/tp_SeriesToAxis.hxx
index cabe8370530a..2336eb5c9569 100644
--- a/chart2/source/controller/dialogs/tp_SeriesToAxis.hxx
+++ b/chart2/source/controller/dialogs/tp_SeriesToAxis.hxx
@@ -19,13 +19,9 @@
#ifndef INCLUDED_CHART2_SOURCE_CONTROLLER_DIALOGS_TP_SERIESTOAXIS_HXX
#define INCLUDED_CHART2_SOURCE_CONTROLLER_DIALOGS_TP_SERIESTOAXIS_HXX
-// header for SfxTabPage
#include <sfx2/tabdlg.hxx>
-// header for FixedText
#include <vcl/fixed.hxx>
-// header for CheckBox
#include <vcl/button.hxx>
-// header for MetricField
#include <vcl/field.hxx>
namespace chart
diff --git a/chart2/source/controller/dialogs/tp_TitleRotation.cxx b/chart2/source/controller/dialogs/tp_TitleRotation.cxx
index ee5237c41640..ab0dc4c746da 100644
--- a/chart2/source/controller/dialogs/tp_TitleRotation.cxx
+++ b/chart2/source/controller/dialogs/tp_TitleRotation.cxx
@@ -23,10 +23,9 @@
#include "TabPages.hrc"
#include "chartview/ChartSfxItemIds.hxx"
#include "HelpIds.hrc"
+
#include <editeng/eeitem.hxx>
#include <editeng/frmdiritem.hxx>
-
-// header for class SfxInt32Item
#include <svl/intitem.hxx>
namespace chart
diff --git a/chart2/source/controller/dialogs/tp_TitleRotation.hxx b/chart2/source/controller/dialogs/tp_TitleRotation.hxx
index 9740b9f29dda..14fff7286694 100644
--- a/chart2/source/controller/dialogs/tp_TitleRotation.hxx
+++ b/chart2/source/controller/dialogs/tp_TitleRotation.hxx
@@ -19,7 +19,6 @@
#ifndef INCLUDED_CHART2_SOURCE_CONTROLLER_DIALOGS_TP_TITLEROTATION_HXX
#define INCLUDED_CHART2_SOURCE_CONTROLLER_DIALOGS_TP_TITLEROTATION_HXX
-// header for SfxTabPage
#include <sfx2/tabdlg.hxx>
#include <svx/dialcontrol.hxx>
#include <svx/wrapfield.hxx>
diff --git a/chart2/source/controller/drawinglayer/DrawViewWrapper.cxx b/chart2/source/controller/drawinglayer/DrawViewWrapper.cxx
index f97c537a411a..c32ee0141b57 100644
--- a/chart2/source/controller/drawinglayer/DrawViewWrapper.cxx
+++ b/chart2/source/controller/drawinglayer/DrawViewWrapper.cxx
@@ -24,20 +24,13 @@
#include <unotools/lingucfg.hxx>
#include <editeng/langitem.hxx>
-// header for class SdrPage
#include <svx/svdpage.hxx>
-//header for class SdrPageView
#include <svx/svdpagv.hxx>
-// header for class SdrModel
#include <svx/svdmodel.hxx>
-// header for class E3dScene
#include <svx/scene3d.hxx>
#include <svx/svdetc.hxx>
#include <svx/svdoutl.hxx>
-
#include <svx/svxids.hrc>
-
-// header for class SvxShape
#include <svx/unoshape.hxx>
#include <editeng/fhgtitem.hxx>
diff --git a/chart2/source/controller/drawinglayer/ViewElementListProvider.cxx b/chart2/source/controller/drawinglayer/ViewElementListProvider.cxx
index 8ad08cc8cd09..af648daba2ad 100644
--- a/chart2/source/controller/drawinglayer/ViewElementListProvider.cxx
+++ b/chart2/source/controller/drawinglayer/ViewElementListProvider.cxx
@@ -22,39 +22,24 @@
#include "chartview/DataPointSymbolSupplier.hxx"
#include "macros.hxx"
#include "DrawViewWrapper.hxx"
+
#include <svx/xtable.hxx>
#include <svx/XPropertyTable.hxx>
#include <svx/unofill.hxx>
#include <svx/unoapi.hxx>
-
-// header for class NameOrIndex
#include <svx/xit.hxx>
-// header for class XFillBitmapItem
#include <svx/xbtmpit.hxx>
#include <svx/xflftrit.hxx>
#include <svx/xlndsit.hxx>
#include <svx/xflhtit.hxx>
#include <svx/xflgrit.hxx>
-// header for class XLineStartItem
#include <svx/xlnstit.hxx>
-// header for class XLineEndItem
#include <svx/xlnedit.hxx>
-
-//oldChartModelWrapper
-
-// header for class SfxItemPool
#include <svl/itempool.hxx>
-// header for class FontList
#include <svtools/ctrltool.hxx>
-// header for class Application
#include <vcl/svapp.hxx>
-// header for class SdrObject
#include <svx/svdobj.hxx>
-
-//for creation of a symbol Graphic
-// header for class VirtualDevice
#include <vcl/virdev.hxx>
-// header for class SdrView
#include <svx/svdview.hxx>
namespace chart
diff --git a/chart2/source/controller/inc/AccessibleChartView.hxx b/chart2/source/controller/inc/AccessibleChartView.hxx
index 3e5ce2878a07..84dc977966e1 100644
--- a/chart2/source/controller/inc/AccessibleChartView.hxx
+++ b/chart2/source/controller/inc/AccessibleChartView.hxx
@@ -23,7 +23,6 @@
#include "MutexContainer.hxx"
#include "ServiceMacros.hxx"
#include <cppuhelper/implbase2.hxx>
-// header for class WeakReference
#include <cppuhelper/weakref.hxx>
#include <com/sun/star/accessibility/XAccessible.hpp>
#include <com/sun/star/frame/XModel.hpp>
diff --git a/chart2/source/controller/inc/ConfigurationAccess.hxx b/chart2/source/controller/inc/ConfigurationAccess.hxx
index 679e7fcd4eba..7ec2c1a71016 100644
--- a/chart2/source/controller/inc/ConfigurationAccess.hxx
+++ b/chart2/source/controller/inc/ConfigurationAccess.hxx
@@ -20,7 +20,6 @@
#ifndef INCLUDED_CHART2_SOURCE_CONTROLLER_INC_CONFIGURATIONACCESS_HXX
#define INCLUDED_CHART2_SOURCE_CONTROLLER_INC_CONFIGURATIONACCESS_HXX
-// header for enum FieldUnit
#include <tools/fldunit.hxx>
namespace chart
diff --git a/chart2/source/controller/inc/ItemConverter.hxx b/chart2/source/controller/inc/ItemConverter.hxx
index e4143c129a38..ea8850d766ff 100644
--- a/chart2/source/controller/inc/ItemConverter.hxx
+++ b/chart2/source/controller/inc/ItemConverter.hxx
@@ -24,7 +24,6 @@
#include <svl/itemset.hxx>
#include <com/sun/star/beans/XPropertySet.hpp>
-// for pair
#include <utility>
namespace comphelper
diff --git a/chart2/source/controller/inc/dlg_ChartType.hxx b/chart2/source/controller/inc/dlg_ChartType.hxx
index 992aa2d4956e..227bf968aea2 100644
--- a/chart2/source/controller/inc/dlg_ChartType.hxx
+++ b/chart2/source/controller/inc/dlg_ChartType.hxx
@@ -19,11 +19,8 @@
#ifndef INCLUDED_CHART2_SOURCE_CONTROLLER_INC_DLG_CHARTTYPE_HXX
#define INCLUDED_CHART2_SOURCE_CONTROLLER_INC_DLG_CHARTTYPE_HXX
-// header for class ModalDialog
#include <vcl/dialog.hxx>
-// header for class FixedLine
#include <vcl/fixed.hxx>
-// header for class OKButton
#include <vcl/button.hxx>
#include <com/sun/star/frame/XModel.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
diff --git a/chart2/source/controller/inc/dlg_CreationWizard.hxx b/chart2/source/controller/inc/dlg_CreationWizard.hxx
index fbf64b63b9dc..0b9739b4940d 100644
--- a/chart2/source/controller/inc/dlg_CreationWizard.hxx
+++ b/chart2/source/controller/inc/dlg_CreationWizard.hxx
@@ -28,7 +28,6 @@
#include <svtools/roadmapwizard.hxx>
#include <com/sun/star/uno/XComponentContext.hpp>
-// for auto_ptr
#include <memory>
namespace chart
diff --git a/chart2/source/controller/inc/dlg_CreationWizard_UNO.hxx b/chart2/source/controller/inc/dlg_CreationWizard_UNO.hxx
index 5bb42e98720a..4d4b8c0a3037 100644
--- a/chart2/source/controller/inc/dlg_CreationWizard_UNO.hxx
+++ b/chart2/source/controller/inc/dlg_CreationWizard_UNO.hxx
@@ -32,7 +32,6 @@
#include <com/sun/star/ui/dialogs/XExecutableDialog.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
-// header for define DECL_LINK
#include <tools/link.hxx>
#include <vcl/vclevent.hxx>
diff --git a/chart2/source/controller/inc/dlg_DataSource.hxx b/chart2/source/controller/inc/dlg_DataSource.hxx
index a960e56169b2..6341fe050094 100644
--- a/chart2/source/controller/inc/dlg_DataSource.hxx
+++ b/chart2/source/controller/inc/dlg_DataSource.hxx
@@ -19,19 +19,14 @@
#ifndef INCLUDED_CHART2_SOURCE_CONTROLLER_INC_DLG_DATASOURCE_HXX
#define INCLUDED_CHART2_SOURCE_CONTROLLER_INC_DLG_DATASOURCE_HXX
-// header for class TabDialog
#include <vcl/tabdlg.hxx>
-// header for class TabControl
#include <vcl/tabctrl.hxx>
-// header for class OKButton
#include <vcl/button.hxx>
-
#include "TabPageNotifiable.hxx"
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/chart2/XChartDocument.hpp>
-// for auto_ptr
#include <memory>
namespace chart
diff --git a/chart2/source/controller/inc/dlg_InsertAxis_Grid.hxx b/chart2/source/controller/inc/dlg_InsertAxis_Grid.hxx
index 30ae588ffac7..82636bc2090e 100644
--- a/chart2/source/controller/inc/dlg_InsertAxis_Grid.hxx
+++ b/chart2/source/controller/inc/dlg_InsertAxis_Grid.hxx
@@ -19,11 +19,8 @@
#ifndef INCLUDED_CHART2_SOURCE_CONTROLLER_INC_DLG_INSERTAXIS_GRID_HXX
#define INCLUDED_CHART2_SOURCE_CONTROLLER_INC_DLG_INSERTAXIS_GRID_HXX
-// header for class ModalDialog
#include <vcl/dialog.hxx>
-// header for class FixedLine
#include <vcl/fixed.hxx>
-// header for class CheckBox
#include <vcl/button.hxx>
#include <com/sun/star/uno/Sequence.hxx>
diff --git a/chart2/source/controller/inc/dlg_InsertDataLabel.hxx b/chart2/source/controller/inc/dlg_InsertDataLabel.hxx
index 311707509c75..35268d40d1f6 100644
--- a/chart2/source/controller/inc/dlg_InsertDataLabel.hxx
+++ b/chart2/source/controller/inc/dlg_InsertDataLabel.hxx
@@ -19,11 +19,8 @@
#ifndef INCLUDED_CHART2_SOURCE_CONTROLLER_INC_DLG_INSERTDATALABEL_HXX
#define INCLUDED_CHART2_SOURCE_CONTROLLER_INC_DLG_INSERTDATALABEL_HXX
-// header for class ModalDialog
#include <vcl/dialog.hxx>
-// header for class CheckBox
#include <vcl/button.hxx>
-// header for class SfxItemSet
#include <svl/itemset.hxx>
#include <boost/scoped_ptr.hpp>
diff --git a/chart2/source/controller/inc/dlg_View3D.hxx b/chart2/source/controller/inc/dlg_View3D.hxx
index 7ffa768f5ee4..6cc64087df78 100644
--- a/chart2/source/controller/inc/dlg_View3D.hxx
+++ b/chart2/source/controller/inc/dlg_View3D.hxx
@@ -22,11 +22,8 @@
#include <com/sun/star/drawing/ShadeMode.hpp>
#include <com/sun/star/frame/XModel.hpp>
-// header for class TabDialog
#include <vcl/tabdlg.hxx>
-// header for class TabControl
#include <vcl/tabctrl.hxx>
-// header for class XColorList
#include <svx/xtable.hxx>
#include "ControllerLockGuard.hxx"
diff --git a/chart2/source/controller/itemsetwrapper/AxisItemConverter.cxx b/chart2/source/controller/itemsetwrapper/AxisItemConverter.cxx
index 6a15e71846f7..ee25d44f3d8c 100644
--- a/chart2/source/controller/itemsetwrapper/AxisItemConverter.cxx
+++ b/chart2/source/controller/itemsetwrapper/AxisItemConverter.cxx
@@ -37,11 +37,8 @@
#include <com/sun/star/chart2/AxisOrientation.hpp>
#include <com/sun/star/chart2/AxisType.hpp>
-// for SfxBoolItem
#include <svl/eitem.hxx>
-// for SvxDoubleItem
#include <svx/chrtitem.hxx>
-// for SfxInt32Item
#include <svl/intitem.hxx>
#include <rtl/math.hxx>
diff --git a/chart2/source/controller/itemsetwrapper/DataPointItemConverter.cxx b/chart2/source/controller/itemsetwrapper/DataPointItemConverter.cxx
index 57643b71db85..f03c41075d8d 100644
--- a/chart2/source/controller/itemsetwrapper/DataPointItemConverter.cxx
+++ b/chart2/source/controller/itemsetwrapper/DataPointItemConverter.cxx
@@ -34,19 +34,15 @@
#include <com/sun/star/chart2/DataPointLabel.hpp>
#include <com/sun/star/chart2/Symbol.hpp>
-// header for class XFillColorItem
#include <svx/xflclit.hxx>
#include <svl/intitem.hxx>
#include <editeng/sizeitem.hxx>
-// header for class SfxStringItem
#include <svl/stritem.hxx>
#include <editeng/brushitem.hxx>
-//SfxIntegerListItem
#include <svl/ilstitem.hxx>
#include <vcl/graph.hxx>
#include <com/sun/star/graphic/XGraphic.hpp>
-// for SVX_SYMBOLTYPE_...
#include <svx/tabline.hxx>
#include <functional>
diff --git a/chart2/source/controller/itemsetwrapper/GraphicPropertyItemConverter.cxx b/chart2/source/controller/itemsetwrapper/GraphicPropertyItemConverter.cxx
index 65263e1fe37f..f7e03ff9458d 100644
--- a/chart2/source/controller/itemsetwrapper/GraphicPropertyItemConverter.cxx
+++ b/chart2/source/controller/itemsetwrapper/GraphicPropertyItemConverter.cxx
@@ -36,9 +36,7 @@
#include <svx/xfltrit.hxx>
#include <svx/xlntrit.hxx>
#include <editeng/eeitem.hxx>
-// for SfxBoolItem
#include <svl/eitem.hxx>
-// for XFillGradientStepCountItem
#include <svx/xgrscit.hxx>
#include <com/sun/star/beans/XPropertyState.hpp>
#include <com/sun/star/chart2/FillBitmap.hpp>
diff --git a/chart2/source/controller/itemsetwrapper/ItemConverter.cxx b/chart2/source/controller/itemsetwrapper/ItemConverter.cxx
index 6c35654e02f1..74bf8a26ac26 100644
--- a/chart2/source/controller/itemsetwrapper/ItemConverter.cxx
+++ b/chart2/source/controller/itemsetwrapper/ItemConverter.cxx
@@ -22,7 +22,6 @@
#include <com/sun/star/lang/XComponent.hpp>
#include <svl/itemprop.hxx>
#include <svl/itemiter.hxx>
-// header for class SfxWhichIter
#include <svl/whiter.hxx>
#include <svx/svxids.hrc>
diff --git a/chart2/source/controller/itemsetwrapper/RegressionCurveItemConverter.cxx b/chart2/source/controller/itemsetwrapper/RegressionCurveItemConverter.cxx
index 918186730676..df4b19ba4c4a 100644
--- a/chart2/source/controller/itemsetwrapper/RegressionCurveItemConverter.cxx
+++ b/chart2/source/controller/itemsetwrapper/RegressionCurveItemConverter.cxx
@@ -26,7 +26,6 @@
#include <com/sun/star/chart2/XRegressionCurve.hpp>
-// for SfxBoolItem
#include <svl/eitem.hxx>
#include <svl/intitem.hxx>
#include <svl/stritem.hxx>
diff --git a/chart2/source/controller/itemsetwrapper/SeriesOptionsItemConverter.cxx b/chart2/source/controller/itemsetwrapper/SeriesOptionsItemConverter.cxx
index 34042ca23fb8..362f3d9685f3 100644
--- a/chart2/source/controller/itemsetwrapper/SeriesOptionsItemConverter.cxx
+++ b/chart2/source/controller/itemsetwrapper/SeriesOptionsItemConverter.cxx
@@ -33,14 +33,11 @@
#include <com/sun/star/chart/MissingValueTreatment.hpp>
#include <com/sun/star/chart2/XDataSeries.hpp>
-// for SfxBoolItem
#include <svl/eitem.hxx>
#include <svl/intitem.hxx>
-
-//SfxIntegerListItem
#include <svl/ilstitem.hxx>
-
#include <rtl/math.hxx>
+
#include <functional>
#include <algorithm>
diff --git a/chart2/source/controller/main/ChartController.cxx b/chart2/source/controller/main/ChartController.cxx
index b711d6b40188..aaf3223ba0b1 100644
--- a/chart2/source/controller/main/ChartController.cxx
+++ b/chart2/source/controller/main/ChartController.cxx
@@ -59,10 +59,7 @@
#include <com/sun/star/document/XUndoManagerSupplier.hpp>
#include <com/sun/star/document/XUndoAction.hpp>
-
-// header for define RET_OK
#include <vcl/msgbox.hxx>
-
#include <toolkit/awt/vclxwindow.hxx>
#include <toolkit/helper/vclunohelper.hxx>
#include <vcl/svapp.hxx>
diff --git a/chart2/source/controller/main/ChartController_EditData.cxx b/chart2/source/controller/main/ChartController_EditData.cxx
index ec72c7c912f1..c87f1678318a 100644
--- a/chart2/source/controller/main/ChartController_EditData.cxx
+++ b/chart2/source/controller/main/ChartController_EditData.cxx
@@ -28,7 +28,6 @@
#include "ResId.hxx"
#include "Strings.hrc"
-// for RET_OK
#include <vcl/msgbox.hxx>
#include <vcl/svapp.hxx>
#include <osl/mutex.hxx>
diff --git a/chart2/source/controller/main/ChartController_Insert.cxx b/chart2/source/controller/main/ChartController_Insert.cxx
index ea435b650227..dff59c8d33ee 100644
--- a/chart2/source/controller/main/ChartController_Insert.cxx
+++ b/chart2/source/controller/main/ChartController_Insert.cxx
@@ -55,13 +55,9 @@
#include <com/sun/star/chart/ErrorBarStyle.hpp>
#include <svx/ActionDescriptionProvider.hxx>
-// header for define RET_OK
#include <vcl/msgbox.hxx>
-// header for class OUStringBuffer
#include <rtl/ustrbuf.hxx>
-// header for class Application
#include <vcl/svapp.hxx>
-// header for class ::vos::OGuard
#include <osl/mutex.hxx>
using namespace ::com::sun::star;
diff --git a/chart2/source/controller/main/ChartController_Position.cxx b/chart2/source/controller/main/ChartController_Position.cxx
index e77fa95d5155..f83a149a3a96 100644
--- a/chart2/source/controller/main/ChartController_Position.cxx
+++ b/chart2/source/controller/main/ChartController_Position.cxx
@@ -32,7 +32,6 @@
#include "CommonConverters.hxx"
#include <svx/ActionDescriptionProvider.hxx>
-// header for define RET_OK
#include <vcl/msgbox.hxx>
#include <svx/svxids.hrc>
#include <svx/rectenum.hxx>
diff --git a/chart2/source/controller/main/ChartController_Properties.cxx b/chart2/source/controller/main/ChartController_Properties.cxx
index 5c05794cd932..dd2e0fa3070c 100644
--- a/chart2/source/controller/main/ChartController_Properties.cxx
+++ b/chart2/source/controller/main/ChartController_Properties.cxx
@@ -52,12 +52,9 @@
#include "RegressionCurveHelper.hxx"
#include <com/sun/star/chart2/XChartDocument.hpp>
-//for auto_ptr
#include <memory>
-// header for define RET_OK
#include <vcl/msgbox.hxx>
-// for SolarMutex
#include <vcl/svapp.hxx>
#include <osl/mutex.hxx>
#include <svx/ActionDescriptionProvider.hxx>
diff --git a/chart2/source/controller/main/ChartController_TextEdit.cxx b/chart2/source/controller/main/ChartController_TextEdit.cxx
index 729c816116b2..c9ae4572ffb9 100644
--- a/chart2/source/controller/main/ChartController_TextEdit.cxx
+++ b/chart2/source/controller/main/ChartController_TextEdit.cxx
@@ -32,10 +32,7 @@
#include "chartview/DrawModelWrapper.hxx"
#include <svx/svdotext.hxx>
-
-// header for define RET_OK
#include <vcl/msgbox.hxx>
-// header for class SdrOutliner
#include <svx/svdoutl.hxx>
#include <svx/svxdlg.hxx>
#include <svx/dialogs.hrc>
diff --git a/chart2/source/controller/main/ChartController_Tools.cxx b/chart2/source/controller/main/ChartController_Tools.cxx
index 1fbd1760b793..ff616975c7e1 100644
--- a/chart2/source/controller/main/ChartController_Tools.cxx
+++ b/chart2/source/controller/main/ChartController_Tools.cxx
@@ -52,24 +52,16 @@
#include <com/sun/star/chart/ErrorBarStyle.hpp>
#include <svx/ActionDescriptionProvider.hxx>
-// for TransferableDataHelper/TransferableHelper
#include <svtools/transfer.hxx>
-// for SotStorageStreamRef
#include <sot/storage.hxx>
-// for Graphic
#include <vcl/graph.hxx>
-// for SvxDrawingLayerImport/SvxUnoDrawingModel
#include <svx/unomodel.hxx>
-// for SdrModel
#include <svx/svdmodel.hxx>
-// for OInputStreamWrapper
#include <unotools/streamwrap.hxx>
-// for SolarMutex
#include <vcl/svapp.hxx>
#include <osl/mutex.hxx>
#include <svx/dialmgr.hxx>
#include <svx/dialogs.hrc>
-// for OutlinerView
#include <editeng/outliner.hxx>
#include <svx/svditer.hxx>
#include <svx/svdpage.hxx>
diff --git a/chart2/source/controller/main/ChartController_Window.cxx b/chart2/source/controller/main/ChartController_Window.cxx
index aded435f7e4a..a60f172b3018 100644
--- a/chart2/source/controller/main/ChartController_Window.cxx
+++ b/chart2/source/controller/main/ChartController_Window.cxx
@@ -62,19 +62,13 @@
#include <svx/svxids.hrc>
#include <svx/ActionDescriptionProvider.hxx>
-// header for class E3dObject
#include <svx/obj3d.hxx>
-// header for class E3dScene
#include <svx/scene3d.hxx>
-// header for class SdrDragMethod
#include <svx/svddrgmt.hxx>
#include <vcl/svapp.hxx>
#include <vcl/settings.hxx>
#include <osl/mutex.hxx>
-
-// for InfoBox
#include <vcl/msgbox.hxx>
-
#include <rtl/math.hxx>
#include <svtools/acceleratorexecute.hxx>
diff --git a/chart2/source/controller/main/ChartDropTargetHelper.hxx b/chart2/source/controller/main/ChartDropTargetHelper.hxx
index fca3b8715c39..cbb99342da53 100644
--- a/chart2/source/controller/main/ChartDropTargetHelper.hxx
+++ b/chart2/source/controller/main/ChartDropTargetHelper.hxx
@@ -19,7 +19,6 @@
#ifndef INCLUDED_CHART2_SOURCE_CONTROLLER_MAIN_CHARTDROPTARGETHELPER_HXX
#define INCLUDED_CHART2_SOURCE_CONTROLLER_MAIN_CHARTDROPTARGETHELPER_HXX
-// for DropTargetHelper
#include <svtools/transfer.hxx>
namespace com { namespace sun { namespace star {
diff --git a/chart2/source/controller/main/ChartTransferable.cxx b/chart2/source/controller/main/ChartTransferable.cxx
index a04d755655e6..20f46ac7d2ca 100644
--- a/chart2/source/controller/main/ChartTransferable.cxx
+++ b/chart2/source/controller/main/ChartTransferable.cxx
@@ -28,8 +28,6 @@
#include <svx/svdmodel.hxx>
#include <svx/svdpage.hxx>
#include <svx/unomodel.hxx>
-
-// header for class SdrView
#include <svx/svdview.hxx>
#define CHARTTRANSFER_OBJECTTYPE_DRAWMODEL 1
diff --git a/chart2/source/controller/main/ConfigurationAccess.cxx b/chart2/source/controller/main/ConfigurationAccess.cxx
index 96c13df4de27..50f638a31358 100644
--- a/chart2/source/controller/main/ConfigurationAccess.cxx
+++ b/chart2/source/controller/main/ConfigurationAccess.cxx
@@ -20,11 +20,8 @@
#include "ConfigurationAccess.hxx"
#include "macros.hxx"
-// header for class SvtSysLocale
#include <unotools/syslocale.hxx>
-// header for class ConfigItem
#include <unotools/configitem.hxx>
-// header for rtl::Static
#include <rtl/instance.hxx>
namespace chart
diff --git a/chart2/source/controller/main/DragMethod_Base.cxx b/chart2/source/controller/main/DragMethod_Base.cxx
index 6da22f590ab7..f0213a97956a 100644
--- a/chart2/source/controller/main/DragMethod_Base.cxx
+++ b/chart2/source/controller/main/DragMethod_Base.cxx
@@ -24,8 +24,8 @@
#include "macros.hxx"
#include "ObjectNameProvider.hxx"
#include "ObjectIdentifier.hxx"
+
#include <rtl/math.hxx>
-//header for class SdrPageView
#include <svx/svdpagv.hxx>
#include <svx/ActionDescriptionProvider.hxx>
#include <com/sun/star/beans/XPropertySet.hpp>
diff --git a/chart2/source/controller/main/DragMethod_Base.hxx b/chart2/source/controller/main/DragMethod_Base.hxx
index dbc33d17b947..a068a0134d82 100644
--- a/chart2/source/controller/main/DragMethod_Base.hxx
+++ b/chart2/source/controller/main/DragMethod_Base.hxx
@@ -21,10 +21,7 @@
#include "DrawViewWrapper.hxx"
#include <svx/ActionDescriptionProvider.hxx>
-// header for class SdrDragMethod
#include <svx/svddrgmt.hxx>
-
-// header for class WeakReference
#include <cppuhelper/weakref.hxx>
namespace chart
diff --git a/chart2/source/controller/main/DragMethod_RotateDiagram.cxx b/chart2/source/controller/main/DragMethod_RotateDiagram.cxx
index 9daa3dbee01b..eb0ea6053a65 100644
--- a/chart2/source/controller/main/DragMethod_RotateDiagram.cxx
+++ b/chart2/source/controller/main/DragMethod_RotateDiagram.cxx
@@ -30,7 +30,6 @@
#include <svx/sdr/overlay/overlaypolypolygon.hxx>
#include <svx/sdr/overlay/overlaymanager.hxx>
-// header for class E3dScene
#include <svx/scene3d.hxx>
#include <basegfx/matrix/b3dhommatrix.hxx>
#include <com/sun/star/beans/XPropertySet.hpp>
diff --git a/chart2/source/controller/main/DragMethod_RotateDiagram.hxx b/chart2/source/controller/main/DragMethod_RotateDiagram.hxx
index 98825dfea7f2..919fec0c8388 100644
--- a/chart2/source/controller/main/DragMethod_RotateDiagram.hxx
+++ b/chart2/source/controller/main/DragMethod_RotateDiagram.hxx
@@ -21,7 +21,6 @@
#include "DragMethod_Base.hxx"
-// header for class ::basegfx::B3DPolyPolygon
#include <basegfx/polygon/b3dpolypolygon.hxx>
namespace chart
diff --git a/chart2/source/controller/main/PositionAndSizeHelper.cxx b/chart2/source/controller/main/PositionAndSizeHelper.cxx
index 7b7f255009f5..5283348379cc 100644
--- a/chart2/source/controller/main/PositionAndSizeHelper.cxx
+++ b/chart2/source/controller/main/PositionAndSizeHelper.cxx
@@ -27,7 +27,6 @@
#include <com/sun/star/chart2/RelativeSize.hpp>
#include "chartview/ExplicitValueProvider.hxx"
-// header for class Rectangle
#include <tools/gen.hxx>
#include <com/sun/star/beans/XPropertySet.hpp>
diff --git a/chart2/source/controller/main/SelectionHelper.cxx b/chart2/source/controller/main/SelectionHelper.cxx
index cb264ea022dc..486f5a6d4ff4 100644
--- a/chart2/source/controller/main/SelectionHelper.cxx
+++ b/chart2/source/controller/main/SelectionHelper.cxx
@@ -23,11 +23,9 @@
#include "DiagramHelper.hxx"
#include "ChartModelHelper.hxx"
-// header for class SdrObjList
#include <svx/svdpage.hxx>
#include <svx/svditer.hxx>
#include "svx/obj3d.hxx"
-// header for class SdrPathObj
#include <svx/svdopath.hxx>
#include <vcl/svapp.hxx>
#include <osl/mutex.hxx>
diff --git a/chart2/source/controller/main/SelectionHelper.hxx b/chart2/source/controller/main/SelectionHelper.hxx
index 3a57622a433c..9a5f56534e3f 100644
--- a/chart2/source/controller/main/SelectionHelper.hxx
+++ b/chart2/source/controller/main/SelectionHelper.hxx
@@ -23,7 +23,6 @@
#include "ObjectIdentifier.hxx"
class SdrObject;
-// header for enum SdrDragMode
#include <svx/svdtypes.hxx>
#include <com/sun/star/drawing/XShape.hpp>
diff --git a/chart2/source/controller/main/UndoCommandDispatch.cxx b/chart2/source/controller/main/UndoCommandDispatch.cxx
index 09ca819723e5..88e700aaa6c0 100644
--- a/chart2/source/controller/main/UndoCommandDispatch.cxx
+++ b/chart2/source/controller/main/UndoCommandDispatch.cxx
@@ -28,7 +28,6 @@
#include <vcl/svapp.hxx>
#include <tools/diagnose_ex.h>
-// for resource strings STR_UNDO and STR_REDO
#include <svtools/svtools.hrc>
#include <svtools/svtresid.hxx>
diff --git a/chart2/source/inc/LegendHelper.hxx b/chart2/source/inc/LegendHelper.hxx
index e30297c42b6f..daed6775a397 100644
--- a/chart2/source/inc/LegendHelper.hxx
+++ b/chart2/source/inc/LegendHelper.hxx
@@ -19,7 +19,6 @@
#ifndef INCLUDED_CHART2_SOURCE_INC_LEGENDHELPER_HXX
#define INCLUDED_CHART2_SOURCE_INC_LEGENDHELPER_HXX
-// header for class OUString
#include <rtl/ustring.hxx>
#include <com/sun/star/chart2/XLegend.hpp>
#include <com/sun/star/chart2/XDiagram.hpp>
diff --git a/chart2/source/inc/ModifyListenerCallBack.hxx b/chart2/source/inc/ModifyListenerCallBack.hxx
index 8e2b7901f7c6..de6412cd274a 100644
--- a/chart2/source/inc/ModifyListenerCallBack.hxx
+++ b/chart2/source/inc/ModifyListenerCallBack.hxx
@@ -20,7 +20,6 @@
#ifndef INCLUDED_CHART2_SOURCE_INC_MODIFYLISTENERCALLBACK_HXX
#define INCLUDED_CHART2_SOURCE_INC_MODIFYLISTENERCALLBACK_HXX
-// header for class Link
#include <tools/link.hxx>
#include <com/sun/star/util/XModifyBroadcaster.hpp>
#include <com/sun/star/util/XModifyListener.hpp>
diff --git a/chart2/source/inc/ObjectIdentifier.hxx b/chart2/source/inc/ObjectIdentifier.hxx
index 01809de9d128..d30a00df8a2b 100644
--- a/chart2/source/inc/ObjectIdentifier.hxx
+++ b/chart2/source/inc/ObjectIdentifier.hxx
@@ -28,7 +28,6 @@
#include "charttoolsdllapi.hxx"
#include "ChartModel.hxx"
-// header for class OUString
#include <rtl/ustring.hxx>
#include <com/sun/star/frame/XModel.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
diff --git a/chart2/source/inc/WrappedPropertySet.hxx b/chart2/source/inc/WrappedPropertySet.hxx
index 5fa0d634b737..e3b144682f26 100644
--- a/chart2/source/inc/WrappedPropertySet.hxx
+++ b/chart2/source/inc/WrappedPropertySet.hxx
@@ -28,8 +28,6 @@
#include <com/sun/star/beans/XPropertyState.hpp>
#include <com/sun/star/beans/Property.hpp>
#include <cppuhelper/implbase4.hxx>
-
-// header for class OPropertyArrayHelper, OMultiTypeInterfaceContainerHelperInt32
#include <cppuhelper/propshlp.hxx>
#include <vector>
diff --git a/chart2/source/inc/chartview/DrawModelWrapper.hxx b/chart2/source/inc/chartview/DrawModelWrapper.hxx
index 4d13598946f7..986a6b993eb8 100644
--- a/chart2/source/inc/chartview/DrawModelWrapper.hxx
+++ b/chart2/source/inc/chartview/DrawModelWrapper.hxx
@@ -19,12 +19,9 @@
#ifndef INCLUDED_CHART2_SOURCE_INC_CHARTVIEW_DRAWMODELWRAPPER_HXX
#define INCLUDED_CHART2_SOURCE_INC_CHARTVIEW_DRAWMODELWRAPPER_HXX
-
#include <svx/svdmodel.hxx>
-// header for class SdrObject
#include <svx/svdobj.hxx>
-
#include <com/sun/star/frame/XModel.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/drawing/XDrawPage.hpp>
diff --git a/chart2/source/model/filter/XMLFilter.cxx b/chart2/source/model/filter/XMLFilter.cxx
index 237c4e8388ca..f459bc938ef5 100644
--- a/chart2/source/model/filter/XMLFilter.cxx
+++ b/chart2/source/model/filter/XMLFilter.cxx
@@ -22,17 +22,12 @@
#include "MediaDescriptorHelper.hxx"
#include "ContainerHelper.hxx"
-// for ERRCODE_SFX_GENERAL etc.
-// header contains only macros
#include <svtools/sfxecode.hxx>
-// header for class SvtSaveOptions
#include <unotools/saveopt.hxx>
#include <comphelper/genericpropertyset.hxx>
-// header for struct PropertyMapEntry
#include <comphelper/propertysetinfo.hxx>
#include <comphelper/documentconstants.hxx>
-// header for class SotStorage
#include <sot/storage.hxx>
#include <com/sun/star/beans/NamedValue.hpp>
#include <com/sun/star/beans/PropertyAttribute.hpp>
diff --git a/chart2/source/model/inc/XMLFilter.hxx b/chart2/source/model/inc/XMLFilter.hxx
index 500e6be86dbf..ad316d0c92b6 100644
--- a/chart2/source/model/inc/XMLFilter.hxx
+++ b/chart2/source/model/inc/XMLFilter.hxx
@@ -30,7 +30,6 @@
#include <com/sun/star/xml/sax/XWriter.hpp>
#include <osl/mutex.hxx>
-// for APPHELPER_... macros
#include "ServiceMacros.hxx"
namespace com { namespace sun { namespace star {
diff --git a/chart2/source/model/main/ChartModel.cxx b/chart2/source/model/main/ChartModel.cxx
index 8468ecf71574..1b725ac05afc 100644
--- a/chart2/source/model/main/ChartModel.cxx
+++ b/chart2/source/model/main/ChartModel.cxx
@@ -38,7 +38,6 @@
#include <comphelper/InlineContainer.hxx>
#include <comphelper/processfactory.hxx>
-// header for class SvNumberFormatsSupplierObj
#include <svl/numuno.hxx>
#include <com/sun/star/lang/DisposedException.hpp>
#include <com/sun/star/lang/XInitialization.hpp>
@@ -60,7 +59,6 @@
#include <com/sun/star/document/DocumentProperties.hpp>
#include <com/sun/star/chart2/XTimeBased.hpp>
-// header for class SvNumberFormatter
#include <svl/zforlist.hxx>
using ::com::sun::star::uno::Sequence;
diff --git a/chart2/source/tools/AxisHelper.cxx b/chart2/source/tools/AxisHelper.cxx
index 600109454ec7..d5e6db4032a4 100644
--- a/chart2/source/tools/AxisHelper.cxx
+++ b/chart2/source/tools/AxisHelper.cxx
@@ -39,7 +39,6 @@
#include <com/sun/star/chart2/XDataSeriesContainer.hpp>
#include <com/sun/star/chart2/data/XDataSource.hpp>
-// header for class OUStringBuffer
#include <rtl/ustrbuf.hxx>
#include <rtl/math.hxx>
diff --git a/chart2/source/tools/CharacterProperties.cxx b/chart2/source/tools/CharacterProperties.cxx
index 5aac56053fdb..2918d6061f2a 100644
--- a/chart2/source/tools/CharacterProperties.cxx
+++ b/chart2/source/tools/CharacterProperties.cxx
@@ -41,7 +41,6 @@
#include <comphelper/InlineContainer.hxx>
-// header for struct SvtLinguConfig
#include <unotools/lingucfg.hxx>
#include <i18nlangtag/mslangid.hxx>
#include <i18nlangtag/languagetag.hxx>
diff --git a/chart2/source/tools/DiagramHelper.cxx b/chart2/source/tools/DiagramHelper.cxx
index 8d853cc6501b..27d3c7c3fb0b 100644
--- a/chart2/source/tools/DiagramHelper.cxx
+++ b/chart2/source/tools/DiagramHelper.cxx
@@ -55,7 +55,6 @@
#include <unotools/saveopt.hxx>
#include <rtl/math.hxx>
#include <svl/zformat.hxx>
-// header for class Application
#include <vcl/svapp.hxx>
#include <vcl/settings.hxx>
diff --git a/chart2/source/tools/NumberFormatterWrapper.cxx b/chart2/source/tools/NumberFormatterWrapper.cxx
index f543f27528b1..cef25c27f133 100644
--- a/chart2/source/tools/NumberFormatterWrapper.cxx
+++ b/chart2/source/tools/NumberFormatterWrapper.cxx
@@ -20,9 +20,7 @@
#include "NumberFormatterWrapper.hxx"
#include "macros.hxx"
#include <comphelper/processfactory.hxx>
-// header for class SvNumberFormatsSupplierObj
#include <svl/numuno.hxx>
-// header for class SvNumberformat
#include <svl/zformat.hxx>
#include <tools/color.hxx>
#include <i18nlangtag/mslangid.hxx>
diff --git a/chart2/source/tools/ObjectIdentifier.cxx b/chart2/source/tools/ObjectIdentifier.cxx
index fcad9f0a5e90..c681b86db1c6 100644
--- a/chart2/source/tools/ObjectIdentifier.cxx
+++ b/chart2/source/tools/ObjectIdentifier.cxx
@@ -32,7 +32,6 @@
#include <com/sun/star/chart2/XAxis.hpp>
#include <com/sun/star/chart2/XRegressionCurveContainer.hpp>
-// header for define DBG_ASSERT
#include <tools/debug.hxx>
#include <comphelper/InlineContainer.hxx>
diff --git a/chart2/source/tools/WrappedPropertySet.cxx b/chart2/source/tools/WrappedPropertySet.cxx
index 86c4195003e2..4ef8e8738279 100644
--- a/chart2/source/tools/WrappedPropertySet.cxx
+++ b/chart2/source/tools/WrappedPropertySet.cxx
@@ -20,7 +20,6 @@
#include "WrappedPropertySet.hxx"
#include "macros.hxx"
-// header for define DELETEZ
#include <tools/solar.h>
namespace chart
diff --git a/chart2/source/view/charttypes/VSeriesPlotter.cxx b/chart2/source/view/charttypes/VSeriesPlotter.cxx
index 0aaf1999c836..c686911ed120 100644
--- a/chart2/source/view/charttypes/VSeriesPlotter.cxx
+++ b/chart2/source/view/charttypes/VSeriesPlotter.cxx
@@ -59,7 +59,6 @@
#include <com/sun/star/chart2/RelativePosition.hpp>
#include <editeng/unoprnms.hxx>
#include <tools/color.hxx>
-// header for class OUStringBuffer
#include <rtl/ustrbuf.hxx>
#include <rtl/math.hxx>
#include <basegfx/vector/b2dvector.hxx>
diff --git a/chart2/source/view/diagram/VDiagram.cxx b/chart2/source/view/diagram/VDiagram.cxx
index 966100b25d94..e04418c16092 100644
--- a/chart2/source/view/diagram/VDiagram.cxx
+++ b/chart2/source/view/diagram/VDiagram.cxx
@@ -36,9 +36,7 @@
#include <com/sun/star/drawing/ShadeMode.hpp>
#include <com/sun/star/lang/XUnoTunnel.hpp>
#include <com/sun/star/lang/XTypeProvider.hpp>
-// header for class SvxShape
#include <svx/unoshape.hxx>
-// header for class E3dScene
#include <svx/scene3d.hxx>
#include <svx/e3dsceneupdater.hxx>
diff --git a/chart2/source/view/main/ChartView.cxx b/chart2/source/view/main/ChartView.cxx
index c530354a5907..8bb5b2f45dda 100644
--- a/chart2/source/view/main/ChartView.cxx
+++ b/chart2/source/view/main/ChartView.cxx
@@ -58,15 +58,10 @@
#include <comphelper/servicehelper.hxx>
#include <boost/bind.hpp>
#include <unotools/streamwrap.hxx>
-// header for class LocaleDataWrapper
#include <unotools/localedatawrapper.hxx>
-// header for class SdrPage
#include <svx/svdpage.hxx>
-// header for class SvxDrawPage
#include <svx/unopage.hxx>
-// header for class SvxShape
#include <svx/unoshape.hxx>
-// header for class Application
#include <vcl/svapp.hxx>
#include <osl/mutex.hxx>
#include <svx/unofill.hxx>
diff --git a/chart2/source/view/main/DrawModelWrapper.cxx b/chart2/source/view/main/DrawModelWrapper.cxx
index 6d6954cb22ef..7b5d0a1f2417 100644
--- a/chart2/source/view/main/DrawModelWrapper.cxx
+++ b/chart2/source/view/main/DrawModelWrapper.cxx
@@ -24,29 +24,17 @@
#include "ObjectIdentifier.hxx"
#include <svx/unomodel.hxx>
#include <svl/itempool.hxx>
-// header for class SfxBoolItem
#include <svl/eitem.hxx>
-// header for define EE_PARA_HYPHENATE
#include <editeng/eeitem.hxx>
-// header for class Svx3DPercentDiagonalItem
#include <svx/svx3ditems.hxx>
-// header for class SvtPathOptions
#include <unotools/pathoptions.hxx>
-// header E3dObjFactory
#include <svx/objfac3d.hxx>
-// header for class SdrObjList
#include <svx/svdpage.hxx>
-// header for SvxUnoXDashTable_createInstance
#include <svx/XPropertyTable.hxx>
-// header for class XDashList
#include <svx/xtable.hxx>
-// header for class SdrOutliner
#include <svx/svdoutl.hxx>
-// header for class LinguMgr
#include <editeng/unolingu.hxx>
-// header for class Application
#include <vcl/svapp.hxx>
-// header for class VirtualDevice
#include <vcl/virdev.hxx>
#include <com/sun/star/container/XChild.hpp>
diff --git a/connectivity/qa/connectivity/ado/DriverTest.cxx b/connectivity/qa/connectivity/ado/DriverTest.cxx
index 82c63b698515..80753fa31745 100644
--- a/connectivity/qa/connectivity/ado/DriverTest.cxx
+++ b/connectivity/qa/connectivity/ado/DriverTest.cxx
@@ -9,10 +9,6 @@
#include <test/bootstrapfixture.hxx>
-//#include "ado/ADriver.hxx"
-//#include "ado/AConnection.hxx"
-//#include <com/sun/star/sdbc/XDriver.hpp>
-
#include "ado/AConnection.hxx"
#include "ado/ADatabaseMetaData.hxx"
#include "ado/ADriver.hxx"
diff --git a/connectivity/source/manager/mdrivermanager.hxx b/connectivity/source/manager/mdrivermanager.hxx
index 8f560a4953ba..6d41d0a67999 100644
--- a/connectivity/source/manager/mdrivermanager.hxx
+++ b/connectivity/source/manager/mdrivermanager.hxx
@@ -30,7 +30,6 @@
#include <com/sun/star/uno/XNamingService.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/sdbc/XDriverAccess.hpp>
-//#include <com/sun/star/lang/XSingleServiceFactory.hpp>
#include <com/sun/star/lang/XSingleComponentFactory.hpp>
#include <cppuhelper/implbase3.hxx>
diff --git a/cui/source/inc/transfrm.hxx b/cui/source/inc/transfrm.hxx
index 8ba9af123695..d97856e1dfe1 100644
--- a/cui/source/inc/transfrm.hxx
+++ b/cui/source/inc/transfrm.hxx
@@ -24,7 +24,6 @@
#include <vcl/fixed.hxx>
-// #i75273#
#include <basegfx/range/b2drange.hxx>
// predefines
diff --git a/cui/source/options/cfgchart.hxx b/cui/source/options/cfgchart.hxx
index 134661abc4bd..0a0ad216304d 100644
--- a/cui/source/options/cfgchart.hxx
+++ b/cui/source/options/cfgchart.hxx
@@ -20,13 +20,9 @@
#ifndef INCLUDED_CUI_SOURCE_OPTIONS_CFGCHART_HXX
#define INCLUDED_CUI_SOURCE_OPTIONS_CFGCHART_HXX
-// header for TYPEINFO
#include <tools/rtti.hxx>
-// header for ConfigItem
#include <unotools/configitem.hxx>
-// header for SfxPoolItem
#include <svl/poolitem.hxx>
-// header for XColorEntry
#include <svx/xtable.hxx>
#include <vector>
diff --git a/cui/source/options/optchart.hxx b/cui/source/options/optchart.hxx
index b15926782ef9..5590d5ae1a95 100644
--- a/cui/source/options/optchart.hxx
+++ b/cui/source/options/optchart.hxx
@@ -20,16 +20,11 @@
#ifndef INCLUDED_CUI_SOURCE_OPTIONS_OPTCHART_HXX
#define INCLUDED_CUI_SOURCE_OPTIONS_OPTCHART_HXX
-// header for SfxTabPage
#include <sfx2/tabdlg.hxx>
#include <vcl/fixed.hxx>
-// header for ValueSet
#include <svtools/valueset.hxx>
-// header for ColorLB
#include <svx/dlgctrl.hxx>
-// header for PushButton
#include <vcl/button.hxx>
-// header for XColorList
#include <svx/xtable.hxx>
#include "cfgchart.hxx"
diff --git a/cui/source/options/optinet2.cxx b/cui/source/options/optinet2.cxx
index 653c6038586a..d151e2f8b8e5 100644
--- a/cui/source/options/optinet2.cxx
+++ b/cui/source/options/optinet2.cxx
@@ -52,7 +52,6 @@
#include <sfx2/htmlmode.hxx>
#include <svx/svxids.hrc>
-// for security TP
#include <com/sun/star/security/DocumentDigitalSignatures.hpp>
#ifdef UNX
diff --git a/cui/source/tabpages/page.cxx b/cui/source/tabpages/page.cxx
index 24c2edc41c16..7484ea02c8e3 100644
--- a/cui/source/tabpages/page.cxx
+++ b/cui/source/tabpages/page.cxx
@@ -50,8 +50,6 @@
#include <editeng/eerdll.hxx>
#include <editeng/editrids.hrc>
#include <svx/svxids.hrc>
-
-// #i4219#
#include <svtools/optionsdrawinglayer.hxx>
#include <svl/slstitm.hxx>
#include <svl/aeitem.hxx>
diff --git a/dbaccess/source/ui/misc/linkeddocuments.cxx b/dbaccess/source/ui/misc/linkeddocuments.cxx
index 4ead10d78709..e3bff76e76f8 100644
--- a/dbaccess/source/ui/misc/linkeddocuments.cxx
+++ b/dbaccess/source/ui/misc/linkeddocuments.cxx
@@ -43,7 +43,6 @@
#include "browserids.hxx"
#include <sfx2/new.hxx>
#include "moduledbu.hxx"
-// for calling basic
#include <sfx2/app.hxx>
#include <basic/sbx.hxx>
#include <basic/sbuno.hxx>
diff --git a/desktop/source/splash/unxsplash.cxx b/desktop/source/splash/unxsplash.cxx
index c084b2f3c484..0673286047cb 100644
--- a/desktop/source/splash/unxsplash.cxx
+++ b/desktop/source/splash/unxsplash.cxx
@@ -20,7 +20,6 @@
#include "unxsplash.hxx"
#include <stdio.h>
#include <osl/process.h>
-//#include <com/sun/star/registry/XRegistryKey.hpp>
#include <cppuhelper/implementationentry.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <rtl/ustrbuf.hxx>
diff --git a/embeddedobj/source/msole/olevisual.cxx b/embeddedobj/source/msole/olevisual.cxx
index 76ed05d89036..b50c031c01e0 100644
--- a/embeddedobj/source/msole/olevisual.cxx
+++ b/embeddedobj/source/msole/olevisual.cxx
@@ -26,7 +26,6 @@
#include <com/sun/star/embed/NoVisualAreaSizeException.hpp>
#include <oleembobj.hxx>
-//#include <olecomponent.hxx>
#include <comphelper/mimeconfighelper.hxx>
#include <comphelper/seqstream.hxx>
diff --git a/extensions/source/scanner/grid.cxx b/extensions/source/scanner/grid.cxx
index 8f12b0643372..34e1f5e360c1 100644
--- a/extensions/source/scanner/grid.cxx
+++ b/extensions/source/scanner/grid.cxx
@@ -27,7 +27,6 @@
#include <grid.hxx>
-// for ::std::sort
#include <algorithm>
#include <boost/scoped_array.hpp>
diff --git a/filter/source/flash/swfwriter.hxx b/filter/source/flash/swfwriter.hxx
index 9cac13176456..c65388feda4b 100644
--- a/filter/source/flash/swfwriter.hxx
+++ b/filter/source/flash/swfwriter.hxx
@@ -30,8 +30,6 @@
#include <tools/poly.hxx>
#include <tools/gen.hxx>
#include <tools/stream.hxx>
-
-// #i73264#
#include <basegfx/matrix/b2dhommatrix.hxx>
#include <osl/file.hxx>
diff --git a/include/comphelper/scoped_disposing_ptr.hxx b/include/comphelper/scoped_disposing_ptr.hxx
index 033307b56de5..ff249ab23fa3 100644
--- a/include/comphelper/scoped_disposing_ptr.hxx
+++ b/include/comphelper/scoped_disposing_ptr.hxx
@@ -17,7 +17,6 @@
#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/frame/XDesktop.hpp>
-// for locking SolarMutex: svapp + mutex
#include <vcl/svapp.hxx>
#include <osl/mutex.hxx>
diff --git a/include/svx/ActionDescriptionProvider.hxx b/include/svx/ActionDescriptionProvider.hxx
index bacbe7e8d733..3dc39feb4dc9 100644
--- a/include/svx/ActionDescriptionProvider.hxx
+++ b/include/svx/ActionDescriptionProvider.hxx
@@ -22,7 +22,6 @@
#include <svx/svxdllapi.h>
-// header for class OUString
#include <rtl/ustring.hxx>
diff --git a/include/svx/formatpaintbrushctrl.hxx b/include/svx/formatpaintbrushctrl.hxx
index d5d47c0ba6ab..8760cf867d8a 100644
--- a/include/svx/formatpaintbrushctrl.hxx
+++ b/include/svx/formatpaintbrushctrl.hxx
@@ -20,9 +20,7 @@
#ifndef INCLUDED_SVX_FORMATPAINTBRUSHCTRL_HXX
#define INCLUDED_SVX_FORMATPAINTBRUSHCTRL_HXX
-// header for class SfxToolBoxControl
#include <sfx2/tbxctrl.hxx>
-// header for class Timer
#include <vcl/timer.hxx>
#include <svx/svxdllapi.h>
diff --git a/include/vcl/IconThemeInfo.hxx b/include/vcl/IconThemeInfo.hxx
index 3e1cc3078f6c..8d9c0e345a16 100644
--- a/include/vcl/IconThemeInfo.hxx
+++ b/include/vcl/IconThemeInfo.hxx
@@ -11,7 +11,6 @@
#define INCLUDED_VCL_ICONTHEMEINFO_HXX
#include <vcl/dllapi.h>
-// for Size
#include <tools/gen.hxx>
#include <rtl/ustring.hxx>
diff --git a/include/vcl/slider.hxx b/include/vcl/slider.hxx
index 92b2a56f1f94..b0ce5303110d 100644
--- a/include/vcl/slider.hxx
+++ b/include/vcl/slider.hxx
@@ -22,7 +22,6 @@
#include <vcl/dllapi.h>
#include <vcl/ctrl.hxx>
-// for enum ScrollType
#include <vcl/scrbar.hxx>
class VCL_DLLPUBLIC Slider : public Control
diff --git a/include/xmloff/xmlerror.hxx b/include/xmloff/xmlerror.hxx
index baf5e6ace42b..8b621192a821 100644
--- a/include/xmloff/xmlerror.hxx
+++ b/include/xmloff/xmlerror.hxx
@@ -23,7 +23,6 @@
#include <com/sun/star/xml/sax/SAXParseException.hpp>
#include <sal/types.h>
-// STL includes
#include <vector>
diff --git a/reportdesign/source/filter/xml/xmlExport.cxx b/reportdesign/source/filter/xml/xmlExport.cxx
index 1b6eebbdc2d2..7944be61f6fa 100644
--- a/reportdesign/source/filter/xml/xmlExport.cxx
+++ b/reportdesign/source/filter/xml/xmlExport.cxx
@@ -52,7 +52,6 @@
#include <com/sun/star/report/XFixedLine.hpp>
#include <com/sun/star/frame/XController.hpp>
#include "RptDef.hxx"
-// for locking SolarMutex: svapp + mutex
#include <vcl/svapp.hxx>
#include <osl/mutex.hxx>
#include <sal/macros.h>
diff --git a/sal/qa/osl/security/osl_Security.cxx b/sal/qa/osl/security/osl_Security.cxx
index 15089c3c5a6b..b675ab15058f 100644
--- a/sal/qa/osl/security/osl_Security.cxx
+++ b/sal/qa/osl/security/osl_Security.cxx
@@ -17,8 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-// header file
-
#ifdef WNT
#include <windows.h>
#undef min
diff --git a/sc/source/filter/excel/colrowst.cxx b/sc/source/filter/excel/colrowst.cxx
index c048ab86802c..cc447e2abba6 100644
--- a/sc/source/filter/excel/colrowst.cxx
+++ b/sc/source/filter/excel/colrowst.cxx
@@ -28,8 +28,6 @@
#include "xistream.hxx"
#include "xistyle.hxx"
#include "queryparam.hxx"
-
-// for filter manager
#include "excimp8.hxx"
const sal_uInt8 EXC_COLROW_USED = 0x01;
diff --git a/sc/source/filter/excel/xename.cxx b/sc/source/filter/excel/xename.cxx
index ec3916d311fa..005ec4bfab0b 100644
--- a/sc/source/filter/excel/xename.cxx
+++ b/sc/source/filter/excel/xename.cxx
@@ -28,8 +28,6 @@
#include "xehelper.hxx"
#include "xelink.hxx"
#include "globalnames.hxx"
-
-// for filter manager
#include "excrecds.hxx"
#include <formula/grammar.hxx>
diff --git a/sc/source/filter/excel/xiname.cxx b/sc/source/filter/excel/xiname.cxx
index 5defaecdc8f5..0c75adfd41b1 100644
--- a/sc/source/filter/excel/xiname.cxx
+++ b/sc/source/filter/excel/xiname.cxx
@@ -20,10 +20,7 @@
#include "xiname.hxx"
#include "rangenam.hxx"
#include "xistream.hxx"
-
-// for formula compiler
#include "excform.hxx"
-// for filter manager
#include "excimp8.hxx"
#include "scextopt.hxx"
#include "document.hxx"
diff --git a/sc/source/ui/Accessibility/AccessibleCsvControl.cxx b/sc/source/ui/Accessibility/AccessibleCsvControl.cxx
index 698b86518b8a..5fd7c97fbd5e 100644
--- a/sc/source/ui/Accessibility/AccessibleCsvControl.cxx
+++ b/sc/source/ui/Accessibility/AccessibleCsvControl.cxx
@@ -46,7 +46,6 @@
#include <svtools/colorcfg.hxx>
#include <vcl/svapp.hxx>
#include <vcl/settings.hxx>
-// ause
#include "editutil.hxx"
using ::utl::AccessibleRelationSetHelper;
diff --git a/sc/source/ui/app/transobj.cxx b/sc/source/ui/app/transobj.cxx
index 81076c08c643..8b64728804ba 100644
--- a/sc/source/ui/app/transobj.cxx
+++ b/sc/source/ui/app/transobj.cxx
@@ -49,7 +49,6 @@
#include "clipdata.hxx"
#include "clipparam.hxx"
-// for InitDocShell
#include <editeng/paperinf.hxx>
#include <editeng/sizeitem.hxx>
#include <svx/algitem.hxx>
diff --git a/sc/source/ui/app/typemap.cxx b/sc/source/ui/app/typemap.cxx
index c4eb778fc7e0..973d63f1c907 100644
--- a/sc/source/ui/app/typemap.cxx
+++ b/sc/source/ui/app/typemap.cxx
@@ -91,10 +91,7 @@
#include <svx/xlinjoit.hxx>
#include <svx/AffineMatrixItem.hxx>
#include <svx/galleryitem.hxx>
-
-// #i25616#
#include <svx/sdshitm.hxx>
-
#include <svl/aeitem.hxx>
#include <avmedia/mediaitem.hxx>
#include <sfx2/frame.hxx>
diff --git a/sc/source/ui/attrdlg/scdlgfact.cxx b/sc/source/ui/attrdlg/scdlgfact.cxx
index aa730924ad6c..807863c851c3 100644
--- a/sc/source/ui/attrdlg/scdlgfact.cxx
+++ b/sc/source/ui/attrdlg/scdlgfact.cxx
@@ -72,8 +72,6 @@
#include "condformatdlg.hxx"
#include "condformatmgr.hxx"
#include "xmlsourcedlg.hxx"
-
-// ause
#include "editutil.hxx"
IMPL_ABSTDLG_BASE(ScVclAbstractDialog_Impl);
diff --git a/sc/source/ui/dbgui/asciiopt.cxx b/sc/source/ui/dbgui/asciiopt.cxx
index 7c44b239638c..268e1949dbd8 100644
--- a/sc/source/ui/dbgui/asciiopt.cxx
+++ b/sc/source/ui/dbgui/asciiopt.cxx
@@ -26,7 +26,6 @@
#include <osl/thread.h>
#include <rtl/tencinfo.h>
#include <unotools/transliterationwrapper.hxx>
-// ause
#include "editutil.hxx"
static const sal_Char pStrFix[] = "FIX";
diff --git a/sc/source/ui/dbgui/csvtablebox.cxx b/sc/source/ui/dbgui/csvtablebox.cxx
index 8600dec42a06..31e9fc96e414 100644
--- a/sc/source/ui/dbgui/csvtablebox.cxx
+++ b/sc/source/ui/dbgui/csvtablebox.cxx
@@ -21,8 +21,6 @@
#include <vcl/builder.hxx>
#include <vcl/lstbox.hxx>
#include <vcl/settings.hxx>
-
-// ause
#include "editutil.hxx"
ScCsvTableBox::ScCsvTableBox( Window* pParent, WinBits nBits ) :
diff --git a/sc/source/ui/inc/scuitphfedit.hxx b/sc/source/ui/inc/scuitphfedit.hxx
index 53b9e69af09f..f74eaff36945 100644
--- a/sc/source/ui/inc/scuitphfedit.hxx
+++ b/sc/source/ui/inc/scuitphfedit.hxx
@@ -21,7 +21,6 @@
#define INCLUDED_SC_SOURCE_UI_INC_SCUITPHFEDIT_HXX
#include "tphfedit.hxx"
-//#include <boost/graph/graph_concepts.hpp>
enum ScHFEntryId
diff --git a/sc/source/ui/unoobj/funcuno.cxx b/sc/source/ui/unoobj/funcuno.cxx
index 94ab2c2f3af3..2c84f30e9a5e 100644
--- a/sc/source/ui/unoobj/funcuno.cxx
+++ b/sc/source/ui/unoobj/funcuno.cxx
@@ -37,7 +37,6 @@
#include "docoptio.hxx"
#include "optuno.hxx"
#include <docuno.hxx>
-// for lcl_CopyData:
#include "markdata.hxx"
#include "patattr.hxx"
#include "docpool.hxx"
diff --git a/sc/source/ui/view/gridwin4.cxx b/sc/source/ui/view/gridwin4.cxx
index d928cc1fc890..b965c573a0fe 100644
--- a/sc/source/ui/view/gridwin4.cxx
+++ b/sc/source/ui/view/gridwin4.cxx
@@ -61,8 +61,6 @@
#include "markdata.hxx"
#include "sc.hrc"
#include <vcl/virdev.hxx>
-
-// #i74769#
#include <svx/sdrpaintwindow.hxx>
#include <boost/scoped_ptr.hpp>
diff --git a/scripting/source/vbaevents/eventhelper.cxx b/scripting/source/vbaevents/eventhelper.cxx
index 48920fea7911..0a4f35dcc269 100644
--- a/scripting/source/vbaevents/eventhelper.cxx
+++ b/scripting/source/vbaevents/eventhelper.cxx
@@ -67,7 +67,6 @@
#include <filter/msfilter/msvbahelper.hxx>
#include <vbahelper/vbareturntypes.hxx>
-// for debug
#include <comphelper/anytostring.hxx>
#include <com/sun/star/script/XScriptListener.hpp>
diff --git a/sd/source/core/CustomAnimationCloner.cxx b/sd/source/core/CustomAnimationCloner.cxx
index b71f9e7fa913..f4971f675008 100644
--- a/sd/source/core/CustomAnimationCloner.cxx
+++ b/sd/source/core/CustomAnimationCloner.cxx
@@ -42,7 +42,6 @@
#include "rtl/ref.hxx"
#include <animations/animationnodehelper.hxx>
-// header for class SdrObjListIter
#include <svx/svditer.hxx>
#include "CustomAnimationCloner.hxx"
diff --git a/sd/source/filter/ppt/ppt97animations.cxx b/sd/source/filter/ppt/ppt97animations.cxx
index 0134649ef31f..7af1c053a99c 100644
--- a/sd/source/filter/ppt/ppt97animations.cxx
+++ b/sd/source/filter/ppt/ppt97animations.cxx
@@ -20,13 +20,9 @@
#include "ppt97animations.hxx"
-// header for class SdrObject
#include <svx/svdobj.hxx>
-// header for class SdPage
#include "sdpage.hxx"
-// header for define DBG_ERROR
#include <tools/debug.hxx>
-// header for define GetXShapeForSdrObject
#include <svx/unoapi.hxx>
#include "EffectMigration.hxx"
#include <CustomAnimationPreset.hxx>
diff --git a/sd/source/filter/ppt/ppt97animations.hxx b/sd/source/filter/ppt/ppt97animations.hxx
index bf4d438b640f..28be9d386b08 100644
--- a/sd/source/filter/ppt/ppt97animations.hxx
+++ b/sd/source/filter/ppt/ppt97animations.hxx
@@ -20,7 +20,6 @@
#ifndef INCLUDED_SD_SOURCE_FILTER_PPT_PPT97ANIMATIONS_HXX
#define INCLUDED_SD_SOURCE_FILTER_PPT_PPT97ANIMATIONS_HXX
-// header for class SvStream
#include <tools/stream.hxx>
class SdrObject;
diff --git a/sd/source/ui/dlg/animobjs.cxx b/sd/source/ui/dlg/animobjs.cxx
index 59cc9bbbac90..203b53b5c77e 100644
--- a/sd/source/ui/dlg/animobjs.cxx
+++ b/sd/source/ui/dlg/animobjs.cxx
@@ -45,7 +45,6 @@
#include <vcl/svapp.hxx>
#include <vcl/settings.hxx>
-// #i42894#
#include <EffectMigration.hxx>
#include <string>
diff --git a/sd/source/ui/func/fumorph.cxx b/sd/source/ui/func/fumorph.cxx
index faa94e172edc..5a94f8f75c93 100644
--- a/sd/source/ui/func/fumorph.cxx
+++ b/sd/source/ui/func/fumorph.cxx
@@ -40,7 +40,6 @@
#include "sdabstdlg.hxx"
-// #i48168#
#include <svx/svditer.hxx>
#include <basegfx/color/bcolor.hxx>
diff --git a/sd/source/ui/inc/fuformatpaintbrush.hxx b/sd/source/ui/inc/fuformatpaintbrush.hxx
index 061224220e40..1cd122b26111 100644
--- a/sd/source/ui/inc/fuformatpaintbrush.hxx
+++ b/sd/source/ui/inc/fuformatpaintbrush.hxx
@@ -22,7 +22,6 @@
#include "futext.hxx"
-// header for class SfxItemSet
#include <svl/itemset.hxx>
#include <boost/scoped_ptr.hpp>
diff --git a/sd/source/ui/slideshow/slideshowimpl.cxx b/sd/source/ui/slideshow/slideshowimpl.cxx
index f7dd911167e9..1ee08c395f13 100644
--- a/sd/source/ui/slideshow/slideshowimpl.cxx
+++ b/sd/source/ui/slideshow/slideshowimpl.cxx
@@ -44,8 +44,6 @@
#include <sfx2/app.hxx>
#include <svx/unoapi.hxx>
#include <svx/svdoole2.hxx>
-
-// for child window ids
#include <sfx2/templdlg.hxx>
#include <svx/f3dchild.hxx>
#include <svx/imapdlg.hxx>
diff --git a/svl/qa/unit/items/test_IndexedStyleSheets.cxx b/svl/qa/unit/items/test_IndexedStyleSheets.cxx
index ec8d82dcd5fd..3b0a0e0b8eb7 100644
--- a/svl/qa/unit/items/test_IndexedStyleSheets.cxx
+++ b/svl/qa/unit/items/test_IndexedStyleSheets.cxx
@@ -9,7 +9,6 @@
#include <svl/IndexedStyleSheets.hxx>
-// for SfxStyleSheetBase
#include <svl/style.hxx>
#include <cppunit/TestAssert.h>
diff --git a/svx/source/customshapes/EnhancedCustomShape2d.cxx b/svx/source/customshapes/EnhancedCustomShape2d.cxx
index 26d4156d34c0..4cf1740ad3cc 100644
--- a/svx/source/customshapes/EnhancedCustomShape2d.cxx
+++ b/svx/source/customshapes/EnhancedCustomShape2d.cxx
@@ -51,8 +51,6 @@
#include <basegfx/numeric/ftools.hxx>
#include <basegfx/color/bcolortools.hxx>
#include <basegfx/polygon/b2dpolygon.hxx>
-
-// #i76201#
#include <basegfx/polygon/b2dpolygontools.hxx>
#include <rtl/strbuf.hxx>
#include <math.h>
diff --git a/svx/source/dialog/contwnd.cxx b/svx/source/dialog/contwnd.cxx
index 24e9e4425f46..41fb49896454 100644
--- a/svx/source/dialog/contwnd.cxx
+++ b/svx/source/dialog/contwnd.cxx
@@ -28,8 +28,6 @@
#include <svx/xfillit.hxx>
#include <basegfx/polygon/b2dpolygon.hxx>
#include <basegfx/polygon/b2dpolypolygontools.hxx>
-
-// #i75482#
#include "svx/sdrpaintwindow.hxx"
#define TRANSCOL Color( COL_WHITE )
diff --git a/svx/source/dialog/graphctl.cxx b/svx/source/dialog/graphctl.cxx
index 73ecb74bf326..65a9538bc3ee 100644
--- a/svx/source/dialog/graphctl.cxx
+++ b/svx/source/dialog/graphctl.cxx
@@ -33,8 +33,6 @@
#include "svx/xoutbmp.hxx"
#include <svx/svxids.hrc>
#include <svx/svdpage.hxx>
-
-// #i72889#
#include "svx/sdrpaintwindow.hxx"
void GraphCtrlUserCall::Changed( const SdrObject& rObj, SdrUserCallType eType, const Rectangle& /*rOldBoundRect*/ )
diff --git a/svx/source/svdraw/sdrmasterpagedescriptor.cxx b/svx/source/svdraw/sdrmasterpagedescriptor.cxx
index 8331c338b2a0..39ae2a7ab334 100644
--- a/svx/source/svdraw/sdrmasterpagedescriptor.cxx
+++ b/svx/source/svdraw/sdrmasterpagedescriptor.cxx
@@ -20,14 +20,11 @@
#include <svx/sdrmasterpagedescriptor.hxx>
#include <svx/sdr/contact/viewcontactofmasterpagedescriptor.hxx>
#include <svx/svdpage.hxx>
-
-// #i42075#
#include <svx/svdobj.hxx>
#include <svx/xfillit0.hxx>
#include <svl/itemset.hxx>
-
namespace sdr
{
// ViewContact part
diff --git a/svx/source/svdraw/svdedtv.cxx b/svx/source/svdraw/svdedtv.cxx
index ff62dd06e3f6..430cfb151385 100644
--- a/svx/source/svdraw/svdedtv.cxx
+++ b/svx/source/svdraw/svdedtv.cxx
@@ -34,8 +34,6 @@
#include <svx/e3dsceneupdater.hxx>
#include <rtl/strbuf.hxx>
#include <svx/svdview.hxx>
-
-// #i13033#
#include <clonelist.hxx>
void SdrEditView::ImpResetPossibilityFlags()
diff --git a/svx/source/svdraw/svdedtv2.cxx b/svx/source/svdraw/svdedtv2.cxx
index 29bc43485367..055e3f05f834 100644
--- a/svx/source/svdraw/svdedtv2.cxx
+++ b/svx/source/svdraw/svdedtv2.cxx
@@ -38,11 +38,8 @@
#include <editeng/eeitem.hxx>
#include <basegfx/polygon/b2dpolypolygon.hxx>
#include <basegfx/polygon/b2dpolypolygontools.hxx>
-
#include <svx/svxdlg.hxx>
#include <svx/dialogs.hrc>
-
-// #i37011#
#include <svx/svdoashp.hxx>
#include <basegfx/polygon/b2dpolypolygoncutter.hxx>
diff --git a/svx/source/svdraw/svdoole2.cxx b/svx/source/svdraw/svdoole2.cxx
index 0a076f7e75f4..38e955b00298 100644
--- a/svx/source/svdraw/svdoole2.cxx
+++ b/svx/source/svdraw/svdoole2.cxx
@@ -75,18 +75,13 @@
#include <svx/sdr/contact/viewcontactofsdrole2obj.hxx>
#include <svx/svdograf.hxx>
#include <svx/sdr/properties/oleproperties.hxx>
-
-// #i100710#
#include <svx/xlnclit.hxx>
#include <svx/xbtmpit.hxx>
#include <svx/xflbmtit.hxx>
#include <svx/xflbstit.hxx>
-
-// #i118485#
#include <basegfx/matrix/b2dhommatrix.hxx>
#include <basegfx/polygon/b2dpolypolygon.hxx>
#include <editeng/outlobj.hxx>
-
#include <svx/svdpage.hxx>
using namespace ::rtl;
diff --git a/svx/source/svdraw/svdpagv.cxx b/svx/source/svdraw/svdpagv.cxx
index b6ab6401421e..31545c923556 100644
--- a/svx/source/svdraw/svdpagv.cxx
+++ b/svx/source/svdraw/svdpagv.cxx
@@ -40,7 +40,6 @@
#include <svx/sdr/contact/viewobjectcontactredirector.hxx>
#include <svx/fmview.hxx>
-// for search on vector
#include <algorithm>
using namespace ::rtl;
diff --git a/svx/source/tbxctrls/formatpaintbrushctrl.cxx b/svx/source/tbxctrls/formatpaintbrushctrl.cxx
index 532e6ef929f9..0c977e6c5318 100644
--- a/svx/source/tbxctrls/formatpaintbrushctrl.cxx
+++ b/svx/source/tbxctrls/formatpaintbrushctrl.cxx
@@ -20,13 +20,8 @@
#include "svx/formatpaintbrushctrl.hxx"
-// header for class SfxBoolItem
#include <svl/eitem.hxx>
-
-// header for define SFX_APP
#include <sfx2/app.hxx>
-
-// header for class ToolBox
#include <vcl/toolbox.hxx>
#include <vcl/settings.hxx>
diff --git a/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.cxx b/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.cxx
index 38907746900c..ddcc2f7c37d3 100644
--- a/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.cxx
+++ b/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.cxx
@@ -27,21 +27,15 @@
#include <com/sun/star/linguistic2/XConversionPropertyType.hpp>
#include <com/sun/star/util/XFlushable.hpp>
#include <com/sun/star/lang/Locale.hpp>
-// header for class HeaderBar
#include <svtools/headbar.hxx>
#include <svtools/svlbitm.hxx>
#include "svtools/treelistentry.hxx"
-// header for define RET_OK
#include <vcl/msgbox.hxx>
#include <vcl/settings.hxx>
-
-// header for class SvtLinguConfigItem
#include <unotools/lingucfg.hxx>
#include <unotools/linguprops.hxx>
-// header for class IntlWrapper
#include <unotools/intlwrapper.hxx>
#include <comphelper/processfactory.hxx>
-// header for class Application
#include <vcl/svapp.hxx>
#include "helpid.hrc"
diff --git a/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.hxx b/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.hxx
index 4e0aaaaad2dc..182c4984ad92 100644
--- a/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.hxx
+++ b/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.hxx
@@ -21,13 +21,9 @@
#define INCLUDED_SVX_SOURCE_UNODIALOGS_TEXTCONVERSIONDLGS_CHINESE_DICTIONARYDIALOG_HXX
#include <vcl/dialog.hxx>
-// header for class FixedLine
#include <vcl/fixed.hxx>
-// header for class RadioButton
#include <vcl/button.hxx>
-// header for class Edit
#include <vcl/edit.hxx>
-// header for class ListBox
#include <vcl/lstbox.hxx>
#include <svtools/simptabl.hxx>
#include <com/sun/star/uno/XComponentContext.hpp>
diff --git a/svx/source/unodialogs/textconversiondlgs/chinese_translation_unodialog.cxx b/svx/source/unodialogs/textconversiondlgs/chinese_translation_unodialog.cxx
index 7dbb8d3a41aa..16baa1947b72 100644
--- a/svx/source/unodialogs/textconversiondlgs/chinese_translation_unodialog.cxx
+++ b/svx/source/unodialogs/textconversiondlgs/chinese_translation_unodialog.cxx
@@ -21,13 +21,9 @@
#include "chinese_translation_unodialog.hxx"
#include "chinese_translationdialog.hxx"
#include <osl/mutex.hxx>
-// header for class Application
#include <vcl/svapp.hxx>
#include <toolkit/awt/vclxwindow.hxx>
-// header for define RET_CANCEL
#include <vcl/msgbox.hxx>
-
-// header for class OImplementationId
#include <cppuhelper/supportsservice.hxx>
#include <cppuhelper/typeprovider.hxx>
#include <com/sun/star/beans/PropertyValue.hpp>
diff --git a/svx/source/unodialogs/textconversiondlgs/chinese_translationdialog.cxx b/svx/source/unodialogs/textconversiondlgs/chinese_translationdialog.cxx
index 089874cbb11c..adf98f688268 100644
--- a/svx/source/unodialogs/textconversiondlgs/chinese_translationdialog.cxx
+++ b/svx/source/unodialogs/textconversiondlgs/chinese_translationdialog.cxx
@@ -21,9 +21,7 @@
#include "chinese_translationdialog.hxx"
#include "chinese_dictionarydialog.hxx"
#include <com/sun/star/i18n/TextConversionOption.hpp>
-// header for define RET_OK
#include <vcl/msgbox.hxx>
-// header for class SvtLinguConfigItem
#include <unotools/lingucfg.hxx>
#include <unotools/linguprops.hxx>
#include "helpid.hrc"
diff --git a/svx/source/unodialogs/textconversiondlgs/chinese_translationdialog.hxx b/svx/source/unodialogs/textconversiondlgs/chinese_translationdialog.hxx
index 6f01412bcc3b..03342a604aaa 100644
--- a/svx/source/unodialogs/textconversiondlgs/chinese_translationdialog.hxx
+++ b/svx/source/unodialogs/textconversiondlgs/chinese_translationdialog.hxx
@@ -21,9 +21,7 @@
#define INCLUDED_SVX_SOURCE_UNODIALOGS_TEXTCONVERSIONDLGS_CHINESE_TRANSLATIONDIALOG_HXX
#include <vcl/dialog.hxx>
-// header for class FixedLine
#include <vcl/fixed.hxx>
-// header for class RadioButton
#include <vcl/button.hxx>
diff --git a/svx/source/unodraw/unomlstr.cxx b/svx/source/unodraw/unomlstr.cxx
index dd7938565a38..10d5f356c5d1 100644
--- a/svx/source/unodraw/unomlstr.cxx
+++ b/svx/source/unodraw/unomlstr.cxx
@@ -18,9 +18,7 @@
*/
#include <svx/svdobj.hxx>
-// header for class OGuard
#include <osl/mutex.hxx>
-// header for class Application
#include <vcl/svapp.hxx>
#include "unomlstr.hxx"
diff --git a/svx/source/unodraw/unoshap2.cxx b/svx/source/unodraw/unoshap2.cxx
index a243debc0467..ec78f4716a71 100644
--- a/svx/source/unodraw/unoshap2.cxx
+++ b/svx/source/unodraw/unoshap2.cxx
@@ -47,8 +47,6 @@
#include "shapeimpl.hxx"
#include "svx/unoshprp.hxx"
#include <svx/svdoashp.hxx>
-
-// #i29181#
#include "svx/svdviter.hxx"
#include <svx/svdview.hxx>
#include <basegfx/matrix/b2dhommatrix.hxx>
diff --git a/svx/source/unodraw/unoshape.cxx b/svx/source/unodraw/unoshape.cxx
index 808c82b46a1c..fcb33c409a69 100644
--- a/svx/source/unodraw/unoshape.cxx
+++ b/svx/source/unodraw/unoshape.cxx
@@ -90,7 +90,6 @@
#include <vector>
-// #i68523#
#include "svx/lathe3d.hxx"
#include "svx/extrud3d.hxx"
diff --git a/sw/source/core/SwNumberTree/SwNodeNum.cxx b/sw/source/core/SwNumberTree/SwNodeNum.cxx
index 276c18bf091c..09fae2081264 100644
--- a/sw/source/core/SwNumberTree/SwNodeNum.cxx
+++ b/sw/source/core/SwNumberTree/SwNodeNum.cxx
@@ -23,7 +23,6 @@
#include <ndtxt.hxx>
#include <pam.hxx>
#include <stdio.h>
-// #i83479#
#include <IDocumentListItems.hxx>
#include <doc.hxx>
diff --git a/sw/source/core/access/accpara.cxx b/sw/source/core/access/accpara.cxx
index 74549d5ed703..1bc29560a54c 100644
--- a/sw/source/core/access/accpara.cxx
+++ b/sw/source/core/access/accpara.cxx
@@ -65,7 +65,6 @@
#include <txtfld.hxx>
#include <fmtfld.hxx>
#include <modcfg.hxx>
-//#include "accnote.hxx"
#include <com/sun/star/beans/XPropertySet.hpp>
#include "swmodule.hxx"
#include "redline.hxx"
@@ -79,14 +78,12 @@
#include <unosett.hxx>
#include <paratr.hxx>
#include <com/sun/star/container/XIndexReplace.hpp>
-// --> OD 2006-07-12 #i63870#
#include <unomap.hxx>
#include <unoprnms.hxx>
#include <com/sun/star/text/WritingMode2.hpp>
#include <viewimp.hxx>
#include <boost/scoped_ptr.hpp>
#include <textmarkuphelper.hxx>
-// #i10825#
#include <parachangetrackinginfo.hxx>
#include <com/sun/star/text/TextMarkupType.hpp>
#include <comphelper/servicehelper.hxx>
diff --git a/sw/source/core/crsr/pam.cxx b/sw/source/core/crsr/pam.cxx
index 8da7ed6e8bc6..b23a8ac22570 100644
--- a/sw/source/core/crsr/pam.cxx
+++ b/sw/source/core/crsr/pam.cxx
@@ -31,8 +31,6 @@
#include <frmatr.hxx>
#include <swtable.hxx>
#include <crsskip.hxx>
-
-// Formular view
#include <flyfrm.hxx>
#include <fmteiro.hxx>
#include <section.hxx>
diff --git a/sw/source/core/docnode/ndsect.cxx b/sw/source/core/docnode/ndsect.cxx
index 951285925a9a..c3e1eb8131dd 100644
--- a/sw/source/core/docnode/ndsect.cxx
+++ b/sw/source/core/docnode/ndsect.cxx
@@ -50,7 +50,6 @@
#include <doctxm.hxx>
#include <fmtftntx.hxx>
#include <comcore.hrc>
-// #i27138#
#include <viewsh.hxx>
#include <txtfrm.hxx>
#include <boost/scoped_ptr.hpp>
diff --git a/sw/source/core/docnode/ndtbl.cxx b/sw/source/core/docnode/ndtbl.cxx
index 713239625e24..4dbd16079149 100644
--- a/sw/source/core/docnode/ndtbl.cxx
+++ b/sw/source/core/docnode/ndtbl.cxx
@@ -25,7 +25,6 @@
#include <editeng/protitem.hxx>
#include <editeng/boxitem.hxx>
#include <svl/stritem.hxx>
-// #i17174#
#include <editeng/shaditem.hxx>
#include <fmtfsize.hxx>
#include <fmtornt.hxx>
diff --git a/sw/source/core/draw/dview.cxx b/sw/source/core/draw/dview.cxx
index 72342d93e4f3..a1b4eea820ae 100644
--- a/sw/source/core/draw/dview.cxx
+++ b/sw/source/core/draw/dview.cxx
@@ -46,11 +46,10 @@
#include "shellres.hxx"
#include <IDocumentUndoRedo.hxx>
-// #i7672#
#include <com/sun/star/embed/Aspects.hpp>
#include <vector>
-// #i28701#
+
#include <sortedobjs.hxx>
#include <flyfrms.hxx>
#include <UndoManager.hxx>
diff --git a/sw/source/core/frmedt/fetab.cxx b/sw/source/core/frmedt/fetab.cxx
index fa3ca95312ed..bd4fcddd9262 100644
--- a/sw/source/core/frmedt/fetab.cxx
+++ b/sw/source/core/frmedt/fetab.cxx
@@ -57,7 +57,6 @@
#include <frmtool.hxx>
#include <node.hxx>
-// OD 2004-05-24 #i28701#
#include <sortedobjs.hxx>
using namespace ::com::sun::star;
diff --git a/sw/source/core/inc/anchoredobjectposition.hxx b/sw/source/core/inc/anchoredobjectposition.hxx
index b96e674a7095..7b8b34b9d038 100644
--- a/sw/source/core/inc/anchoredobjectposition.hxx
+++ b/sw/source/core/inc/anchoredobjectposition.hxx
@@ -21,7 +21,6 @@
#define INCLUDED_SW_SOURCE_CORE_INC_ANCHOREDOBJECTPOSITION_HXX
#include <swtypes.hxx>
-// #i11860#
#include <frame.hxx>
class SdrObject;
@@ -33,7 +32,6 @@ class SwRect;
class SvxLRSpaceItem;
class SvxULSpaceItem;
class SwFmtHoriOrient;
-// #i26701#
class SwAnchoredObject;
namespace objectpositioning
diff --git a/sw/source/core/inc/frmtool.hxx b/sw/source/core/inc/frmtool.hxx
index 7645ad0fe8cc..e8a3c2bd4d8f 100644
--- a/sw/source/core/inc/frmtool.hxx
+++ b/sw/source/core/inc/frmtool.hxx
@@ -24,7 +24,6 @@
#include "layfrm.hxx"
#include "frmatr.hxx"
#include "swcache.hxx"
-// #i96772#
#include <editeng/lrspitem.hxx>
#include <swfont.hxx>
diff --git a/sw/source/core/inc/layouter.hxx b/sw/source/core/inc/layouter.hxx
index 1bc4b6b09114..ac55613aaaff 100644
--- a/sw/source/core/inc/layouter.hxx
+++ b/sw/source/core/inc/layouter.hxx
@@ -28,15 +28,11 @@ class SwFtnFrm;
class SwPageFrm;
class SwLooping;
-// --> #i28701#
class SwMovedFwdFrmsByObjPos;
class SwTxtFrm;
-// --> #i26945#
class SwRowFrm;
-// --> #i35911#
class SwObjsMarkedAsTmpConsiderWrapInfluence;
class SwAnchoredObject;
-// --> #i65250#
#include <boost/unordered_map.hpp>
class SwFlowFrm;
class SwLayoutFrm;
diff --git a/sw/source/core/layout/anchoreddrawobject.cxx b/sw/source/core/layout/anchoreddrawobject.cxx
index e9630a959a3f..80678e8acb3a 100644
--- a/sw/source/core/layout/anchoreddrawobject.cxx
+++ b/sw/source/core/layout/anchoreddrawobject.cxx
@@ -24,9 +24,7 @@
#include <tolayoutanchoredobjectposition.hxx>
#include <frmtool.hxx>
#include <fmtornt.hxx>
-// --> #i32795#
#include <txtfrm.hxx>
-// --> #i32795#
#include <vector>
#include <svx/svdogrp.hxx>
diff --git a/sw/source/core/layout/anchoredobject.cxx b/sw/source/core/layout/anchoredobject.cxx
index ac602a83f537..b4a0cd8f5bef 100644
--- a/sw/source/core/layout/anchoredobject.cxx
+++ b/sw/source/core/layout/anchoredobject.cxx
@@ -19,7 +19,6 @@
#include <txtfrm.hxx>
#include <fmtornt.hxx>
-// --> #i28701#
#include <doc.hxx>
#include <fmtsrnd.hxx>
#include <dcontact.hxx>
@@ -27,7 +26,6 @@
#include <editeng/lrspitem.hxx>
#include <sortedobjs.hxx>
#include <pagefrm.hxx>
-// --> #i35911#
#include <layouter.hxx>
using namespace ::com::sun::star;
diff --git a/sw/source/core/layout/calcmove.cxx b/sw/source/core/layout/calcmove.cxx
index ccbd8e89329f..218b70e44cfb 100644
--- a/sw/source/core/layout/calcmove.cxx
+++ b/sw/source/core/layout/calcmove.cxx
@@ -37,10 +37,8 @@
#include "sectfrm.hxx"
#include "dbg_lay.hxx"
-// #i28701#
#include <sortedobjs.hxx>
#include <layouter.hxx>
-// #i36347#
#include <flyfrms.hxx>
// Move methods
diff --git a/sw/source/core/layout/flyincnt.cxx b/sw/source/core/layout/flyincnt.cxx
index 0cafd371a843..57406cc137ac 100644
--- a/sw/source/core/layout/flyincnt.cxx
+++ b/sw/source/core/layout/flyincnt.cxx
@@ -23,7 +23,6 @@
#include <fmtornt.hxx>
#include "txtfrm.hxx"
#include "flyfrms.hxx"
-// OD 2004-01-19 #110582#
#include <dflyobj.hxx>
SwFlyInCntFrm::SwFlyInCntFrm( SwFlyFrmFmt *pFmt, SwFrm* pSib, SwFrm *pAnch ) :
diff --git a/sw/source/core/layout/flylay.cxx b/sw/source/core/layout/flylay.cxx
index ba273a8226fc..a878b623d65b 100644
--- a/sw/source/core/layout/flylay.cxx
+++ b/sw/source/core/layout/flylay.cxx
@@ -34,10 +34,8 @@
#include "ndole.hxx"
#include "tabfrm.hxx"
#include "flyfrms.hxx"
-// #i18732#
#include <fmtfollowtextflow.hxx>
#include <environmentofanchoredobject.hxx>
-// #i28701#
#include <sortedobjs.hxx>
#include <viewimp.hxx>
diff --git a/sw/source/core/layout/hffrm.cxx b/sw/source/core/layout/hffrm.cxx
index 0cc8b43a2282..b99aca0a367a 100644
--- a/sw/source/core/layout/hffrm.cxx
+++ b/sw/source/core/layout/hffrm.cxx
@@ -29,9 +29,7 @@
#include "flyfrm.hxx"
#include "frmtool.hxx"
#include "hfspacingitem.hxx"
-// OD 2004-05-24 #i28701#
#include <sortedobjs.hxx>
-// #i43771#
#include <objectformatter.hxx>
extern bool bObjsDirect; //frmtool.cxx
diff --git a/sw/source/core/layout/layact.cxx b/sw/source/core/layout/layact.cxx
index 12016e9f3951..6c15b5cdadb0 100644
--- a/sw/source/core/layout/layact.cxx
+++ b/sw/source/core/layout/layact.cxx
@@ -54,7 +54,6 @@
#include "mdiexp.hxx"
#include "sectfrm.hxx"
#include <acmplwrd.hxx>
-// #i28701#
#include <sortedobjs.hxx>
#include <objectformatter.hxx>
#include <vector>
diff --git a/sw/source/core/layout/laycache.cxx b/sw/source/core/layout/laycache.cxx
index aaa544cfa39d..d7aa2e89cd5c 100644
--- a/sw/source/core/layout/laycache.cxx
+++ b/sw/source/core/layout/laycache.cxx
@@ -38,7 +38,6 @@
#include <dcontact.hxx>
#include "viewopt.hxx"
#include <flyfrm.hxx>
-// OD 2004-05-24 #i28701#
#include <sortedobjs.hxx>
#include <set>
diff --git a/sw/source/core/layout/layouter.cxx b/sw/source/core/layout/layouter.cxx
index 62e710ba82da..ff9426a981b1 100644
--- a/sw/source/core/layout/layouter.cxx
+++ b/sw/source/core/layout/layouter.cxx
@@ -24,9 +24,7 @@
#include "ftnfrm.hxx"
#include "txtfrm.hxx"
-// #i28701#
#include <movedfwdfrmsbyobjpos.hxx>
-// #i35911#
#include <objstmpconsiderwrapinfl.hxx>
#define LOOP_DETECT 250
diff --git a/sw/source/core/layout/paintfrm.cxx b/sw/source/core/layout/paintfrm.cxx
index 5e70d16ab324..3da4f8795074 100644
--- a/sw/source/core/layout/paintfrm.cxx
+++ b/sw/source/core/layout/paintfrm.cxx
@@ -65,11 +65,9 @@
#include <bodyfrm.hxx>
#include <hffrm.hxx>
#include <colfrm.hxx>
-// --> OD #i76669#
#include <svx/sdr/contact/viewobjectcontactredirector.hxx>
#include <svx/sdr/contact/viewobjectcontact.hxx>
#include <svx/sdr/contact/viewcontact.hxx>
-// <--
#include <ndole.hxx>
#include <svx/charthelper.hxx>
diff --git a/sw/source/core/layout/sectfrm.cxx b/sw/source/core/layout/sectfrm.cxx
index 361b66bb59f7..1b0ab34f3375 100644
--- a/sw/source/core/layout/sectfrm.cxx
+++ b/sw/source/core/layout/sectfrm.cxx
@@ -49,7 +49,6 @@
#include <editeng/lrspitem.hxx>
#include <editeng/brushitem.hxx>
#include <fmtftntx.hxx>
-// OD 2004-05-24 #i28701#
#include <dflyobj.hxx>
#include <flyfrms.hxx>
#include <sortedobjs.hxx>
diff --git a/sw/source/core/layout/virtoutp.cxx b/sw/source/core/layout/virtoutp.cxx
index e821d5766eae..aaae3e523f94 100644
--- a/sw/source/core/layout/virtoutp.cxx
+++ b/sw/source/core/layout/virtoutp.cxx
@@ -24,7 +24,6 @@
#include "virtoutp.hxx"
#include "viewopt.hxx"
#include "rootfrm.hxx"
-// OD 12.11.2002 #96272# - include declaration for <SetMappingForVirtDev>
#include "setmapvirtdev.hxx"
#if OSL_DEBUG_LEVEL > 1
diff --git a/sw/source/core/layout/wsfrm.cxx b/sw/source/core/layout/wsfrm.cxx
index 84f0740e0e9e..0842b9330b86 100644
--- a/sw/source/core/layout/wsfrm.cxx
+++ b/sw/source/core/layout/wsfrm.cxx
@@ -61,7 +61,6 @@
#include <cellfrm.hxx>
#include <dbg_lay.hxx>
#include <editeng/frmdiritem.hxx>
-// OD 2004-05-24 #i28701#
#include <sortedobjs.hxx>
#include <svx/xdef.hxx>
diff --git a/sw/source/core/objectpositioning/anchoredobjectposition.cxx b/sw/source/core/objectpositioning/anchoredobjectposition.cxx
index b161f1cc28a1..7067fdf64bea 100644
--- a/sw/source/core/objectpositioning/anchoredobjectposition.cxx
+++ b/sw/source/core/objectpositioning/anchoredobjectposition.cxx
@@ -29,7 +29,6 @@
#include <dcontact.hxx>
#include <frmfmt.hxx>
#include <fmtornt.hxx>
-// #i62875#
#include <fmtfollowtextflow.hxx>
#include <editeng/lrspitem.hxx>
#include <editeng/ulspitem.hxx>
diff --git a/sw/source/core/objectpositioning/tocntntanchoredobjectposition.cxx b/sw/source/core/objectpositioning/tocntntanchoredobjectposition.cxx
index 0245cb31336a..6b31e7f3e3b7 100644
--- a/sw/source/core/objectpositioning/tocntntanchoredobjectposition.cxx
+++ b/sw/source/core/objectpositioning/tocntntanchoredobjectposition.cxx
@@ -23,7 +23,6 @@
#include <txtfrm.hxx>
#include <pagefrm.hxx>
#include <sectfrm.hxx>
-// #i26945#
#include <tabfrm.hxx>
#include "rootfrm.hxx"
#include "viewopt.hxx"
diff --git a/sw/source/core/text/frmform.cxx b/sw/source/core/text/frmform.cxx
index 5eb0f4799436..1d45c7af4776 100644
--- a/sw/source/core/text/frmform.cxx
+++ b/sw/source/core/text/frmform.cxx
@@ -43,10 +43,8 @@
#include <porfld.hxx>
#include <sectfrm.hxx>
#include <pormulti.hxx>
-
#include <rootfrm.hxx>
#include <frmfmt.hxx>
-// #i28701#
#include <sortedobjs.hxx>
#include <portab.hxx>
#include <editeng/lrspitem.hxx>
diff --git a/sw/source/core/text/frmpaint.cxx b/sw/source/core/text/frmpaint.cxx
index 9a6bf4a3aa99..fb41bab969ed 100644
--- a/sw/source/core/text/frmpaint.cxx
+++ b/sw/source/core/text/frmpaint.cxx
@@ -46,7 +46,6 @@
#include <numrule.hxx>
#include <SwGrammarMarkUp.hxx>
-// #i12836# enhanced pdf export
#include <EnhancedPDFExportHelper.hxx>
#include <IDocumentStylePoolAccess.hxx>
diff --git a/sw/source/core/text/inftxt.cxx b/sw/source/core/text/inftxt.cxx
index bf24d389771e..7ce119cc9441 100644
--- a/sw/source/core/text/inftxt.cxx
+++ b/sw/source/core/text/inftxt.cxx
@@ -61,7 +61,6 @@
#include <pam.hxx>
#include <SwGrammarMarkUp.hxx>
#include "numrule.hxx"
-// #i12836# enhanced pdf export
#include <EnhancedPDFExportHelper.hxx>
#include <docufld.hxx>
diff --git a/sw/source/core/text/itrcrsr.cxx b/sw/source/core/text/itrcrsr.cxx
index 450bdfd5aeff..79346409a0e1 100644
--- a/sw/source/core/text/itrcrsr.cxx
+++ b/sw/source/core/text/itrcrsr.cxx
@@ -45,7 +45,6 @@
#include "pordrop.hxx"
#include "crstate.hxx"
#include <pormulti.hxx>
-// #i111284#
#include <numrule.hxx>
// Not reentrant !!!
diff --git a/sw/source/core/text/itrpaint.cxx b/sw/source/core/text/itrpaint.cxx
index 1c109751ab22..fff6ea7488c5 100644
--- a/sw/source/core/text/itrpaint.cxx
+++ b/sw/source/core/text/itrpaint.cxx
@@ -36,7 +36,6 @@
#include <pagedesc.hxx>
#include <tgrditem.hxx>
-// #i12836# enhanced pdf export
#include <EnhancedPDFExportHelper.hxx>
#include "flyfrms.hxx"
diff --git a/sw/source/core/text/porfly.cxx b/sw/source/core/text/porfly.cxx
index 72643ad8f960..5fb22df3fd39 100644
--- a/sw/source/core/text/porfly.cxx
+++ b/sw/source/core/text/porfly.cxx
@@ -38,7 +38,6 @@
#include "porlay.hxx"
#include "inftxt.hxx"
-// OD 2004-05-24 #i28701#
#include <sortedobjs.hxx>
// class SwFlyPortion => we expect a frame-locale SwRect!
diff --git a/sw/source/core/text/porfly.hxx b/sw/source/core/text/porfly.hxx
index 9c1aac0139a3..3508258f752b 100644
--- a/sw/source/core/text/porfly.hxx
+++ b/sw/source/core/text/porfly.hxx
@@ -18,7 +18,7 @@
*/
#ifndef INCLUDED_SW_SOURCE_CORE_TEXT_PORFLY_HXX
#define INCLUDED_SW_SOURCE_CORE_TEXT_PORFLY_HXX
-// OD 28.10.2003 #113049#
+
#include <ascharanchoredobjectposition.hxx>
#include "porglue.hxx"
diff --git a/sw/source/core/text/txtfly.cxx b/sw/source/core/text/txtfly.cxx
index 6eb433ea9a74..d4cd73486965 100644
--- a/sw/source/core/text/txtfly.cxx
+++ b/sw/source/core/text/txtfly.cxx
@@ -41,7 +41,6 @@
#include <editeng/txtrange.hxx>
#include <editeng/lrspitem.hxx>
#include <editeng/ulspitem.hxx>
-// #i28701#
#include <editeng/lspcitem.hxx>
#include <fmtsrnd.hxx>
#include <fmtanchr.hxx>
diff --git a/sw/source/core/text/txtftn.cxx b/sw/source/core/text/txtftn.cxx
index 0679d76352ea..fc9325296476 100644
--- a/sw/source/core/text/txtftn.cxx
+++ b/sw/source/core/text/txtftn.cxx
@@ -36,7 +36,6 @@
#include <breakit.hxx>
#include <com/sun/star/i18n/ScriptType.hpp>
#include <tabfrm.hxx>
-// #i28701#
#include <sortedobjs.hxx>
#include "swfont.hxx"
diff --git a/sw/source/core/text/txttab.cxx b/sw/source/core/text/txttab.cxx
index e1d85ad43fa0..314f16345173 100644
--- a/sw/source/core/text/txttab.cxx
+++ b/sw/source/core/text/txttab.cxx
@@ -32,7 +32,6 @@
#include "itrform2.hxx"
#include "txtfrm.hxx"
#include <numrule.hxx>
-// #i89179#
#include <porfld.hxx>
#include <boost/scoped_ptr.hpp>
diff --git a/sw/source/core/uibase/docvw/edtwin2.cxx b/sw/source/core/uibase/docvw/edtwin2.cxx
index 859d964ed3d4..df9b70462882 100644
--- a/sw/source/core/uibase/docvw/edtwin2.cxx
+++ b/sw/source/core/uibase/docvw/edtwin2.cxx
@@ -65,7 +65,6 @@
#include <PostItMgr.hxx>
#include <fmtfld.hxx>
-// #i104300#
#include <IDocumentMarkAccess.hxx>
#include <ndtxt.hxx>
diff --git a/sw/source/core/uibase/inc/formatclipboard.hxx b/sw/source/core/uibase/inc/formatclipboard.hxx
index 2d61a9968cac..4c90ed28379e 100644
--- a/sw/source/core/uibase/inc/formatclipboard.hxx
+++ b/sw/source/core/uibase/inc/formatclipboard.hxx
@@ -20,11 +20,8 @@
#ifndef INCLUDED_SW_SOURCE_CORE_UIBASE_INC_FORMATCLIPBOARD_HXX
#define INCLUDED_SW_SOURCE_CORE_UIBASE_INC_FORMATCLIPBOARD_HXX
-// header for class SwWrtShell
#include <wrtsh.hxx>
-// header for class SfxItemSet
#include <svl/itemset.hxx>
-// header for class SfxStyleSheetBasePool
#include <svl/style.hxx>
/** This class acts as data container and execution class for the format paintbrush feature in writer.
diff --git a/sw/source/core/uibase/shells/frmsh.cxx b/sw/source/core/uibase/shells/frmsh.cxx
index b565dd9f09ce..b140b44de287 100644
--- a/sw/source/core/uibase/shells/frmsh.cxx
+++ b/sw/source/core/uibase/shells/frmsh.cxx
@@ -39,7 +39,6 @@
#include <sfx2/objface.hxx>
#include <sfx2/sidebar/EnumContext.hxx>
#include <svx/hlnkitem.hxx>
-// #i73249#
#include <svx/svdview.hxx>
#include <vcl/msgbox.hxx>
#include <tools/diagnose_ex.h>
@@ -75,7 +74,7 @@
#include <shells.hrc>
#include "swabstdlg.hxx"
#include "misc.hrc"
-// #i73249#
+
#include <svx/dialogs.hrc>
#include <wordcountdialog.hxx>
diff --git a/sw/source/core/uibase/uiview/formatclipboard.cxx b/sw/source/core/uibase/uiview/formatclipboard.cxx
index b6dd3f5167c6..ed2144c1072a 100644
--- a/sw/source/core/uibase/uiview/formatclipboard.cxx
+++ b/sw/source/core/uibase/uiview/formatclipboard.cxx
@@ -25,20 +25,13 @@
#include <frmfmt.hxx>
#include <docstyle.hxx>
#include <fchrfmt.hxx>
-// header for class SdrView
#include <svx/svdview.hxx>
-//SvxBrushItem
#include <editeng/brushitem.hxx>
#include <editeng/shaditem.hxx>
-// header for class SvxBoxInfoItem
#include <editeng/boxitem.hxx>
-// header for class SvxFmtBreakItem
#include <editeng/formatbreakitem.hxx>
-// header for class SwFmtLayoutSplit
#include <fmtlsplt.hxx>
-// header for class SvxFmtKeepItem
#include <editeng/keepitem.hxx>
-// header for class SvxFrameDirectionItem
#include <editeng/frmdiritem.hxx>
#include <fmtpdsc.hxx>
#include <fmtrowsplt.hxx>
diff --git a/sw/source/core/uibase/uiview/view1.cxx b/sw/source/core/uibase/uiview/view1.cxx
index 975c87966f22..e122d0c3820a 100644
--- a/sw/source/core/uibase/uiview/view1.cxx
+++ b/sw/source/core/uibase/uiview/view1.cxx
@@ -35,9 +35,7 @@
#include <edtwin.hxx>
#include "formatclipboard.hxx"
#include <cmdid.h>
-// header for class SfxRequest
#include <sfx2/request.hxx>
-
#include <sfx2/viewfrm.hxx>
extern int bDocSzUpdated;
diff --git a/sw/source/core/uibase/uno/unotxdoc.cxx b/sw/source/core/uibase/uno/unotxdoc.cxx
index 4cb01d9bd4d9..c0d90325394e 100644
--- a/sw/source/core/uibase/uno/unotxdoc.cxx
+++ b/sw/source/core/uibase/uno/unotxdoc.cxx
@@ -102,7 +102,6 @@
#include <comphelper/storagehelper.hxx>
#include <cppuhelper/supportsservice.hxx>
-// #i12836# enhanced pdf export
#include <EnhancedPDFExportHelper.hxx>
#include <numrule.hxx>
diff --git a/sw/source/core/undo/undobj1.cxx b/sw/source/core/undo/undobj1.cxx
index ca00c4178850..9537429050ec 100644
--- a/sw/source/core/undo/undobj1.cxx
+++ b/sw/source/core/undo/undobj1.cxx
@@ -35,7 +35,6 @@
#include <swundo.hxx>
#include <pam.hxx>
#include <ndtxt.hxx>
-// OD 26.06.2003 #108784#
#include <dcontact.hxx>
#include <ndole.hxx>
diff --git a/sw/source/core/unocore/unomap.cxx b/sw/source/core/unocore/unomap.cxx
index 660d8effa623..08d237144e38 100644
--- a/sw/source/core/unocore/unomap.cxx
+++ b/sw/source/core/unocore/unomap.cxx
@@ -76,7 +76,6 @@
#include <com/sun/star/util/Date.hpp>
#include <com/sun/star/util/DateTime.hpp>
#include <com/sun/star/script/XLibraryContainer.hpp>
-// #i28749#
#include <com/sun/star/drawing/HomogenMatrix3.hpp>
#include <swtypes.hxx>
#include <unomap.hxx>
diff --git a/sw/source/core/unocore/unoportenum.cxx b/sw/source/core/unocore/unoportenum.cxx
index 439b9471dbe0..10db734ba2fe 100644
--- a/sw/source/core/unocore/unoportenum.cxx
+++ b/sw/source/core/unocore/unoportenum.cxx
@@ -19,7 +19,6 @@
#include <unoport.hxx>
#include <IMark.hxx>
-// #i81002#
#include <crossrefbookmark.hxx>
#include <annotationmark.hxx>
#include <doc.hxx>
diff --git a/sw/source/core/unocore/unotbl.cxx b/sw/source/core/unocore/unotbl.cxx
index d1980ce4c9d2..57096bc77b94 100644
--- a/sw/source/core/unocore/unotbl.cxx
+++ b/sw/source/core/unocore/unotbl.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-// STL includes
#include <list>
#include <vector>
diff --git a/sw/source/core/view/viewimp.cxx b/sw/source/core/view/viewimp.cxx
index beacc1ccd2af..8ed20c645655 100644
--- a/sw/source/core/view/viewimp.cxx
+++ b/sw/source/core/view/viewimp.cxx
@@ -33,7 +33,6 @@
#include <svx/svdpage.hxx>
#include <accmap.hxx>
-// OD 12.12.2002 #103492#
#include <pagepreviewlayout.hxx>
#include <comcore.hrc>
diff --git a/sw/source/filter/basflt/shellio.cxx b/sw/source/filter/basflt/shellio.cxx
index a0db1dd2985f..874abfed8018 100644
--- a/sw/source/filter/basflt/shellio.cxx
+++ b/sw/source/filter/basflt/shellio.cxx
@@ -50,8 +50,6 @@
#include <redline.hxx>
#include <swerror.h>
#include <paratr.hxx>
-
-// #i73788#
#include <pausethreadstarting.hxx>
using namespace ::com::sun::star;
diff --git a/sw/source/filter/ww8/wrtw8esh.cxx b/sw/source/filter/ww8/wrtw8esh.cxx
index dfac4b3c1065..505b80cb262b 100644
--- a/sw/source/filter/ww8/wrtw8esh.cxx
+++ b/sw/source/filter/ww8/wrtw8esh.cxx
@@ -49,8 +49,6 @@
#include <svx/fmglob.hxx>
#include <svx/svdouno.hxx>
#include <svx/unoapi.hxx>
-
-// #i71538#
#include <svx/svdview.hxx>
#include <fmtcnct.hxx>
#include <fmtanchr.hxx>
diff --git a/sw/source/filter/ww8/ww8graf.cxx b/sw/source/filter/ww8/ww8graf.cxx
index 292c6cdd0332..6879a57ec187 100644
--- a/sw/source/filter/ww8/ww8graf.cxx
+++ b/sw/source/filter/ww8/ww8graf.cxx
@@ -80,7 +80,6 @@
#include <fmtinfmt.hxx>
#include <editeng/eeitem.hxx>
#include <editeng/flditem.hxx>
-// #i18732#
#include <fmtfollowtextflow.hxx>
#include "writerhelper.hxx"
#include "writerwordglue.hxx"
diff --git a/sw/source/filter/ww8/ww8par6.cxx b/sw/source/filter/ww8/ww8par6.cxx
index 492568a8aed9..7d23aa54d42c 100644
--- a/sw/source/filter/ww8/ww8par6.cxx
+++ b/sw/source/filter/ww8/ww8par6.cxx
@@ -96,7 +96,6 @@
#include "ww8par2.hxx"
#include "ww8graf.hxx"
-// #i27767#
#include <fmtwrapinfluenceonobjpos.hxx>
using namespace sw::util;
diff --git a/sw/source/filter/xml/XMLRedlineImportHelper.cxx b/sw/source/filter/xml/XMLRedlineImportHelper.cxx
index 089e7c3c8b1d..b756d71d8a13 100644
--- a/sw/source/filter/xml/XMLRedlineImportHelper.cxx
+++ b/sw/source/filter/xml/XMLRedlineImportHelper.cxx
@@ -27,8 +27,6 @@
#include "unoredline.hxx"
#include <xmloff/xmltoken.hxx>
#include <com/sun/star/frame/XModel.hpp>
-
-// for locking SolarMutex: svapp + mutex
#include <vcl/svapp.hxx>
#include <osl/mutex.hxx>
diff --git a/sw/source/filter/xml/swxml.cxx b/sw/source/filter/xml/swxml.cxx
index 1073937bb5cb..5464283df2d8 100644
--- a/sw/source/filter/xml/swxml.cxx
+++ b/sw/source/filter/xml/swxml.cxx
@@ -57,7 +57,6 @@
#include <statstr.hrc>
-// #i44177#
#include <SwStyleNameMapper.hxx>
#include <poolfmt.hxx>
#include <numrule.hxx>
diff --git a/sw/source/filter/xml/xmlexp.cxx b/sw/source/filter/xml/xmlexp.cxx
index bc49caa7c615..3dfebf03b6e0 100644
--- a/sw/source/filter/xml/xmlexp.cxx
+++ b/sw/source/filter/xml/xmlexp.cxx
@@ -56,8 +56,6 @@
#include <editeng/unolingu.hxx>
#include <editeng/forbiddencharacterstable.hxx>
#include <comphelper/servicehelper.hxx>
-
-// for locking SolarMutex: svapp + mutex
#include <vcl/svapp.hxx>
#include <osl/mutex.hxx>
diff --git a/sw/source/filter/xml/xmlimp.cxx b/sw/source/filter/xml/xmlimp.cxx
index ad404c837ea5..c4a162d35910 100644
--- a/sw/source/filter/xml/xmlimp.cxx
+++ b/sw/source/filter/xml/xmlimp.cxx
@@ -56,7 +56,6 @@
#include <tools/diagnose_ex.h>
#include <boost/unordered_set.hpp>
-// for locking SolarMutex: svapp + mutex
#include <vcl/svapp.hxx>
#include <osl/mutex.hxx>
#include <unotxdoc.hxx>
diff --git a/sw/source/filter/xml/xmltbli.cxx b/sw/source/filter/xml/xmltbli.cxx
index 4f06033189af..3bcbd7a3b0a8 100644
--- a/sw/source/filter/xml/xmltbli.cxx
+++ b/sw/source/filter/xml/xmltbli.cxx
@@ -51,8 +51,6 @@
#include <sfx2/linkmgr.hxx>
#include "xmlimp.hxx"
#include "xmltbli.hxx"
-
-// for locking SolarMutex: svapp + mutex
#include <vcl/svapp.hxx>
#include <osl/mutex.hxx>
#include "ndtxt.hxx"
diff --git a/sw/source/filter/xml/xmltexti.cxx b/sw/source/filter/xml/xmltexti.cxx
index 43ce1c975ea4..09d620939d6a 100644
--- a/sw/source/filter/xml/xmltexti.cxx
+++ b/sw/source/filter/xml/xmltexti.cxx
@@ -53,11 +53,8 @@
#include <docsh.hxx>
#include <sfx2/docfile.hxx>
#include <switerator.hxx>
-
-// for locking SolarMutex: svapp + mutex
#include <vcl/svapp.hxx>
#include <osl/mutex.hxx>
-
#include <toolkit/helper/vclunohelper.hxx>
#include <svtools/embedhlp.hxx>
#include <svl/urihelper.hxx>
diff --git a/sw/source/ui/dialog/docstdlg.cxx b/sw/source/ui/dialog/docstdlg.cxx
index a600788e0dca..935fcecc7344 100644
--- a/sw/source/ui/dialog/docstdlg.cxx
+++ b/sw/source/ui/dialog/docstdlg.cxx
@@ -29,8 +29,6 @@
#include <doc.hxx>
#include <docstdlg.hxx>
#include <modcfg.hxx>
-
-// for statistics fields
#include <fldmgr.hxx>
#include <fldbas.hxx>
diff --git a/sw/source/ui/fldui/fldref.cxx b/sw/source/ui/fldui/fldref.cxx
index 7b18a1c6ade0..f1820e81b558 100644
--- a/sw/source/ui/fldui/fldref.cxx
+++ b/sw/source/ui/fldui/fldref.cxx
@@ -28,7 +28,6 @@
#include <fldui.hrc>
#include <globals.hrc>
-// #i83479#
#include <SwNodeNum.hxx>
#include <IDocumentMarkAccess.hxx>
#include <ndtxt.hxx>
diff --git a/sw/source/ui/fldui/fldref.hxx b/sw/source/ui/fldui/fldref.hxx
index afdc6c6e4d2e..a8102aa544d0 100644
--- a/sw/source/ui/fldui/fldref.hxx
+++ b/sw/source/ui/fldui/fldref.hxx
@@ -27,7 +27,6 @@
#include <vcl/edit.hxx>
#include "fldpage.hxx"
-// #i83479#
#include <IDocumentOutlineNodes.hxx>
#include <IDocumentListItems.hxx>
#include <FldRefTreeListBox.hxx>
diff --git a/sw/source/ui/frmdlg/wrap.cxx b/sw/source/ui/frmdlg/wrap.cxx
index bd8364d4eba1..d465fe5823a3 100644
--- a/sw/source/ui/frmdlg/wrap.cxx
+++ b/sw/source/ui/frmdlg/wrap.cxx
@@ -27,7 +27,6 @@
#include <editeng/opaqitem.hxx>
#include <editeng/ulspitem.hxx>
#include <editeng/lrspitem.hxx>
-// #i18732#
#include <fmtfollowtextflow.hxx>
#include <svx/swframevalidation.hxx>
diff --git a/vcl/source/helper/canvastools.cxx b/vcl/source/helper/canvastools.cxx
index f402e7f45b8d..0ef642b8f3c3 100644
--- a/vcl/source/helper/canvastools.cxx
+++ b/vcl/source/helper/canvastools.cxx
@@ -43,8 +43,6 @@
#include <basegfx/vector/b2isize.hxx>
#include <basegfx/point/b2ipoint.hxx>
#include <basegfx/range/b2irectangle.hxx>
-
-// #i79917#
#include <basegfx/polygon/b2dpolygon.hxx>
#include <basegfx/tools/canvastools.hxx>
#include <basegfx/polygon/b2dpolypolygon.hxx>
diff --git a/vcl/win/source/gdi/winlayout.cxx b/vcl/win/source/gdi/winlayout.cxx
index adbb98eb1441..383e23fb9e27 100644
--- a/vcl/win/source/gdi/winlayout.cxx
+++ b/vcl/win/source/gdi/winlayout.cxx
@@ -28,7 +28,6 @@
#include "win/salgdi.h"
#include "win/saldata.hxx"
-// for GetMirroredChar
#include "sft.hxx"
#include "sallayout.hxx"
diff --git a/winaccessibility/source/service/AccResource.cxx b/winaccessibility/source/service/AccResource.cxx
index c01fce039a72..c9965e5c3a5b 100644
--- a/winaccessibility/source/service/AccResource.cxx
+++ b/winaccessibility/source/service/AccResource.cxx
@@ -24,16 +24,6 @@
// ---- needed as long as we have no contexts for components ---
#include <vcl/svapp.hxx>
-//2009.04. Comment the following code because the acc resource is not necessary now. Can open them if necessary
-//#ifndef _TOOLS_INTN_HXX
-//#include <tools/intn.hxx>
-//#endif
-//#ifndef _SOLAR_HRC
-//#include <svtools/solar.hrc>
-//#endif
-
-
-
//= ResourceManager
diff --git a/xmloff/source/chart/PropertyMaps.cxx b/xmloff/source/chart/PropertyMaps.cxx
index 42d0a73d8264..3d19b020c69a 100644
--- a/xmloff/source/chart/PropertyMaps.cxx
+++ b/xmloff/source/chart/PropertyMaps.cxx
@@ -56,7 +56,6 @@
#include <com/sun/star/chart2/XChartDocument.hpp>
#include <com/sun/star/chart2/data/XRangeXMLConversion.hpp>
-// header for any2enum
#include <comphelper/extract.hxx>
#include <rtl/ustrbuf.hxx>
#include <rtl/math.hxx>
diff --git a/xmloff/source/chart/SchXMLEnumConverter.cxx b/xmloff/source/chart/SchXMLEnumConverter.cxx
index c526129268a2..ec04afdbcb8e 100644
--- a/xmloff/source/chart/SchXMLEnumConverter.cxx
+++ b/xmloff/source/chart/SchXMLEnumConverter.cxx
@@ -23,7 +23,6 @@
#include <com/sun/star/chart/ChartLegendExpansion.hpp>
#include <com/sun/star/uno/Any.hxx>
-// header for rtl::Static
#include <rtl/instance.hxx>
using namespace ::xmloff::token;
diff --git a/xmloff/source/chart/SchXMLExport.cxx b/xmloff/source/chart/SchXMLExport.cxx
index 02e3d62d1ec3..5f8ef2ecac1e 100644
--- a/xmloff/source/chart/SchXMLExport.cxx
+++ b/xmloff/source/chart/SchXMLExport.cxx
@@ -46,7 +46,6 @@
#include <xmloff/SchXMLSeriesHelper.hxx>
#include "xexptran.hxx"
#include <rtl/math.hxx>
-// header for any2enum
#include <comphelper/extract.hxx>
#include <list>
diff --git a/xmloff/source/chart/SchXMLSeries2Context.cxx b/xmloff/source/chart/SchXMLSeries2Context.cxx
index 95e0a06ad15c..beebfa0265cf 100644
--- a/xmloff/source/chart/SchXMLSeries2Context.cxx
+++ b/xmloff/source/chart/SchXMLSeries2Context.cxx
@@ -42,7 +42,6 @@
#include <comphelper/processfactory.hxx>
-// header for define DBG_ERROR1
#include <tools/debug.hxx>
#include <rtl/ustrbuf.hxx>
#include <xmloff/xmlnmspe.hxx>
@@ -50,7 +49,6 @@
#include <xmloff/nmspmap.hxx>
#include <xmloff/SchXMLSeriesHelper.hxx>
#include "SchXMLImport.hxx"
-// header for class XMLPropStyleContext
#include <xmloff/prstylei.hxx>
#include <xmloff/xmlprmap.hxx>
diff --git a/xmloff/source/chart/SchXMLSeries2Context.hxx b/xmloff/source/chart/SchXMLSeries2Context.hxx
index 2da8543dbeb1..d4544c0ead6e 100644
--- a/xmloff/source/chart/SchXMLSeries2Context.hxx
+++ b/xmloff/source/chart/SchXMLSeries2Context.hxx
@@ -23,7 +23,6 @@
#include "SchXMLChartContext.hxx"
#include <xmloff/xmlictxt.hxx>
#include <xmloff/SchXMLImportHelper.hxx>
-// header for class SvXMLStyleContext
#include <xmloff/xmlstyle.hxx>
#include <vector>
diff --git a/xmloff/source/chart/SchXMLSeriesHelper.cxx b/xmloff/source/chart/SchXMLSeriesHelper.cxx
index f433bf100938..3535fcbde31e 100644
--- a/xmloff/source/chart/SchXMLSeriesHelper.cxx
+++ b/xmloff/source/chart/SchXMLSeriesHelper.cxx
@@ -26,7 +26,6 @@
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <rtl/ustring.h>
-// header for define DBG_ERROR1
#include <tools/debug.hxx>
#include <typeinfo>
diff --git a/xmloff/source/chart/SchXMLTools.cxx b/xmloff/source/chart/SchXMLTools.cxx
index 7595c3f3dfcd..c9d3d9b1512c 100644
--- a/xmloff/source/chart/SchXMLTools.cxx
+++ b/xmloff/source/chart/SchXMLTools.cxx
@@ -21,15 +21,10 @@
#include <rtl/ustrbuf.hxx>
#include <comphelper/InlineContainer.hxx>
-// header for class SvXMLUnitConverter
#include <xmloff/xmluconv.hxx>
-// header for struct SvXMLEnumMapEntry
#include <xmloff/xmlement.hxx>
-// header for class SvXMLImportPropertyMapper
#include <xmloff/xmlimppr.hxx>
-// header for class XMLPropStyleContext
#include <xmloff/prstylei.hxx>
-// header for class XMLPropertySetMapper
#include <xmloff/xmlprmap.hxx>
#include <xmloff/xmlexp.hxx>
#include <xmloff/xmlnmspe.hxx>
diff --git a/xmloff/source/style/MultiPropertySetHelper.cxx b/xmloff/source/style/MultiPropertySetHelper.cxx
index 191a95426a19..33ea04d9577a 100644
--- a/xmloff/source/style/MultiPropertySetHelper.cxx
+++ b/xmloff/source/style/MultiPropertySetHelper.cxx
@@ -24,7 +24,6 @@
#include <com/sun/star/beans/XMultiPropertySet.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
-// STL includes
#include <algorithm>
diff --git a/xmloff/source/style/xmlimppr.cxx b/xmloff/source/style/xmlimppr.cxx
index 7883c9a35270..87a37a5a2c33 100644
--- a/xmloff/source/style/xmlimppr.cxx
+++ b/xmloff/source/style/xmlimppr.cxx
@@ -36,7 +36,6 @@
#include <xmloff/xmlerror.hxx>
#include <xmloff/contextid.hxx>
-// STL includes
#include <algorithm>
#include <functional>
#include <utility>
diff --git a/xmloff/source/text/XMLTextFrameHyperlinkContext.cxx b/xmloff/source/text/XMLTextFrameHyperlinkContext.cxx
index db577bf0b78c..1e76bd351ec4 100644
--- a/xmloff/source/text/XMLTextFrameHyperlinkContext.cxx
+++ b/xmloff/source/text/XMLTextFrameHyperlinkContext.cxx
@@ -26,7 +26,6 @@
#include "XMLTextFrameContext.hxx"
#include "XMLTextFrameHyperlinkContext.hxx"
-// OD 2004-04-21 #i26791#
#include <txtparaimphint.hxx>
using namespace ::com::sun::star::uno;
diff --git a/xmloff/source/text/txtparai.cxx b/xmloff/source/text/txtparai.cxx
index 3386c344d68a..736064bc226c 100644
--- a/xmloff/source/text/txtparai.cxx
+++ b/xmloff/source/text/txtparai.cxx
@@ -52,10 +52,8 @@
#include "XMLChangeImportContext.hxx"
#include "txtlists.hxx"
-// OD 2004-04-21 #i26791#
#include <txtparaimphint.hxx>
class XMLHints_Impl : public boost::ptr_vector<XMLHint_Impl> {};
-// OD 2004-04-21 #i26791#
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
diff --git a/xmloff/source/text/txtprhdl.cxx b/xmloff/source/text/txtprhdl.cxx
index e0e27a8287e1..d25091e37bb3 100644
--- a/xmloff/source/text/txtprhdl.cxx
+++ b/xmloff/source/text/txtprhdl.cxx
@@ -43,7 +43,6 @@
#include "XMLTextColumnsPropertyHandler.hxx"
#include <xmloff/NamedBoolPropertyHdl.hxx>
#include "txtprhdl.hxx"
-// OD 2004-05-05 #i28701#
#include <com/sun/star/text/WrapInfluenceOnPosition.hpp>
#include <com/sun/star/drawing/TextVerticalAdjust.hpp>
diff --git a/xmloff/source/text/txtstyli.cxx b/xmloff/source/text/txtstyli.cxx
index 54e0f1a36659..47b8d0f44da5 100644
--- a/xmloff/source/text/txtstyli.cxx
+++ b/xmloff/source/text/txtstyli.cxx
@@ -43,7 +43,6 @@
#include <tools/debug.hxx>
#include <tools/diagnose_ex.h>
-// STL includes
#include <algorithm>
#include <functional>
#include <utility>