summaryrefslogtreecommitdiffstats
path: root/include
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 /include
parentTerminating NUL at end of its buffer is not considered part of OUString (diff)
downloadcore-a7724966ab4fc8cd680a20e4f2a65f276e001a39.tar.gz
core-a7724966ab4fc8cd680a20e4f2a65f276e001a39.zip
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 'include')
-rw-r--r--include/canvas/canvastools.hxx2
-rw-r--r--include/comphelper/sequence.hxx2
-rw-r--r--include/comphelper/stl_types.hxx2
-rw-r--r--include/editeng/editeng.hxx2
-rw-r--r--include/editeng/outliner.hxx2
-rw-r--r--include/editeng/svxfont.hxx2
-rw-r--r--include/formula/opcode.hxx2
-rw-r--r--include/linguistic/hyphdta.hxx4
-rw-r--r--include/linguistic/misc.hxx4
-rw-r--r--include/o3tl/range.hxx2
-rw-r--r--include/sfx2/opengrf.hxx2
-rw-r--r--include/svl/itemset.hxx2
-rw-r--r--include/svx/sdrpagewindow.hxx2
-rw-r--r--include/svx/svdlayer.hxx2
-rw-r--r--include/svx/svdmodel.hxx2
-rw-r--r--include/svx/svdobj.hxx4
-rw-r--r--include/svx/svdotext.hxx2
-rw-r--r--include/svx/svdpntv.hxx2
-rw-r--r--include/svx/svdundo.hxx2
-rw-r--r--include/toolkit/awt/vclxwindow.hxx2
-rw-r--r--include/vcl/builder.hxx2
-rw-r--r--include/xmloff/xformsimport.hxx2
-rw-r--r--include/xmloff/xmlcnimp.hxx4
23 files changed, 27 insertions, 27 deletions
diff --git a/include/canvas/canvastools.hxx b/include/canvas/canvastools.hxx
index fd6dadd0a791..a4cebb828711 100644
--- a/include/canvas/canvastools.hxx
+++ b/include/canvas/canvastools.hxx
@@ -29,7 +29,7 @@
#include <osl/diagnose.h>
#include <rtl/ustring.hxx>
-#include <string.h> // for strcmp
+#include <string.h>
#include <vector>
#include <limits>
#include <algorithm>
diff --git a/include/comphelper/sequence.hxx b/include/comphelper/sequence.hxx
index ad1e8943b952..4ac16a3a80a5 100644
--- a/include/comphelper/sequence.hxx
+++ b/include/comphelper/sequence.hxx
@@ -20,7 +20,7 @@
#ifndef _COMPHELPER_SEQUENCE_HXX_
#define _COMPHELPER_SEQUENCE_HXX_
-#include <algorithm> // copy algorithm
+#include <algorithm>
#include <com/sun/star/uno/Sequence.hxx>
#include <osl/diagnose.h>
#include "comphelper/comphelperdllapi.h"
diff --git a/include/comphelper/stl_types.hxx b/include/comphelper/stl_types.hxx
index cb96dbd4e12b..a80cd4feac0f 100644
--- a/include/comphelper/stl_types.hxx
+++ b/include/comphelper/stl_types.hxx
@@ -27,7 +27,7 @@
#include <stack>
#include <set>
-#include <math.h> // prevent conflict between exception and std::exception
+#include <math.h>
#include <functional>
diff --git a/include/editeng/editeng.hxx b/include/editeng/editeng.hxx
index 5500b13433a6..6cd489d00f9b 100644
--- a/include/editeng/editeng.hxx
+++ b/include/editeng/editeng.hxx
@@ -32,7 +32,7 @@
#include "editeng/editengdllapi.h"
#include <tools/lineend.hxx>
-#include <tools/rtti.hxx> // due to typedef TypeId
+#include <tools/rtti.hxx>
#include <editeng/eedata.hxx>
diff --git a/include/editeng/outliner.hxx b/include/editeng/outliner.hxx
index b8f1236567d7..1625783be32b 100644
--- a/include/editeng/outliner.hxx
+++ b/include/editeng/outliner.hxx
@@ -35,7 +35,7 @@
#include <svtools/grfmgr.hxx>
-#include <tools/rtti.hxx> // due to typedef TypeId
+#include <tools/rtti.hxx>
#include <vector>
class OutlinerEditEng;
diff --git a/include/editeng/svxfont.hxx b/include/editeng/svxfont.hxx
index 2d848ab8d9fd..14334f4865bf 100644
--- a/include/editeng/svxfont.hxx
+++ b/include/editeng/svxfont.hxx
@@ -19,7 +19,7 @@
#ifndef _SVX_SVXFONT_HXX
#define _SVX_SVXFONT_HXX
-#include <limits.h> // USHRT_MAX
+#include <limits.h>
#include <editeng/svxenum.hxx>
#include <i18nlangtag/lang.h>
#include <vcl/font.hxx>
diff --git a/include/formula/opcode.hxx b/include/formula/opcode.hxx
index ae109c5544d4..384bd0d5d798 100644
--- a/include/formula/opcode.hxx
+++ b/include/formula/opcode.hxx
@@ -20,7 +20,7 @@
#ifndef FORMULA_OPCODE_HXX
#define FORMULA_OPCODE_HXX
-#include "formula/compiler.hrc" // OpCodes
+#include "formula/compiler.hrc"
#include <tools/solar.h>
enum OpCodeEnum
diff --git a/include/linguistic/hyphdta.hxx b/include/linguistic/hyphdta.hxx
index 9dec2d6dc15e..0fb1d5ecb75e 100644
--- a/include/linguistic/hyphdta.hxx
+++ b/include/linguistic/hyphdta.hxx
@@ -23,8 +23,8 @@
#include <com/sun/star/linguistic2/XHyphenatedWord.hpp>
#include <com/sun/star/linguistic2/XPossibleHyphens.hpp>
#include <tools/solar.h>
-#include <uno/lbnames.h> // CPPU_CURRENT_LANGUAGE_BINDING_NAME macro, which specify the environment type
-#include <cppuhelper/implbase1.hxx> // helper for implementations
+#include <uno/lbnames.h>
+#include <cppuhelper/implbase1.hxx>
#include <linguistic/lngdllapi.h>
namespace linguistic
diff --git a/include/linguistic/misc.hxx b/include/linguistic/misc.hxx
index 546ab574f6a6..0a3688e918bd 100644
--- a/include/linguistic/misc.hxx
+++ b/include/linguistic/misc.hxx
@@ -31,8 +31,8 @@
#include <com/sun/star/linguistic2/XHyphenatedWord.hpp>
#include <com/sun/star/linguistic2/XLinguProperties.hpp>
-#include <uno/lbnames.h> // CPPU_CURRENT_LANGUAGE_BINDING_NAME macro, which specify the environment type
-#include <cppuhelper/implbase1.hxx> // helper for implementations
+#include <uno/lbnames.h>
+#include <cppuhelper/implbase1.hxx>
#include <unotools/pathoptions.hxx>
#include <i18nlangtag/lang.h>
#include <rtl/ustring.hxx>
diff --git a/include/o3tl/range.hxx b/include/o3tl/range.hxx
index a5ebacb4c6b8..1a28784a41bd 100644
--- a/include/o3tl/range.hxx
+++ b/include/o3tl/range.hxx
@@ -21,7 +21,7 @@
#define INCLUDED_O3TL_RANGE_HXX
-#include <cstring> // for std::size_t
+#include <cstring>
#include <boost/assert.hpp>
diff --git a/include/sfx2/opengrf.hxx b/include/sfx2/opengrf.hxx
index b6f8ef641464..13e7a6bcd84b 100644
--- a/include/sfx2/opengrf.hxx
+++ b/include/sfx2/opengrf.hxx
@@ -19,7 +19,7 @@
#ifndef _SFX2_OPENGRF_HXX
#define _SFX2_OPENGRF_HXX
-#include <memory> // auto_ptr
+#include <memory>
#include <vcl/graphicfilter.hxx>
#include <sfx2/dllapi.h>
diff --git a/include/svl/itemset.hxx b/include/svl/itemset.hxx
index a38398ac1ce7..1a4b121a56a9 100644
--- a/include/svl/itemset.hxx
+++ b/include/svl/itemset.hxx
@@ -21,7 +21,7 @@
#include "svl/svldllapi.h"
-#include <cstdarg> // std::va_list and friends
+#include <cstdarg>
#include <svl/poolitem.hxx>
#include <tools/rtti.hxx>
#include <tools/solar.h>
diff --git a/include/svx/sdrpagewindow.hxx b/include/svx/sdrpagewindow.hxx
index 85584d724b67..5446a14366b1 100644
--- a/include/svx/sdrpagewindow.hxx
+++ b/include/svx/sdrpagewindow.hxx
@@ -26,7 +26,7 @@
#include <com/sun/star/util/XModeChangeListener.hpp>
#include <cppuhelper/implbase4.hxx>
#include <svx/sdr/overlay/overlaymanager.hxx>
-#include <svx/svdtypes.hxx> // for SdrLayerID
+#include <svx/svdtypes.hxx>
#include <svx/sdrpagewindow.hxx>
#include "svx/svxdllapi.h"
diff --git a/include/svx/svdlayer.hxx b/include/svx/svdlayer.hxx
index 43c65b007be7..1f827e69e563 100644
--- a/include/svx/svdlayer.hxx
+++ b/include/svx/svdlayer.hxx
@@ -22,7 +22,7 @@
#include <tools/stream.hxx>
#include <svx/svdsob.hxx>
-#include <svx/svdtypes.hxx> // fuer typedef SdrLayerID
+#include <svx/svdtypes.hxx>
#include "svx/svxdllapi.h"
#include <algorithm>
diff --git a/include/svx/svdmodel.hxx b/include/svx/svdmodel.hxx
index 03efa0445847..4e8b4e5c7d88 100644
--- a/include/svx/svdmodel.hxx
+++ b/include/svx/svdmodel.hxx
@@ -39,7 +39,7 @@
#include <boost/shared_ptr.hpp>
class OutputDevice;
-#include <svx/svdtypes.hxx> // fuer enum RepeatFuncts
+#include <svx/svdtypes.hxx>
#include "svx/svxdllapi.h"
#include <rtl/ref.hxx>
diff --git a/include/svx/svdobj.hxx b/include/svx/svdobj.hxx
index 18660b70c6a1..f92c843193c8 100644
--- a/include/svx/svdobj.hxx
+++ b/include/svx/svdobj.hxx
@@ -28,8 +28,8 @@
#include <svl/lstner.hxx>
#include <svl/poolitem.hxx>
#include <svx/svdsob.hxx>
-#include <svx/svdtypes.hxx> // fuer SdrLayerID
-#include <svx/svdglue.hxx> // Klebepunkte
+#include <svx/svdtypes.hxx>
+#include <svx/svdglue.hxx>
#include <svx/xdash.hxx>
#include <svx/xpoly.hxx>
#include <svx/xenum.hxx>
diff --git a/include/svx/svdotext.hxx b/include/svx/svdotext.hxx
index 4ffc9fc1a156..6ac698e484a5 100644
--- a/include/svx/svdotext.hxx
+++ b/include/svx/svdotext.hxx
@@ -23,7 +23,7 @@
#include <vcl/field.hxx>
#include <svx/itextprovider.hxx>
#include <svx/svdoattr.hxx>
-#include <svx/svdtrans.hxx> // GeoStat
+#include <svx/svdtrans.hxx>
#include <tools/datetime.hxx>
#include <svx/xtextit0.hxx>
#include "svdtext.hxx"
diff --git a/include/svx/svdpntv.hxx b/include/svx/svdpntv.hxx
index f6a68f56c897..e383fd1eb218 100644
--- a/include/svx/svdpntv.hxx
+++ b/include/svx/svdpntv.hxx
@@ -25,7 +25,7 @@
#include <svl/smplhint.hxx>
#include <svl/undo.hxx>
#include <svx/svddrag.hxx>
-#include <svx/svdlayer.hxx> // fuer SetOfByte
+#include <svx/svdlayer.hxx>
#include <vcl/window.hxx>
#include <svtools/colorcfg.hxx>
#include <com/sun/star/awt/XControlContainer.hpp>
diff --git a/include/svx/svdundo.hxx b/include/svx/svdundo.hxx
index ab2c8a5d0b60..3aba3914cb02 100644
--- a/include/svx/svdundo.hxx
+++ b/include/svx/svdundo.hxx
@@ -24,7 +24,7 @@
#include <svl/undo.hxx>
#include <svl/style.hxx>
#include <tools/gen.hxx>
-#include <svx/svdtypes.hxx> // for enum RepeatFuncts
+#include <svx/svdtypes.hxx>
#include <svx/svdsob.hxx>
#include "svx/svxdllapi.h"
diff --git a/include/toolkit/awt/vclxwindow.hxx b/include/toolkit/awt/vclxwindow.hxx
index 715b355928da..620fd8c82c6d 100644
--- a/include/toolkit/awt/vclxwindow.hxx
+++ b/include/toolkit/awt/vclxwindow.hxx
@@ -39,7 +39,7 @@
#include <cppuhelper/implbase9.hxx>
#include <osl/mutex.hxx>
-#include <tools/gen.hxx> // Size
+#include <tools/gen.hxx>
#include <tools/link.hxx>
#include <stdarg.h>
diff --git a/include/vcl/builder.hxx b/include/vcl/builder.hxx
index 5d2fa6b1f20b..5db1a7c3c70d 100644
--- a/include/vcl/builder.hxx
+++ b/include/vcl/builder.hxx
@@ -12,7 +12,7 @@
#include <typeinfo>
#include <osl/module.hxx>
-#include <tools/resmgr.hxx> //for poxy ResHookProc typedef
+#include <tools/resmgr.hxx>
#include <vcl/dllapi.h>
#include <vcl/window.hxx>
#include <xmlreader/xmlreader.hxx>
diff --git a/include/xmloff/xformsimport.hxx b/include/xmloff/xformsimport.hxx
index b6770320dbd3..d0b244ac1f08 100644
--- a/include/xmloff/xformsimport.hxx
+++ b/include/xmloff/xformsimport.hxx
@@ -22,7 +22,7 @@
#include "sal/config.h"
#include "xmloff/dllapi.h"
-#include <tools/solar.h> // for sal_uInt16
+#include <tools/solar.h>
#include <com/sun/star/uno/Reference.hxx>
class SvXMLImport;
diff --git a/include/xmloff/xmlcnimp.hxx b/include/xmloff/xmlcnimp.hxx
index f99c0a55ad73..fa6fcb3e9df0 100644
--- a/include/xmloff/xmlcnimp.hxx
+++ b/include/xmloff/xmlcnimp.hxx
@@ -20,8 +20,8 @@
#ifndef _XMLOFF_XMLCNIMP_HXX
#define _XMLOFF_XMLCNIMP_HXX
-#include "xmloff/dllapi.h" //XMLOFF_DLLPUBLIC
-#include <sal/types.h> //sal_uInt16 and sal_Bool
+#include "xmloff/dllapi.h"
+#include <sal/types.h>
#include <boost/scoped_ptr.hpp>
class SvXMLAttrCollection; //Forward declaration only.