summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/inc/idpool.hxx2
-rw-r--r--sfx2/source/appl/appcfg.cxx2
-rw-r--r--sfx2/source/appl/appinit.cxx2
-rw-r--r--sfx2/source/appl/appmisc.cxx2
-rw-r--r--sfx2/source/appl/panelist.hxx2
-rw-r--r--sfx2/source/appl/workwin.cxx2
-rw-r--r--sfx2/source/bastyp/bitset.cxx4
-rw-r--r--sfx2/source/doc/DocumentMetadataAccess.cxx2
-rw-r--r--sfx2/source/doc/Metadatable.cxx2
-rw-r--r--sfx2/source/doc/docfile.cxx18
-rw-r--r--sfx2/source/doc/objmisc.cxx4
-rw-r--r--sfx2/source/doc/sfxbasemodel.cxx4
-rw-r--r--sfx2/source/menu/mnumgr.cxx2
-rw-r--r--sfx2/source/toolbox/tbxitem.cxx2
-rw-r--r--sfx2/source/view/impframe.hxx2
-rw-r--r--sfx2/source/view/viewimp.hxx2
16 files changed, 27 insertions, 27 deletions
diff --git a/sfx2/inc/idpool.hxx b/sfx2/inc/idpool.hxx
index 6d1d8886668d..1c67492a8483 100644
--- a/sfx2/inc/idpool.hxx
+++ b/sfx2/inc/idpool.hxx
@@ -19,7 +19,7 @@
#ifndef _SFXIDPOOL_HXX
#define _SFXIDPOOL_HXX
-#include <limits.h> // USHRT_MAX
+#include <limits.h>
#include "bitset.hxx"
// class IdPool ----------------------------------------------------------
diff --git a/sfx2/source/appl/appcfg.cxx b/sfx2/source/appl/appcfg.cxx
index 56c0833ac9c4..be93509b931c 100644
--- a/sfx2/source/appl/appcfg.cxx
+++ b/sfx2/source/appl/appcfg.cxx
@@ -68,7 +68,7 @@
#include <sfx2/evntconf.hxx>
#include "appdata.hxx"
#include "workwin.hxx"
-#include "helper.hxx" // SfxContentHelper::...
+#include "helper.hxx"
#include "app.hrc"
#include "sfx2/sfxresid.hxx"
#include "shutdownicon.hxx"
diff --git a/sfx2/source/appl/appinit.cxx b/sfx2/source/appl/appinit.cxx
index e0f40c92b559..f3db89b98d99 100644
--- a/sfx2/source/appl/appinit.cxx
+++ b/sfx2/source/appl/appinit.cxx
@@ -63,7 +63,7 @@
#include <sfx2/viewsh.hxx>
#include "nochaos.hxx"
#include <sfx2/fcontnr.hxx>
-#include "helper.hxx" // SfxContentHelper::Kill()
+#include "helper.hxx"
#include "sfxpicklist.hxx"
using namespace ::com::sun::star::uno;
diff --git a/sfx2/source/appl/appmisc.cxx b/sfx2/source/appl/appmisc.cxx
index 4409769533aa..76931a00496e 100644
--- a/sfx2/source/appl/appmisc.cxx
+++ b/sfx2/source/appl/appmisc.cxx
@@ -75,7 +75,7 @@
#include "openflag.hxx"
#include <sfx2/viewsh.hxx>
#include <sfx2/objface.hxx>
-#include "helper.hxx" // SfxContentHelper::Kill()
+#include "helper.hxx"
#include <basegfx/matrix/b2dhommatrixtools.hxx>
#include <drawinglayer/primitive2d/transformprimitive2d.hxx>
diff --git a/sfx2/source/appl/panelist.hxx b/sfx2/source/appl/panelist.hxx
index a3cdaec71979..3caef24bcb10 100644
--- a/sfx2/source/appl/panelist.hxx
+++ b/sfx2/source/appl/panelist.hxx
@@ -20,7 +20,7 @@
#ifndef SFX_PANELIST_HXX
#define SFX_PANELIST_HXX
-#include <vcl/taskpanelist.hxx> // includes also vcl/window.hxx
+#include <vcl/taskpanelist.hxx>
namespace sfx2
{
diff --git a/sfx2/source/appl/workwin.cxx b/sfx2/source/appl/workwin.cxx
index 123cb8b2c236..9ca2087c7c5f 100644
--- a/sfx2/source/appl/workwin.cxx
+++ b/sfx2/source/appl/workwin.cxx
@@ -35,7 +35,7 @@
#include "splitwin.hxx"
#include <sfx2/msgpool.hxx>
#include "sfx2/sfxresid.hxx"
-#include <sfx2/request.hxx> // SFX_ITEMSET_SET
+#include <sfx2/request.hxx>
#include <vcl/taskpanelist.hxx>
#include <vcl/toolbox.hxx>
#include <tools/rcid.h>
diff --git a/sfx2/source/bastyp/bitset.cxx b/sfx2/source/bastyp/bitset.cxx
index f1798f515d81..d1d195d432b3 100644
--- a/sfx2/source/bastyp/bitset.cxx
+++ b/sfx2/source/bastyp/bitset.cxx
@@ -21,8 +21,8 @@
#include "bitset.hxx"
-#include <string.h> // memset(), memcpy()
-#include <limits.h> // USHRT_MAX
+#include <string.h>
+#include <limits.h>
#include <algorithm>
//====================================================================
diff --git a/sfx2/source/doc/DocumentMetadataAccess.cxx b/sfx2/source/doc/DocumentMetadataAccess.cxx
index e3d71f9cc823..489d5c7416af 100644
--- a/sfx2/source/doc/DocumentMetadataAccess.cxx
+++ b/sfx2/source/doc/DocumentMetadataAccess.cxx
@@ -47,7 +47,7 @@
#include <sfx2/docfile.hxx>
#include <sfx2/XmlIdRegistry.hxx>
-#include <libxml/tree.h> // for xmlValidateNCName
+#include <libxml/tree.h>
#include <boost/bind.hpp>
#include <boost/shared_array.hpp>
diff --git a/sfx2/source/doc/Metadatable.cxx b/sfx2/source/doc/Metadatable.cxx
index ae4a72368658..996ce8089449 100644
--- a/sfx2/source/doc/Metadatable.cxx
+++ b/sfx2/source/doc/Metadatable.cxx
@@ -22,7 +22,7 @@
#include <sfx2/XmlIdRegistry.hxx>
#include <osl/mutex.hxx>
-#include <vcl/svapp.hxx> // solarmutex
+#include <vcl/svapp.hxx>
#include <rtl/random.h>
diff --git a/sfx2/source/doc/docfile.cxx b/sfx2/source/doc/docfile.cxx
index 63bbb437ab25..a82ebe52543e 100644
--- a/sfx2/source/doc/docfile.cxx
+++ b/sfx2/source/doc/docfile.cxx
@@ -79,7 +79,7 @@
#include <svtools/sfxecode.hxx>
#include <svl/itemset.hxx>
#include <svl/intitem.hxx>
-#include <svtools/svparser.hxx> // SvKeyValue
+#include <svtools/svparser.hxx>
#include <cppuhelper/weakref.hxx>
#include <unotools/streamwrap.hxx>
@@ -107,15 +107,15 @@
#include <com/sun/star/document/DocumentRevisionListPersistence.hpp>
#include "helper.hxx"
-#include <sfx2/request.hxx> // SFX_ITEMSET_SET
-#include <sfx2/app.hxx> // GetFilterMatcher
-#include <sfx2/frame.hxx> // LoadTargetFrame
-#include <sfx2/fcontnr.hxx> // SfxFilterMatcher
-#include <sfx2/docfilt.hxx> // SfxFilter
-#include <sfx2/objsh.hxx> // CheckOpenMode
-#include <sfx2/docfac.hxx> // GetFilterContainer
+#include <sfx2/request.hxx>
+#include <sfx2/app.hxx>
+#include <sfx2/frame.hxx>
+#include <sfx2/fcontnr.hxx>
+#include <sfx2/docfilt.hxx>
+#include <sfx2/objsh.hxx>
+#include <sfx2/docfac.hxx>
#include "doc.hrc"
-#include "openflag.hxx" // SFX_STREAM_READONLY etc.
+#include "openflag.hxx"
#include "sfx2/sfxresid.hxx"
#include <sfx2/appuno.hxx>
#include "sfxacldetect.hxx"
diff --git a/sfx2/source/doc/objmisc.cxx b/sfx2/source/doc/objmisc.cxx
index 7b134384b1dc..81b8d5ddc221 100644
--- a/sfx2/source/doc/objmisc.cxx
+++ b/sfx2/source/doc/objmisc.cxx
@@ -25,7 +25,7 @@
#include <svl/eitem.hxx>
#include <svl/stritem.hxx>
#include <svl/intitem.hxx>
-#include <svtools/svparser.hxx> // SvKeyValue
+#include <svtools/svparser.hxx>
#include <osl/mutex.hxx>
#include <cppuhelper/exc_hlp.hxx>
@@ -129,7 +129,7 @@ using namespace ::com::sun::star::container;
#include "../appl/app.hrc"
#include <sfx2/sfxdlg.hxx>
#include "appbaslib.hxx"
-#include <openflag.hxx> // SFX_STREAM_READWRITE
+#include <openflag.hxx>
// class SfxHeaderAttributes_Impl ----------------------------------------
diff --git a/sfx2/source/doc/sfxbasemodel.cxx b/sfx2/source/doc/sfxbasemodel.cxx
index e7888a4c6069..2448cae5d207 100644
--- a/sfx2/source/doc/sfxbasemodel.cxx
+++ b/sfx2/source/doc/sfxbasemodel.cxx
@@ -51,11 +51,11 @@
#include <com/sun/star/frame/XTransientDocumentsDocumentContentFactory.hpp>
#include <com/sun/star/ucb/XCommandEnvironment.hpp>
#include <com/sun/star/util/XCloneable.hpp>
-#include <comphelper/enumhelper.hxx> // can be removed when this is a "real" service
+#include <comphelper/enumhelper.hxx>
#include <cppuhelper/interfacecontainer.hxx>
#include <cppuhelper/exc_hlp.hxx>
-#include <comphelper/processfactory.hxx> // can be removed when this is a "real" service
+#include <comphelper/processfactory.hxx>
#include <comphelper/namedvaluecollection.hxx>
#include <svl/itemset.hxx>
#include <svl/stritem.hxx>
diff --git a/sfx2/source/menu/mnumgr.cxx b/sfx2/source/menu/mnumgr.cxx
index a1b318667286..5906ab57308d 100644
--- a/sfx2/source/menu/mnumgr.cxx
+++ b/sfx2/source/menu/mnumgr.cxx
@@ -26,7 +26,7 @@
#endif
#include <string>
-#include <cstdarg> // std::va_list
+#include <cstdarg>
#include <vcl/pointr.hxx>
diff --git a/sfx2/source/toolbox/tbxitem.cxx b/sfx2/source/toolbox/tbxitem.cxx
index 928b77158ea2..1ac1784538d1 100644
--- a/sfx2/source/toolbox/tbxitem.cxx
+++ b/sfx2/source/toolbox/tbxitem.cxx
@@ -22,7 +22,7 @@
#include <ctime>
#endif
-#include <string> // prevent conflict with STL includes
+#include <string>
#include <com/sun/star/uno/Reference.h>
#include <com/sun/star/frame/XFrame.hpp>
#include <com/sun/star/awt/XPopupMenu.hpp>
diff --git a/sfx2/source/view/impframe.hxx b/sfx2/source/view/impframe.hxx
index da05e3ee8e77..56584c87eb31 100644
--- a/sfx2/source/view/impframe.hxx
+++ b/sfx2/source/view/impframe.hxx
@@ -21,7 +21,7 @@
#define _SFX_IMPFRAME_HXX
#include <sfx2/frame.hxx>
-#include <sfx2/viewfrm.hxx> // SvBorder
+#include <sfx2/viewfrm.hxx>
class SfxViewFrame;
#include <com/sun/star/frame/XController.hpp>
diff --git a/sfx2/source/view/viewimp.hxx b/sfx2/source/view/viewimp.hxx
index a5c750af3062..827c21da22cb 100644
--- a/sfx2/source/view/viewimp.hxx
+++ b/sfx2/source/view/viewimp.hxx
@@ -22,7 +22,7 @@
#include <basic/sbxobj.hxx>
#include <sfx2/viewsh.hxx>
-#include <sfx2/viewfrm.hxx> // SvBorder
+#include <sfx2/viewfrm.hxx>
#include <osl/mutex.hxx>
#include <cppuhelper/interfacecontainer.hxx>
#include <com/sun/star/uno/Sequence.hxx>