diff options
author | J. Graeme Lingard <jgraeme+git@gmail.com> | 2010-10-07 23:56:42 +0100 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2010-10-07 20:49:14 -0400 |
commit | 5ba8a3f904a9d96107ad97b33d4764296bd18690 (patch) | |
tree | 6fc1f8d66487ca06bc25e4f8628c77bf00aab282 | |
parent | a80c69688f4c1d2f42861747b9628d1dc03870ee (diff) |
Remove redundant #include directives & comments
34 files changed, 3 insertions, 74 deletions
diff --git a/dtrans/source/test/test_dtrans.cxx b/dtrans/source/test/test_dtrans.cxx index 41d5bfb4f32f..f9944b7db5d3 100644 --- a/dtrans/source/test/test_dtrans.cxx +++ b/dtrans/source/test/test_dtrans.cxx @@ -54,10 +54,6 @@ #include <stdio.h> #include <string.h> -//#include <memory> - -//#include <process.h> - //------------------------------------------------------------------------ // my defines //------------------------------------------------------------------------ diff --git a/dtrans/test/win32/dnd/atlwindow.cxx b/dtrans/test/win32/dnd/atlwindow.cxx index 2ed1b1b956bb..fd85ffa804a5 100644 --- a/dtrans/test/win32/dnd/atlwindow.cxx +++ b/dtrans/test/win32/dnd/atlwindow.cxx @@ -40,7 +40,6 @@ #include "atlwindow.hxx" #include "targetlistener.hxx" #include "sourcelistener.hxx" -//#include "transferable.hxx" #include <map> #include <winbase.h> diff --git a/dtrans/test/win32/dnd/dndTest.cxx b/dtrans/test/win32/dnd/dndTest.cxx index e1a96598da62..77dae4f9e076 100644 --- a/dtrans/test/win32/dnd/dndTest.cxx +++ b/dtrans/test/win32/dnd/dndTest.cxx @@ -50,10 +50,8 @@ CComModule _Module; #include <com/sun/star/lang/XComponent.hpp> #include <rtl/process.h> #include <cppuhelper/servicefactory.hxx> -//#include "transferable.hxx" #include "sourcelistener.hxx" - #include "atlwindow.hxx" BEGIN_OBJECT_MAP(ObjectMap) END_OBJECT_MAP() diff --git a/dtrans/test/win32/dnd/transferable.hxx b/dtrans/test/win32/dnd/transferable.hxx index a9509f497ab1..f7d891799122 100644 --- a/dtrans/test/win32/dnd/transferable.hxx +++ b/dtrans/test/win32/dnd/transferable.hxx @@ -27,17 +27,6 @@ #ifndef _TRANSFERABLE_HXX_ #define _TRANSFERABLE_HXX_ -//_________________________________________________________________________________________________________________________ -// interface includes -//_________________________________________________________________________________________________________________________ - - -//#include "..\ImplHelper.hxx" - -//_________________________________________________________________________________________________________________________ -// other includes -//_________________________________________________________________________________________________________________________ - #include <cppuhelper/servicefactory.hxx> #include <com/sun/star/datatransfer/XTransferable.hpp> #include <com/sun/star/datatransfer/clipboard/XClipboardOwner.hpp> diff --git a/l10ntools/source/help/compilehelp.hxx b/l10ntools/source/help/compilehelp.hxx index 9c59083bf038..8b23f03e0caa 100644 --- a/l10ntools/source/help/compilehelp.hxx +++ b/l10ntools/source/help/compilehelp.hxx @@ -37,8 +37,6 @@ #endif #define HELPLINKER_DLLPRIVATE SAL_DLLPRIVATE - -//#include <helplinkerdllapi.h> #include <rtl/ustring.hxx> enum HelpProcessingErrorClass diff --git a/l10ntools/source/helpmerge.cxx b/l10ntools/source/helpmerge.cxx index 15cb1e311002..1f433a7f98c1 100644 --- a/l10ntools/source/helpmerge.cxx +++ b/l10ntools/source/helpmerge.cxx @@ -43,7 +43,6 @@ #include "rtl/strbuf.hxx" #ifdef WNT #include <direct.h> -//#include <WinBase.h> #include "tools/prewin.h" #include <windows.h> #include "tools/postwin.h" diff --git a/sax/source/expatwrap/attrlistimpl.hxx b/sax/source/expatwrap/attrlistimpl.hxx index aaf6cf84b359..a35eced63b3f 100644 --- a/sax/source/expatwrap/attrlistimpl.hxx +++ b/sax/source/expatwrap/attrlistimpl.hxx @@ -29,7 +29,6 @@ #define _SAX_ATTRLISTIMPL_HXX #include "sal/config.h" -//#include "sax/saxdllapi.h" #include <cppuhelper/implbase2.hxx> diff --git a/sax/source/fastparser/fastparser.cxx b/sax/source/fastparser/fastparser.cxx index 1a4cc9278e1e..d37367eb05df 100644 --- a/sax/source/fastparser/fastparser.cxx +++ b/sax/source/fastparser/fastparser.cxx @@ -25,9 +25,6 @@ * ************************************************************************/ -//#include <stdlib.h> -//#include <sal/alloca.h> - #include <boost/scoped_ptr.hpp> #include <osl/diagnose.h> diff --git a/svl/source/numbers/zforlist.cxx b/svl/source/numbers/zforlist.cxx index 7343a0a9c0e6..ecaf708674df 100644 --- a/svl/source/numbers/zforlist.cxx +++ b/svl/source/numbers/zforlist.cxx @@ -30,7 +30,6 @@ #ifndef GCC #endif -// #include <math.h> #include <tools/debug.hxx> #include <unotools/charclass.hxx> #include <i18npool/mslangid.hxx> diff --git a/svl/source/numbers/zformat.cxx b/svl/source/numbers/zformat.cxx index 97f06171a4fc..b91997a814a8 100644 --- a/svl/source/numbers/zformat.cxx +++ b/svl/source/numbers/zformat.cxx @@ -30,7 +30,6 @@ #include <stdio.h> #include <ctype.h> #include <float.h> -// #include <math.h> #include <errno.h> #include <stdlib.h> #include <tools/debug.hxx> diff --git a/svtools/inc/svtools/chartprettypainter.hxx b/svtools/inc/svtools/chartprettypainter.hxx index c885bdb83de1..f4a816117a40 100644 --- a/svtools/inc/svtools/chartprettypainter.hxx +++ b/svtools/inc/svtools/chartprettypainter.hxx @@ -30,7 +30,6 @@ #include "svtools/svtdllapi.h" -//#include <svtools/embedhlp.hxx> #include <vcl/outdev.hxx> #include <com/sun/star/frame/XModel.hpp> #include <com/sun/star/uno/Sequence.hxx> diff --git a/svtools/source/dialogs/property.cxx b/svtools/source/dialogs/property.cxx index 3b081ce2f520..ed05272d4f6f 100644 --- a/svtools/source/dialogs/property.cxx +++ b/svtools/source/dialogs/property.cxx @@ -32,15 +32,8 @@ #ifndef GCC #endif -//------------------------------------------------------------------ - -//#include "Svitems.hxx" - #include "property.hxx" -/* -#include "property.hrc" -#include "Scresid.hxx" -*/ + #define FRAME_OFFSET 4 diff --git a/svtools/source/filter.vcl/filter/sgvmain.cxx b/svtools/source/filter.vcl/filter/sgvmain.cxx index e175380244b3..faafc4a98d12 100644 --- a/svtools/source/filter.vcl/filter/sgvmain.cxx +++ b/svtools/source/filter.vcl/filter/sgvmain.cxx @@ -39,10 +39,6 @@ #include "sgvspln.hxx" #include <unotools/ucbstreamhelper.hxx> -//#if OSL_DEBUG_LEVEL > 1 -//#include "Debug.c" -//#endif - #define SWAPPOINT(p) { \ p.x=SWAPSHORT(p.x); \ p.y=SWAPSHORT(p.y); } diff --git a/svtools/source/filter.vcl/filter/sgvtext.cxx b/svtools/source/filter.vcl/filter/sgvtext.cxx index 4a0be80b55be..ab131b4c1233 100644 --- a/svtools/source/filter.vcl/filter/sgvtext.cxx +++ b/svtools/source/filter.vcl/filter/sgvtext.cxx @@ -34,7 +34,6 @@ #include "sgffilt.hxx" #include "sgfbram.hxx" #include "sgvmain.hxx" -// #include "Debug.c" extern SgfFontLst* pSgfFonts; diff --git a/svtools/source/misc/imap2.cxx b/svtools/source/misc/imap2.cxx index bd5ab933ebc8..1fa433199b2b 100644 --- a/svtools/source/misc/imap2.cxx +++ b/svtools/source/misc/imap2.cxx @@ -32,7 +32,6 @@ #include <sysdep.hxx> #endif #include <string.h> -// #include <math.h> #include <vcl/svapp.hxx> #include <tools/urlobj.hxx> #include <vcl/wrkwin.hxx> diff --git a/svtools/source/misc/langtab.cxx b/svtools/source/misc/langtab.cxx index d1ff94572a99..f04648bbb03a 100644 --- a/svtools/source/misc/langtab.cxx +++ b/svtools/source/misc/langtab.cxx @@ -28,12 +28,9 @@ // MARKER(update_precomp.py): autogen include statement, do not remove #include "precompiled_svtools.hxx" -// include --------------------------------------------------------------- - #include <tools/shl.hxx> #include <tools/debug.hxx> -//#include <com/sun/star/i18n/XCharacterClassification.hpp> #include <com/sun/star/i18n/DirectionProperty.hpp> #include <i18npool/lang.h> diff --git a/svtools/source/plugapp/commtest.cxx b/svtools/source/plugapp/commtest.cxx index 3a235afcc61b..9e2195c02738 100644 --- a/svtools/source/plugapp/commtest.cxx +++ b/svtools/source/plugapp/commtest.cxx @@ -35,7 +35,6 @@ #include <tools/simplecm.hxx> #include "communi.hxx" #include "brooker.hxx" -//#include <tools/bcst.hxx> #include "commtest.hrc" diff --git a/svtools/source/uno/treecontrolpeer.hxx b/svtools/source/uno/treecontrolpeer.hxx index 336830804a6f..0229374fcf49 100644 --- a/svtools/source/uno/treecontrolpeer.hxx +++ b/svtools/source/uno/treecontrolpeer.hxx @@ -37,7 +37,6 @@ #include <vcl/image.hxx> -//#include <comphelper/uno3.hxx> #include <cppuhelper/implbase2.hxx> diff --git a/toolkit/inc/toolkit/awt/vclxdevice.hxx b/toolkit/inc/toolkit/awt/vclxdevice.hxx index 62753a36136d..7a3f10c3a347 100644 --- a/toolkit/inc/toolkit/awt/vclxdevice.hxx +++ b/toolkit/inc/toolkit/awt/vclxdevice.hxx @@ -35,7 +35,6 @@ #include <cppuhelper/weak.hxx> #include <vos/mutex.hxx> -// #include <com/sun/star/awt/XTextConstraints.hpp> #include <com/sun/star/awt/XUnitConversion.hpp> class OutputDevice; diff --git a/toolkit/source/controls/grid/defaultgridcolumnmodel.hxx b/toolkit/source/controls/grid/defaultgridcolumnmodel.hxx index 8b8c8bfc795c..fae9358bb1f4 100644 --- a/toolkit/source/controls/grid/defaultgridcolumnmodel.hxx +++ b/toolkit/source/controls/grid/defaultgridcolumnmodel.hxx @@ -29,7 +29,6 @@ #include "precompiled_toolkit.hxx" #include <com/sun/star/awt/grid/XGridColumnModel.hpp> #include <com/sun/star/awt/grid/XGridColumn.hpp> -//#include <com/sun/star/awt/grid/GridColumnEvent.hpp> #include <com/sun/star/lang/XEventListener.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/lang/XUnoTunnel.hpp> diff --git a/toolkit/source/helper/listenermultiplexer.cxx b/toolkit/source/helper/listenermultiplexer.cxx index 9b8df60521ae..71a9020932ac 100644 --- a/toolkit/source/helper/listenermultiplexer.cxx +++ b/toolkit/source/helper/listenermultiplexer.cxx @@ -26,7 +26,6 @@ ************************************************************************/ // MARKER(update_precomp.py): autogen include statement, do not remove -//#include "precompiled_toolkit.hxx" #include "precompiled_toolkit.hxx" #include <toolkit/helper/listenermultiplexer.hxx> #include <com/sun/star/lang/DisposedException.hpp> diff --git a/toolkit/workben/controls.cxx b/toolkit/workben/controls.cxx index 9047e914a76d..c8acb125e993 100644 --- a/toolkit/workben/controls.cxx +++ b/toolkit/workben/controls.cxx @@ -43,7 +43,6 @@ #include <unoctrl.hxx> -// #include <unoctrl2.hxx> #include <svtools/unoiface.hxx> // InitExtToolkit diff --git a/tools/source/fsys/os2.hxx b/tools/source/fsys/os2.hxx index c5e54ba0ad47..08ead519933a 100644 --- a/tools/source/fsys/os2.hxx +++ b/tools/source/fsys/os2.hxx @@ -71,7 +71,6 @@ inline BOOL DRIVE_EXISTS( char c ) } #include <time.h> -//#include <datetime.hxx> inline Time MsDos2Time( FTIME* aTime ) { diff --git a/unotools/source/i18n/textsearch.cxx b/unotools/source/i18n/textsearch.cxx index 6a3dcd2b7d28..114a920277fb 100644 --- a/unotools/source/i18n/textsearch.cxx +++ b/unotools/source/i18n/textsearch.cxx @@ -29,9 +29,6 @@ #include "precompiled_unotools.hxx" #include <i18npool/mslangid.hxx> #include <tools/debug.hxx> -#ifndef _INTN_HXX //autogen -//#include <tools/intn.hxx> -#endif #include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/util/SearchFlags.hdl> #include <com/sun/star/i18n/TransliterationModules.hpp> diff --git a/vcl/aqua/source/a11y/aqua11yfocuslistener.hxx b/vcl/aqua/source/a11y/aqua11yfocuslistener.hxx index 1fdd340c698e..9e0a23961e58 100644 --- a/vcl/aqua/source/a11y/aqua11yfocuslistener.hxx +++ b/vcl/aqua/source/a11y/aqua11yfocuslistener.hxx @@ -33,8 +33,6 @@ #include "keyboardfocuslistener.hxx" #include "aquavcltypes.h" -// #include <com/sun/star/accessibility/XAccessibleContext.hpp> - class AquaA11yFocusListener : public KeyboardFocusListener, public salhelper::ReferenceObject @@ -59,4 +57,4 @@ public: virtual oslInterlockedCount SAL_CALL release() SAL_THROW(()); }; -#endif // _AQUA11YFOCUSLISTENER_HXX_
\ No newline at end of file +#endif // _AQUA11YFOCUSLISTENER_HXX_ diff --git a/vcl/inc/vcl/graphite_cache.hxx b/vcl/inc/vcl/graphite_cache.hxx index af1392ed4d4b..5f9794c11538 100644 --- a/vcl/inc/vcl/graphite_cache.hxx +++ b/vcl/inc/vcl/graphite_cache.hxx @@ -36,7 +36,6 @@ #define GRCACHE_REUSE_VECTORS 1 -//#include <rope> #include <hash_map> class TextSourceAdaptor; diff --git a/vcl/os2/inc/sallang.hxx b/vcl/os2/inc/sallang.hxx index 00caecd90eee..0c465a7acd65 100644 --- a/vcl/os2/inc/sallang.hxx +++ b/vcl/os2/inc/sallang.hxx @@ -28,7 +28,6 @@ #ifndef _SALLANG_HXX #define _SALLANG_HXX -//#include <tools/lang.hxx> #include <i18npool/mslangid.hxx> // -------------------- diff --git a/vcl/os2/source/app/salinfo.cxx b/vcl/os2/source/app/salinfo.cxx index e48aacd4c521..47c9b8b6297d 100644 --- a/vcl/os2/source/app/salinfo.cxx +++ b/vcl/os2/source/app/salinfo.cxx @@ -40,10 +40,6 @@ #include <rtl/ustrbuf.hxx> #include "vcl/window.hxx" -#ifndef _SV_SALGTYPE_HXX -//#include <salgtype.hxx> -#endif - #define CHAR_POINTER(THE_OUSTRING) ::rtl::OUStringToOString (THE_OUSTRING, RTL_TEXTENCODING_UTF8).pData->buffer class Os2SalSystem : public SalSystem diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx index e503172eb2c6..71d063bed39d 100644 --- a/vcl/source/app/svapp.cxx +++ b/vcl/source/app/svapp.cxx @@ -140,7 +140,6 @@ namespace } -// #include <usr/refl.hxx> class Reflection; diff --git a/vcl/source/window/scrwnd.cxx b/vcl/source/window/scrwnd.cxx index e0efb37c9444..748d4fae0b63 100644 --- a/vcl/source/window/scrwnd.cxx +++ b/vcl/source/window/scrwnd.cxx @@ -28,7 +28,6 @@ // MARKER(update_precomp.py): autogen include statement, do not remove #include "precompiled_vcl.hxx" -// #include <math.h> #include <limits.h> #include <tools/time.hxx> #include <tools/debug.hxx> diff --git a/vcl/source/window/winproc.cxx b/vcl/source/window/winproc.cxx index ae226a595fac..469c6661d366 100644 --- a/vcl/source/window/winproc.cxx +++ b/vcl/source/window/winproc.cxx @@ -32,9 +32,6 @@ #include <vcl/salwtype.hxx> #include <vcl/salframe.hxx> #include <tools/debug.hxx> -#ifndef _INTN_HXX -//#include <tools/intn.hxx> -#endif #include <vcl/i18nhelp.hxx> #include <vcl/unohelp.hxx> #include <unotools/localedatawrapper.hxx> diff --git a/vcl/unx/gtk/a11y/atkeditabletext.cxx b/vcl/unx/gtk/a11y/atkeditabletext.cxx index c0399145b07c..fdc05745eeda 100644 --- a/vcl/unx/gtk/a11y/atkeditabletext.cxx +++ b/vcl/unx/gtk/a11y/atkeditabletext.cxx @@ -34,9 +34,6 @@ #include <com/sun/star/accessibility/XAccessibleEditableText.hpp> #include <com/sun/star/accessibility/TextSegment.hpp> -// #include <functional> -// #include <hash_map> - #include <stdio.h> #include <string.h> diff --git a/vcl/unx/source/gdi/xrender_peer.cxx b/vcl/unx/source/gdi/xrender_peer.cxx index 8d24e4098df4..b5afb8363fca 100644 --- a/vcl/unx/source/gdi/xrender_peer.cxx +++ b/vcl/unx/source/gdi/xrender_peer.cxx @@ -31,7 +31,7 @@ #include <stdio.h> #include <rtl/ustring.hxx> #include <osl/module.h> -//#include <osl/thread.h> + using namespace rtl; #include <xrender_peer.hxx> diff --git a/vos/source/socket.cxx b/vos/source/socket.cxx index c32faf17a4a5..0b222eb7034f 100644 --- a/vos/source/socket.cxx +++ b/vos/source/socket.cxx @@ -31,7 +31,6 @@ #include <osl/time.h> #include <vos/socket.hxx> #include <vos/diagnose.hxx> -//#include <osl/tools.h> using namespace vos; |