summaryrefslogtreecommitdiff
path: root/xmloff
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 /xmloff
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 'xmloff')
-rw-r--r--xmloff/source/core/SvXMLAttr.cxx2
-rw-r--r--xmloff/source/core/SvXMLAttr.hxx2
-rw-r--r--xmloff/source/core/SvXMLAttrCollection.cxx2
-rw-r--r--xmloff/source/core/SvXMLAttrCollection.hxx6
-rw-r--r--xmloff/source/forms/elementexport.cxx2
-rw-r--r--xmloff/source/forms/formenums.cxx2
-rw-r--r--xmloff/source/forms/layerimport.cxx2
-rw-r--r--xmloff/source/style/xmlnumfe.cxx2
-rw-r--r--xmloff/source/text/XMLPropertyBackpatcher.cxx2
-rw-r--r--xmloff/source/text/XMLSectionExport.cxx2
10 files changed, 12 insertions, 12 deletions
diff --git a/xmloff/source/core/SvXMLAttr.cxx b/xmloff/source/core/SvXMLAttr.cxx
index 1a870decc4db..3b0bfa8931f6 100644
--- a/xmloff/source/core/SvXMLAttr.cxx
+++ b/xmloff/source/core/SvXMLAttr.cxx
@@ -7,7 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#include <limits.h> //USHRT_MAX
+#include <limits.h>
#include "SvXMLAttr.hxx"
SvXMLAttr::SvXMLAttr( const OUString& rLName,
diff --git a/xmloff/source/core/SvXMLAttr.hxx b/xmloff/source/core/SvXMLAttr.hxx
index 08db830c6cfd..0a60075e5088 100644
--- a/xmloff/source/core/SvXMLAttr.hxx
+++ b/xmloff/source/core/SvXMLAttr.hxx
@@ -10,7 +10,7 @@
#ifndef _XMLOFF_SVXMLATTR_HXX
#define _XMLOFF_SVXMLATTR_HXX
-#include <rtl/ustring.hxx> //OUString
+#include <rtl/ustring.hxx>
class SvXMLAttr {
private:
diff --git a/xmloff/source/core/SvXMLAttrCollection.cxx b/xmloff/source/core/SvXMLAttrCollection.cxx
index d52793a87e86..c0aa7a0b1ac5 100644
--- a/xmloff/source/core/SvXMLAttrCollection.cxx
+++ b/xmloff/source/core/SvXMLAttrCollection.cxx
@@ -8,7 +8,7 @@
*/
#include "SvXMLAttrCollection.hxx"
-#include <limits.h> //USHRT_MAX
+#include <limits.h>
bool SvXMLAttrCollection::operator ==( const SvXMLAttrCollection& rCmp ) const
{
diff --git a/xmloff/source/core/SvXMLAttrCollection.hxx b/xmloff/source/core/SvXMLAttrCollection.hxx
index 644908de85b0..f9627c950e2f 100644
--- a/xmloff/source/core/SvXMLAttrCollection.hxx
+++ b/xmloff/source/core/SvXMLAttrCollection.hxx
@@ -12,9 +12,9 @@
#include "SvXMLAttr.hxx"
-#include <xmloff/nmspmap.hxx> //SvXMLNamespaceMap
-#include <rtl/ustring.hxx> //OUString
-#include <sal/types.h> //sal_uInt16 and sal_Bool
+#include <xmloff/nmspmap.hxx>
+#include <rtl/ustring.hxx>
+#include <sal/types.h>
#include <vector>
class SvXMLAttrCollection
diff --git a/xmloff/source/forms/elementexport.cxx b/xmloff/source/forms/elementexport.cxx
index 749e64dcf846..3cc3229e1c1d 100644
--- a/xmloff/source/forms/elementexport.cxx
+++ b/xmloff/source/forms/elementexport.cxx
@@ -44,7 +44,7 @@
#include <com/sun/star/awt/ImagePosition.hpp>
#include <sax/tools/converter.hxx>
-#include <tools/wintypes.hxx> // for check states
+#include <tools/wintypes.hxx>
#include <xmloff/txtprmap.hxx>
#include <com/sun/star/form/binding/XBindableValue.hpp>
#include <com/sun/star/form/binding/XListEntrySink.hpp>
diff --git a/xmloff/source/forms/formenums.cxx b/xmloff/source/forms/formenums.cxx
index a6b7564b4752..4969efe07ce7 100644
--- a/xmloff/source/forms/formenums.cxx
+++ b/xmloff/source/forms/formenums.cxx
@@ -33,7 +33,7 @@
#include <com/sun/star/awt/ScrollBarOrientation.hpp>
#include <com/sun/star/awt/VisualEffect.hpp>
#include <com/sun/star/awt/ImageScaleMode.hpp>
-#include <tools/wintypes.hxx> // for check states
+#include <tools/wintypes.hxx>
#include <xmloff/xmltoken.hxx>
namespace xmloff
diff --git a/xmloff/source/forms/layerimport.cxx b/xmloff/source/forms/layerimport.cxx
index 5387c2c73dd1..d115e5ba571a 100644
--- a/xmloff/source/forms/layerimport.cxx
+++ b/xmloff/source/forms/layerimport.cxx
@@ -41,7 +41,7 @@
#include <com/sun/star/awt/ScrollBarOrientation.hpp>
#include <com/sun/star/awt/VisualEffect.hpp>
#include <com/sun/star/form/ListSourceType.hpp>
-#include <tools/wintypes.hxx> // for check states
+#include <tools/wintypes.hxx>
#include <com/sun/star/lang/Locale.hpp>
#include <xmloff/controlpropertyhdl.hxx>
#include "controlpropertymap.hxx"
diff --git a/xmloff/source/style/xmlnumfe.cxx b/xmloff/source/style/xmlnumfe.cxx
index 466331671809..66816393f26b 100644
--- a/xmloff/source/style/xmlnumfe.cxx
+++ b/xmloff/source/style/xmlnumfe.cxx
@@ -39,7 +39,7 @@
#include <xmloff/attrlist.hxx>
#include <xmloff/nmspmap.hxx>
#include <xmloff/families.hxx>
-#include <xmloff/xmlnumfi.hxx> // SvXMLNumFmtDefaults
+#include <xmloff/xmlnumfi.hxx>
#include <svl/nfsymbol.hxx>
#include <xmloff/xmltoken.hxx>
diff --git a/xmloff/source/text/XMLPropertyBackpatcher.cxx b/xmloff/source/text/XMLPropertyBackpatcher.cxx
index 7807dc73b82e..796009710f82 100644
--- a/xmloff/source/text/XMLPropertyBackpatcher.cxx
+++ b/xmloff/source/text/XMLPropertyBackpatcher.cxx
@@ -23,7 +23,7 @@
#include <rtl/ustring.hxx>
#include <tools/debug.hxx>
#include "XMLPropertyBackpatcher.hxx"
-#include <xmloff/txtimp.hxx> // XMLTextImportHelper partially implemented here
+#include <xmloff/txtimp.hxx>
using ::std::vector;
diff --git a/xmloff/source/text/XMLSectionExport.cxx b/xmloff/source/text/XMLSectionExport.cxx
index 236f0f7951b1..3d4718937834 100644
--- a/xmloff/source/text/XMLSectionExport.cxx
+++ b/xmloff/source/text/XMLSectionExport.cxx
@@ -41,7 +41,7 @@
#include <com/sun/star/text/BibliographyDataField.hpp>
#include <com/sun/star/text/XTextFieldsSupplier.hpp>
#include <com/sun/star/text/XChapterNumberingSupplier.hpp>
-#include <com/sun/star/text/ChapterFormat.hpp> //i90246
+#include <com/sun/star/text/ChapterFormat.hpp>
#include <sax/tools/converter.hxx>