diff options
author | Tor Lillqvist <tml@collabora.com> | 2013-10-22 15:58:57 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2013-10-22 16:56:28 +0300 |
commit | a7724966ab4fc8cd680a20e4f2a65f276e001a39 (patch) | |
tree | 5aeb953a7172ea061c7884be8c19849b9e2d81d8 /vcl | |
parent | Terminating NUL at end of its buffer is not considered part of OUString (diff) | |
download | core-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 'vcl')
-rw-r--r-- | vcl/generic/fontmanager/fontmanager.cxx | 2 | ||||
-rw-r--r-- | vcl/generic/glyphs/glyphcache.cxx | 2 | ||||
-rw-r--r-- | vcl/inc/win/saldata.hxx | 2 | ||||
-rw-r--r-- | vcl/source/app/svdata.cxx | 4 | ||||
-rw-r--r-- | vcl/source/app/svmain.cxx | 4 | ||||
-rw-r--r-- | vcl/source/components/factory.cxx | 4 | ||||
-rw-r--r-- | vcl/source/edit/textundo.cxx | 2 | ||||
-rw-r--r-- | vcl/source/edit/xtextedt.cxx | 2 | ||||
-rw-r--r-- | vcl/source/window/builder.cxx | 2 | ||||
-rw-r--r-- | vcl/unx/generic/app/saldata.cxx | 2 | ||||
-rw-r--r-- | vcl/unx/generic/dtrans/X11_clipboard.cxx | 4 | ||||
-rw-r--r-- | vcl/unx/generic/dtrans/X11_service.cxx | 4 | ||||
-rw-r--r-- | vcl/win/source/gdi/salbmp.cxx | 2 | ||||
-rw-r--r-- | vcl/win/source/gdi/salgdi3.cxx | 4 |
14 files changed, 20 insertions, 20 deletions
diff --git a/vcl/generic/fontmanager/fontmanager.cxx b/vcl/generic/fontmanager/fontmanager.cxx index 7d2710fd7a22..91e638a592d6 100644 --- a/vcl/generic/fontmanager/fontmanager.cxx +++ b/vcl/generic/fontmanager/fontmanager.cxx @@ -65,7 +65,7 @@ #include <boost/unordered_set.hpp> #include <algorithm> -#include "adobeenc.tab" // get encoding table for AFM metrics +#include "adobeenc.tab" #ifdef CALLGRIND_COMPILE #include <valgrind/callgrind.h> diff --git a/vcl/generic/glyphs/glyphcache.cxx b/vcl/generic/glyphs/glyphcache.cxx index 39cccd377d1d..2cda76f442f3 100644 --- a/vcl/generic/glyphs/glyphcache.cxx +++ b/vcl/generic/glyphs/glyphcache.cxx @@ -32,7 +32,7 @@ #include <graphite_features.hxx> #endif -#include <rtl/ustring.hxx> // used only for string=>hashvalue +#include <rtl/ustring.hxx> #include <osl/file.hxx> #include <tools/debug.hxx> diff --git a/vcl/inc/win/saldata.hxx b/vcl/inc/win/saldata.hxx index ea60b6977900..d1464d5958ee 100644 --- a/vcl/inc/win/saldata.hxx +++ b/vcl/inc/win/saldata.hxx @@ -27,7 +27,7 @@ #include <win/wincomp.hxx> -#include <set> // for hMenu validation +#include <set> #include <map> class AutoTimer; 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 diff --git a/vcl/unx/generic/app/saldata.cxx b/vcl/unx/generic/app/saldata.cxx index 7f460a239506..49933496f349 100644 --- a/vcl/unx/generic/app/saldata.cxx +++ b/vcl/unx/generic/app/saldata.cxx @@ -23,7 +23,7 @@ #include <cstdio> #include <cstring> #include <cstdlib> -#include <stdio.h> // snprintf, seems not to be in namespace std on every platform +#include <stdio.h> #include <limits.h> #include <errno.h> #include <pthread.h> diff --git a/vcl/unx/generic/dtrans/X11_clipboard.cxx b/vcl/unx/generic/dtrans/X11_clipboard.cxx index e7f3ece6a147..10863b26f470 100644 --- a/vcl/unx/generic/dtrans/X11_clipboard.cxx +++ b/vcl/unx/generic/dtrans/X11_clipboard.cxx @@ -26,8 +26,8 @@ #include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/lang/XSingleServiceFactory.hpp> #include <com/sun/star/registry/XRegistryKey.hpp> -#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 <cppuhelper/supportsservice.hxx> #include <rtl/tencinfo.h> diff --git a/vcl/unx/generic/dtrans/X11_service.cxx b/vcl/unx/generic/dtrans/X11_service.cxx index 59d7e450adee..d99347b9d9ca 100644 --- a/vcl/unx/generic/dtrans/X11_service.cxx +++ b/vcl/unx/generic/dtrans/X11_service.cxx @@ -24,8 +24,8 @@ #include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/lang/XSingleServiceFactory.hpp> #include <com/sun/star/registry/XRegistryKey.hpp> -#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 <cppuhelper/compbase1.hxx> diff --git a/vcl/win/source/gdi/salbmp.cxx b/vcl/win/source/gdi/salbmp.cxx index 3850d8456052..f0e150975e89 100644 --- a/vcl/win/source/gdi/salbmp.cxx +++ b/vcl/win/source/gdi/salbmp.cxx @@ -19,7 +19,7 @@ #include <svsys.h> -#include <vcl/bitmap.hxx> // for BitmapSystemData +#include <vcl/bitmap.hxx> #include <vcl/salbtype.hxx> #include <com/sun/star/beans/XFastPropertySet.hpp> #include <win/wincomp.hxx> diff --git a/vcl/win/source/gdi/salgdi3.cxx b/vcl/win/source/gdi/salgdi3.cxx index 8e9dee61a163..b729fc3161bc 100644 --- a/vcl/win/source/gdi/salgdi3.cxx +++ b/vcl/win/source/gdi/salgdi3.cxx @@ -34,7 +34,7 @@ #include "basegfx/polygon/b2dpolygon.hxx" #include "basegfx/matrix/b2dhommatrixtools.hxx" -#include "unotools/fontcfg.hxx" // for IMPL_FONT_ATTR_SYMBOL +#include "unotools/fontcfg.hxx" #include "tools/stream.hxx" #include "tools/helpers.hxx" @@ -45,7 +45,7 @@ #include "win/salgdi.h" #include "fontsubset.hxx" -#include "outdev.h" // for ImplGlyphFallbackFontSubstitution +#include "outdev.h" #include "sft.hxx" #include <algorithm> |