summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2013-10-22 15:58:57 +0300
committerTor Lillqvist <tml@collabora.com>2013-10-22 16:56:28 +0300
commita7724966ab4fc8cd680a20e4f2a65f276e001a39 (patch)
tree5aeb953a7172ea061c7884be8c19849b9e2d81d8 /sd
parent1cbe2313edda8a04f0fe233b4a29ef4e2485f557 (diff)
Bin comments that claim to say why some header is included
They are practically always useless, often misleading or obsolete. Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
Diffstat (limited to 'sd')
-rw-r--r--sd/source/core/drawdoc2.cxx2
-rw-r--r--sd/source/core/drawdoc4.cxx2
-rw-r--r--sd/source/core/stlpool.cxx2
-rw-r--r--sd/source/filter/eppt/pptx-text.cxx2
-rw-r--r--sd/source/filter/html/htmlex.cxx2
-rw-r--r--sd/source/filter/html/htmlex.hxx2
-rw-r--r--sd/source/ui/annotations/annotationwindow.cxx2
-rw-r--r--sd/source/ui/func/fuoaprms.cxx4
-rw-r--r--sd/source/ui/func/fuoltext.cxx2
-rw-r--r--sd/source/ui/func/fuscale.cxx2
-rw-r--r--sd/source/ui/func/futempl.cxx6
-rw-r--r--sd/source/ui/inc/prltempl.hxx2
-rw-r--r--sd/source/ui/inc/pubdlg.hxx2
-rw-r--r--sd/source/ui/inc/unprlout.hxx2
-rw-r--r--sd/source/ui/remotecontrol/BluetoothServer.cxx2
-rw-r--r--sd/source/ui/remotecontrol/DiscoveryService.cxx2
-rw-r--r--sd/source/ui/remotecontrol/OSXBluetooth.mm2
-rw-r--r--sd/source/ui/remotecontrol/OSXNetworkService.hxx2
-rw-r--r--sd/source/ui/remotecontrol/OSXNetworkService.mm2
-rwxr-xr-xsd/source/ui/remotecontrol/mDNSResponder/dnssd_clientstub.c2
-rw-r--r--sd/source/ui/view/drviewsi.cxx4
-rw-r--r--sd/source/ui/view/unmodpg.cxx4
-rw-r--r--sd/source/ui/view/viewshe3.cxx4
23 files changed, 29 insertions, 29 deletions
diff --git a/sd/source/core/drawdoc2.cxx b/sd/source/core/drawdoc2.cxx
index 655934f5b5bc..4a77d2a949f7 100644
--- a/sd/source/core/drawdoc2.cxx
+++ b/sd/source/core/drawdoc2.cxx
@@ -39,7 +39,7 @@
#include <sfx2/linkmgr.hxx>
#include <editeng/editdata.hxx>
#include <svx/dialogs.hrc>
-#include <svx/dialmgr.hxx> // SVX_RESSTR
+#include <svx/dialmgr.hxx>
#include <editeng/outliner.hxx>
#include <svx/svditer.hxx>
diff --git a/sd/source/core/drawdoc4.cxx b/sd/source/core/drawdoc4.cxx
index ab8064c1cc73..453b616e49ee 100644
--- a/sd/source/core/drawdoc4.cxx
+++ b/sd/source/core/drawdoc4.cxx
@@ -41,7 +41,7 @@
#include <editeng/adjustitem.hxx>
#include <editeng/numdef.hxx>
#include <svx/dialogs.hrc>
-#include <svx/dialmgr.hxx> // SVX_RESSTR
+#include <svx/dialmgr.hxx>
#include <editeng/bulletitem.hxx>
#include <svx/xtable.hxx>
#include <svx/sxmsuitm.hxx>
diff --git a/sd/source/core/stlpool.cxx b/sd/source/core/stlpool.cxx
index aea4a9286ee9..5d90facdce2c 100644
--- a/sd/source/core/stlpool.cxx
+++ b/sd/source/core/stlpool.cxx
@@ -45,7 +45,7 @@
#include <svx/svdattr.hxx>
#include <editeng/outliner.hxx>
-#include <svx/xtable.hxx> // for RGB_Color
+#include <svx/xtable.hxx>
#include <editeng/bulletitem.hxx>
#include <editeng/lrspitem.hxx>
#include <editeng/adjustitem.hxx>
diff --git a/sd/source/filter/eppt/pptx-text.cxx b/sd/source/filter/eppt/pptx-text.cxx
index 3942e797ed7d..0199ad0cdf57 100644
--- a/sd/source/filter/eppt/pptx-text.cxx
+++ b/sd/source/filter/eppt/pptx-text.cxx
@@ -43,7 +43,7 @@
#include <i18nutil/scripttypedetector.hxx>
#include <sfx2/app.hxx>
#include <svl/languageoptions.hxx>
-#include <oox/export/drawingml.hxx> // for SubstituteBullet
+#include <oox/export/drawingml.hxx>
#include <vcl/metric.hxx>
#include <vcl/outdev.hxx>
#include <vcl/virdev.hxx>
diff --git a/sd/source/filter/html/htmlex.cxx b/sd/source/filter/html/htmlex.cxx
index 356a56d8ba29..013d50d43031 100644
--- a/sd/source/filter/html/htmlex.cxx
+++ b/sd/source/filter/html/htmlex.cxx
@@ -62,7 +62,7 @@
#include <svl/style.hxx>
#include <editeng/frmdiritem.hxx>
#include <svx/svdoutl.hxx>
-#include <tools/urlobj.hxx> // INetURLObject
+#include <tools/urlobj.hxx>
#include <vcl/bmpacc.hxx>
#include <svtools/sfxecode.hxx>
#include <com/sun/star/beans/PropertyState.hpp>
diff --git a/sd/source/filter/html/htmlex.hxx b/sd/source/filter/html/htmlex.hxx
index 85a32e7e8c34..279e59d3f7fe 100644
--- a/sd/source/filter/html/htmlex.hxx
+++ b/sd/source/filter/html/htmlex.hxx
@@ -24,7 +24,7 @@
#include <com/sun/star/ucb/XSimpleFileAccess3.hpp>
#include <vcl/gdimtf.hxx>
#include <svl/itemset.hxx>
-#include "resltn.hxx" // enum PublishingResolution
+#include "resltn.hxx"
#include <svtools/colrdlg.hxx>
#include <svtools/ehdl.hxx>
diff --git a/sd/source/ui/annotations/annotationwindow.cxx b/sd/source/ui/annotations/annotationwindow.cxx
index 40db29168aa4..0c8fb7c14ef5 100644
--- a/sd/source/ui/annotations/annotationwindow.cxx
+++ b/sd/source/ui/annotations/annotationwindow.cxx
@@ -33,7 +33,7 @@
#include <svx/svdview.hxx>
#include <svx/sdrpaintwindow.hxx>
#include <svx/sdr/overlay/overlaymanager.hxx>
-#include <editeng/editstat.hxx> //EditEngine flags
+#include <editeng/editstat.hxx>
#include <editeng/outliner.hxx>
#include <editeng/editeng.hxx>
#include <editeng/editobj.hxx>
diff --git a/sd/source/ui/func/fuoaprms.cxx b/sd/source/ui/func/fuoaprms.cxx
index 963a88a32f95..00ffe8778488 100644
--- a/sd/source/ui/func/fuoaprms.cxx
+++ b/sd/source/ui/func/fuoaprms.cxx
@@ -37,8 +37,8 @@
#include "drawdoc.hxx"
#include "ViewShell.hxx"
#include "anminfo.hxx"
-#include "unoaprms.hxx" // Undo-Action
-#include "sdundogr.hxx" // Undo Group
+#include "unoaprms.hxx"
+#include "sdundogr.hxx"
#include "View.hxx"
#include "sdabstdlg.hxx"
#include "sdresid.hxx"
diff --git a/sd/source/ui/func/fuoltext.cxx b/sd/source/ui/func/fuoltext.cxx
index c1f259f4bfc4..abc7c2052473 100644
--- a/sd/source/ui/func/fuoltext.cxx
+++ b/sd/source/ui/func/fuoltext.cxx
@@ -35,7 +35,7 @@
#include "ViewShell.hxx"
#include "OutlineViewShell.hxx"
-#include <stdio.h> // for SlotFilter listing
+#include <stdio.h>
namespace sd {
diff --git a/sd/source/ui/func/fuscale.cxx b/sd/source/ui/func/fuscale.cxx
index 59f67d7038ca..a63a16f5ceea 100644
--- a/sd/source/ui/func/fuscale.cxx
+++ b/sd/source/ui/func/fuscale.cxx
@@ -29,7 +29,7 @@
#include "drawdoc.hxx"
#include "DrawViewShell.hxx"
#include "ViewShell.hxx"
-#include "fuzoom.hxx" // because of SidArrayZoom[]
+#include "fuzoom.hxx"
#include <vcl/msgbox.hxx>
#include <svx/svdpagv.hxx>
diff --git a/sd/source/ui/func/futempl.cxx b/sd/source/ui/func/futempl.cxx
index 125dc5f10074..6b5aeaa241f5 100644
--- a/sd/source/ui/func/futempl.cxx
+++ b/sd/source/ui/func/futempl.cxx
@@ -25,7 +25,7 @@
#include <editeng/editdata.hxx>
#include <editeng/bulletitem.hxx>
-#include <svx/svxids.hrc> // fuer SID_OBJECT_SELECT
+#include <svx/svxids.hrc>
#include <sfx2/bindings.hxx>
#include <svl/aeitem.hxx>
#include <sfx2/dispatch.hxx>
@@ -57,8 +57,8 @@
#include "ViewShell.hxx"
#include "res_bmp.hrc"
#include "glob.hrc"
-#include "prlayout.hxx" // enum PresentationObjects
-#include "prltempl.hrc" // TAB_PRES_LAYOUT_TEMPLATE_x
+#include "prlayout.hxx"
+#include "prltempl.hrc"
#include <svx/xfillit.hxx>
#include "sdresid.hxx"
#include "OutlineViewShell.hxx"
diff --git a/sd/source/ui/inc/prltempl.hxx b/sd/source/ui/inc/prltempl.hxx
index 7904b1ddeaf0..761c9b4a8604 100644
--- a/sd/source/ui/inc/prltempl.hxx
+++ b/sd/source/ui/inc/prltempl.hxx
@@ -25,7 +25,7 @@
#include <sfx2/tabdlg.hxx>
#include <svx/tabarea.hxx>
-#include "prlayout.hxx" // for enum PresentationObjects
+#include "prlayout.hxx"
class SfxObjectShell;
diff --git a/sd/source/ui/inc/pubdlg.hxx b/sd/source/ui/inc/pubdlg.hxx
index e4b21fe9ed83..0fe5bffed278 100644
--- a/sd/source/ui/inc/pubdlg.hxx
+++ b/sd/source/ui/inc/pubdlg.hxx
@@ -26,7 +26,7 @@
#include <vcl/button.hxx>
#include <vcl/field.hxx>
#include <vcl/dialog.hxx>
-#include "resltn.hxx" // enum PublishingResolution
+#include "resltn.hxx"
#include "pres.hxx"
#include "assclass.hxx"
diff --git a/sd/source/ui/inc/unprlout.hxx b/sd/source/ui/inc/unprlout.hxx
index 43bb74bf90d7..2a595f314d20 100644
--- a/sd/source/ui/inc/unprlout.hxx
+++ b/sd/source/ui/inc/unprlout.hxx
@@ -21,7 +21,7 @@
#define _SD_UNPRLOUT_HXX
#include "sdundo.hxx"
-#include "pres.hxx" // enum AutoLayout
+#include "pres.hxx"
class SdDrawDocument;
class SdPage;
diff --git a/sd/source/ui/remotecontrol/BluetoothServer.cxx b/sd/source/ui/remotecontrol/BluetoothServer.cxx
index 1deab3c6668b..9797f3953906 100644
--- a/sd/source/ui/remotecontrol/BluetoothServer.cxx
+++ b/sd/source/ui/remotecontrol/BluetoothServer.cxx
@@ -38,7 +38,7 @@
#endif
#ifdef MACOSX
- #include <osl/conditn.hxx> // Include this early to avoid error as check() gets defined by some SDK header to empty
+ #include <osl/conditn.hxx>
#include <premac.h>
#if MACOSX_SDK_VERSION == 1070 || MACOSX_SDK_VERSION == 1080
#import <IOBluetooth/IOBluetooth.h>
diff --git a/sd/source/ui/remotecontrol/DiscoveryService.cxx b/sd/source/ui/remotecontrol/DiscoveryService.cxx
index 94252f7f4603..f72c3b861339 100644
--- a/sd/source/ui/remotecontrol/DiscoveryService.cxx
+++ b/sd/source/ui/remotecontrol/DiscoveryService.cxx
@@ -39,7 +39,7 @@
#endif
#ifdef MACOSX
- #include <osl/conditn.hxx> // Include this early to avoid error as check() gets defined by some SDK header to empty
+ #include <osl/conditn.hxx>
#include <premac.h>
#import <CoreFoundation/CoreFoundation.h>
#include <postmac.h>
diff --git a/sd/source/ui/remotecontrol/OSXBluetooth.mm b/sd/source/ui/remotecontrol/OSXBluetooth.mm
index f364389df78e..93415f712629 100644
--- a/sd/source/ui/remotecontrol/OSXBluetooth.mm
+++ b/sd/source/ui/remotecontrol/OSXBluetooth.mm
@@ -6,7 +6,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#include <osl/conditn.hxx> // Include this early to avoid error as check() gets defined by some SDK header to empty
+#include <osl/conditn.hxx>
#include <premac.h>
#import <IOBluetooth/objc/IOBluetoothRFCOMMChannel.h>
diff --git a/sd/source/ui/remotecontrol/OSXNetworkService.hxx b/sd/source/ui/remotecontrol/OSXNetworkService.hxx
index e9be573811b0..81edff37218b 100644
--- a/sd/source/ui/remotecontrol/OSXNetworkService.hxx
+++ b/sd/source/ui/remotecontrol/OSXNetworkService.hxx
@@ -17,7 +17,7 @@
#include <vector>
#include <iostream>
-#include <osl/conditn.hxx> // Include this early to avoid error as check() gets defined by some SDK header to empty
+#include <osl/conditn.hxx>
#include <premac.h>
#import <CoreFoundation/CoreFoundation.h>
#include <postmac.h>
diff --git a/sd/source/ui/remotecontrol/OSXNetworkService.mm b/sd/source/ui/remotecontrol/OSXNetworkService.mm
index ef8c32f5678d..a03c1d5e7998 100644
--- a/sd/source/ui/remotecontrol/OSXNetworkService.mm
+++ b/sd/source/ui/remotecontrol/OSXNetworkService.mm
@@ -6,7 +6,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#include <osl/conditn.hxx> // Include this early to avoid error as check() gets defined by some SDK header to empty
+#include <osl/conditn.hxx>
#include <premac.h>
#import <CoreFoundation/CoreFoundation.h>
diff --git a/sd/source/ui/remotecontrol/mDNSResponder/dnssd_clientstub.c b/sd/source/ui/remotecontrol/mDNSResponder/dnssd_clientstub.c
index 5dcc196c65ad..63e8f6326e1b 100755
--- a/sd/source/ui/remotecontrol/mDNSResponder/dnssd_clientstub.c
+++ b/sd/source/ui/remotecontrol/mDNSResponder/dnssd_clientstub.c
@@ -79,7 +79,7 @@ static void syslog( int priority, const char * message, ...)
}
#else
- #include <sys/fcntl.h> // For O_RDWR etc.
+ #include <sys/fcntl.h>
#include <sys/time.h>
#include <sys/socket.h>
#include <syslog.h>
diff --git a/sd/source/ui/view/drviewsi.cxx b/sd/source/ui/view/drviewsi.cxx
index 6a92a7491f3b..049eb3b131db 100644
--- a/sd/source/ui/view/drviewsi.cxx
+++ b/sd/source/ui/view/drviewsi.cxx
@@ -43,8 +43,8 @@
#include "drawdoc.hxx"
#include "DrawDocShell.hxx"
#include "anminfo.hxx"
-#include "unoaprms.hxx" // Undo-Action
-#include "sdundogr.hxx" // Undo Gruppe
+#include "unoaprms.hxx"
+#include "sdundogr.hxx"
#include "drawview.hxx"
#include "Window.hxx"
#include "sdresid.hxx"
diff --git a/sd/source/ui/view/unmodpg.cxx b/sd/source/ui/view/unmodpg.cxx
index 13df39611912..a59efad935c0 100644
--- a/sd/source/ui/view/unmodpg.cxx
+++ b/sd/source/ui/view/unmodpg.cxx
@@ -23,8 +23,8 @@
#include "strings.hrc"
#include "glob.hxx"
-#include "glob.hrc" // STR_BCKGRND, STR_BCKGRNDOBJ
-#include "app.hrc" // SID_SWITCHPAGE
+#include "glob.hrc"
+#include "app.hrc"
#include "unmodpg.hxx"
#include "sdpage.hxx"
diff --git a/sd/source/ui/view/viewshe3.cxx b/sd/source/ui/view/viewshe3.cxx
index 643550c5d464..3c2b5d0ae5a5 100644
--- a/sd/source/ui/view/viewshe3.cxx
+++ b/sd/source/ui/view/viewshe3.cxx
@@ -61,8 +61,8 @@
#include "sdattr.hxx"
#include "drawdoc.hxx"
#include "sdpage.hxx"
-#include "unoaprms.hxx" // Undo-Action
-#include "sdundogr.hxx" // Undo Gruppe
+#include "unoaprms.hxx"
+#include "sdundogr.hxx"
#include "Window.hxx"
#include "DrawDocShell.hxx"
#include "FrameView.hxx"