summaryrefslogtreecommitdiff
path: root/vcl/source
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 /vcl/source
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 'vcl/source')
-rw-r--r--vcl/source/app/svdata.cxx4
-rw-r--r--vcl/source/app/svmain.cxx4
-rw-r--r--vcl/source/components/factory.cxx4
-rw-r--r--vcl/source/edit/textundo.cxx2
-rw-r--r--vcl/source/edit/xtextedt.cxx2
-rw-r--r--vcl/source/window/builder.cxx2
6 files changed, 9 insertions, 9 deletions
diff --git a/vcl/source/app/svdata.cxx b/vcl/source/app/svdata.cxx
index f6e1f5c13453..b42eeea45e45 100644
--- a/vcl/source/app/svdata.cxx
+++ b/vcl/source/app/svdata.cxx
@@ -35,8 +35,8 @@
#include "vcl/svapp.hxx"
#include "vcl/wrkwin.hxx"
#include "vcl/msgbox.hxx"
-#include "vcl/button.hxx" // for Button::GetStandardText
-#include "vcl/dockwin.hxx" // for DockingManager
+#include "vcl/button.hxx"
+#include "vcl/dockwin.hxx"
#include "salinst.hxx"
#include "salframe.hxx"
#include "svdata.hxx"
diff --git a/vcl/source/app/svmain.cxx b/vcl/source/app/svmain.cxx
index 5bae2dfd2e8e..8203952fd9c4 100644
--- a/vcl/source/app/svmain.cxx
+++ b/vcl/source/app/svmain.cxx
@@ -44,8 +44,8 @@
#ifdef WNT
#include <svsys.h>
-#include <process.h> // for _beginthreadex
-#include <ole2.h> // for _beginthreadex
+#include <process.h>
+#include <ole2.h>
#endif
#ifdef ANDROID
diff --git a/vcl/source/components/factory.cxx b/vcl/source/components/factory.cxx
index 5218c28efe7b..c078f510bd2b 100644
--- a/vcl/source/components/factory.cxx
+++ b/vcl/source/components/factory.cxx
@@ -19,8 +19,8 @@
#include <osl/mutex.hxx>
#include <rtl/ustrbuf.hxx>
-#include <uno/dispatcher.h> // declaration of generic uno interface
-#include <uno/mapping.hxx> // mapping stuff
+#include <uno/dispatcher.h>
+#include <uno/mapping.hxx>
#include <cppuhelper/factory.hxx>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <vcl/dllapi.h>
diff --git a/vcl/source/edit/textundo.cxx b/vcl/source/edit/textundo.cxx
index a59071c554d2..709b61b040db 100644
--- a/vcl/source/edit/textundo.cxx
+++ b/vcl/source/edit/textundo.cxx
@@ -26,7 +26,7 @@
#include <vcl/textdata.hxx>
#include <textdoc.hxx>
#include <textdat2.hxx>
-#include <svdata.hxx> // ImplGetResMgr()
+#include <svdata.hxx>
#include <tools/resid.hxx>
TYPEINIT1( TextUndo, SfxUndoAction );
diff --git a/vcl/source/edit/xtextedt.cxx b/vcl/source/edit/xtextedt.cxx
index 8de09acad655..26ad204368fa 100644
--- a/vcl/source/edit/xtextedt.cxx
+++ b/vcl/source/edit/xtextedt.cxx
@@ -19,7 +19,7 @@
#include <vcl/xtextedt.hxx>
-#include <vcl/svapp.hxx> // International
+#include <vcl/svapp.hxx>
#include <unotools/textsearch.hxx>
#include <com/sun/star/util/SearchOptions.hpp>
#include <com/sun/star/util/SearchFlags.hpp>
diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx
index 04795df9cae8..85b4915064d1 100644
--- a/vcl/source/window/builder.cxx
+++ b/vcl/source/window/builder.cxx
@@ -35,7 +35,7 @@
using namespace com::sun::star;
#ifdef DISABLE_DYNLOADING
-#include <dlfcn.h> // For RTLD_DEFAULT
+#include <dlfcn.h>
#endif
namespace