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 /extensions | |
parent | 1cbe2313edda8a04f0fe233b4a29ef4e2485f557 (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 'extensions')
24 files changed, 34 insertions, 34 deletions
diff --git a/extensions/source/activex/SOActionsApproval.h b/extensions/source/activex/SOActionsApproval.h index d40c14243d14..422a66b7dd01 100644 --- a/extensions/source/activex/SOActionsApproval.h +++ b/extensions/source/activex/SOActionsApproval.h @@ -26,7 +26,7 @@ #pragma once #endif -#include "resource.h" // main symbols +#include "resource.h" #include <ExDispID.h> #include <ExDisp.h> #include <shlguid.h> diff --git a/extensions/source/activex/SOActiveX.h b/extensions/source/activex/SOActiveX.h index 908abf8106c8..7e37c8a5b7e8 100644 --- a/extensions/source/activex/SOActiveX.h +++ b/extensions/source/activex/SOActiveX.h @@ -22,7 +22,7 @@ #ifndef __SOACTIVEX_H_ #define __SOACTIVEX_H_ -#include "resource.h" // main symbols +#include "resource.h" #pragma warning (disable:4505) // permanently suppress "unreferenced local function has been removed" warning diff --git a/extensions/source/activex/SOComWindowPeer.h b/extensions/source/activex/SOComWindowPeer.h index 9816ad33bde9..9eb4d6aca9a1 100644 --- a/extensions/source/activex/SOComWindowPeer.h +++ b/extensions/source/activex/SOComWindowPeer.h @@ -26,7 +26,7 @@ #pragma once #endif -#include "resource.h" // main symbols +#include "resource.h" #include <ExDispID.h> #include <ExDisp.h> #include <shlguid.h> diff --git a/extensions/source/activex/SODispatchInterceptor.h b/extensions/source/activex/SODispatchInterceptor.h index ab6706611154..f731f4058166 100644 --- a/extensions/source/activex/SODispatchInterceptor.h +++ b/extensions/source/activex/SODispatchInterceptor.h @@ -26,7 +26,7 @@ #pragma once #endif -#include "resource.h" // main symbols +#include "resource.h" #include <ExDispID.h> #include <ExDisp.h> #include <shlguid.h> diff --git a/extensions/source/bibliography/bibbeam.hxx b/extensions/source/bibliography/bibbeam.hxx index b8ede5b0efac..616680e9bc43 100644 --- a/extensions/source/bibliography/bibbeam.hxx +++ b/extensions/source/bibliography/bibbeam.hxx @@ -26,7 +26,7 @@ #include <com/sun/star/form/XForm.hpp> // #100312# ----------------- #include <com/sun/star/frame/XDispatchProviderInterception.hpp> -#include <cppuhelper/implbase1.hxx> // helper for implementations +#include <cppuhelper/implbase1.hxx> #include <vcl/splitwin.hxx> #include "toolbar.hxx" #include "formcontrolcontainer.hxx" diff --git a/extensions/source/bibliography/bibload.cxx b/extensions/source/bibliography/bibload.cxx index 560b085d43e8..590ee389de63 100644 --- a/extensions/source/bibliography/bibload.cxx +++ b/extensions/source/bibliography/bibload.cxx @@ -26,7 +26,7 @@ #include <svl/urihelper.hxx> #include <toolkit/helper/vclunohelper.hxx> #include <comphelper/processfactory.hxx> -#include <cppuhelper/factory.hxx> // helper for factories +#include <cppuhelper/factory.hxx> #include <com/sun/star/sdbc/ResultSetType.hpp> #include <com/sun/star/sdbc/ResultSetConcurrency.hpp> #include <com/sun/star/sdb/XColumn.hpp> @@ -60,7 +60,7 @@ #include "framectr.hxx" #include "datman.hxx" #include <bibconfig.hxx> -#include <cppuhelper/implbase4.hxx> // helper for implementations +#include <cppuhelper/implbase4.hxx> using namespace ::rtl; using namespace ::com::sun::star; diff --git a/extensions/source/bibliography/bibtools.hxx b/extensions/source/bibliography/bibtools.hxx index 60526e20b78c..61dca624b79b 100644 --- a/extensions/source/bibliography/bibtools.hxx +++ b/extensions/source/bibliography/bibtools.hxx @@ -19,7 +19,7 @@ #ifndef BIBTOOLS_HXX -#include <vcl/taskpanelist.hxx> // includes also vcl/window.hxx +#include <vcl/taskpanelist.hxx> namespace bib { diff --git a/extensions/source/bibliography/framectr.cxx b/extensions/source/bibliography/framectr.cxx index 8683d936f9ad..2e516e176565 100644 --- a/extensions/source/bibliography/framectr.cxx +++ b/extensions/source/bibliography/framectr.cxx @@ -31,7 +31,7 @@ #include "bib.hrc" #include <toolkit/helper/vclunohelper.hxx> #include "bibconfig.hxx" -#include <cppuhelper/implbase1.hxx> // helper for implementations +#include <cppuhelper/implbase1.hxx> #include <vcl/svapp.hxx> #include "bibliography.hrc" #include <comphelper/processfactory.hxx> diff --git a/extensions/source/bibliography/general.cxx b/extensions/source/bibliography/general.cxx index c42f004e1be6..74a0b0348686 100644 --- a/extensions/source/bibliography/general.cxx +++ b/extensions/source/bibliography/general.cxx @@ -26,7 +26,7 @@ #include <com/sun/star/form/ListSourceType.hpp> #include <com/sun/star/awt/XWindow.hpp> #include <toolkit/helper/vclunohelper.hxx> -#include <cppuhelper/implbase1.hxx> // helper for implementations +#include <cppuhelper/implbase1.hxx> #include "general.hxx" #include "sections.hrc" #include "bibresid.hxx" diff --git a/extensions/source/bibliography/general.hxx b/extensions/source/bibliography/general.hxx index a0c3ee1f3c33..fc888fd43eab 100644 --- a/extensions/source/bibliography/general.hxx +++ b/extensions/source/bibliography/general.hxx @@ -32,7 +32,7 @@ #include <vcl/tabpage.hxx> #include <vcl/combobox.hxx> #include <vcl/scrbar.hxx> -#include <cppuhelper/implbase1.hxx> // helper for implementations +#include <cppuhelper/implbase1.hxx> #include "bibshortcuthandler.hxx" diff --git a/extensions/source/bibliography/toolbar.hxx b/extensions/source/bibliography/toolbar.hxx index b7cc0f5bba26..58229c7c6084 100644 --- a/extensions/source/bibliography/toolbar.hxx +++ b/extensions/source/bibliography/toolbar.hxx @@ -29,7 +29,7 @@ #include <vcl/edit.hxx> #include <vcl/fixed.hxx> #include <vcl/timer.hxx> -#include <cppuhelper/implbase1.hxx> // helper for implementations +#include <cppuhelper/implbase1.hxx> #include <boost/ptr_container/ptr_vector.hpp> class BibDataManager; diff --git a/extensions/source/plugin/base/service.cxx b/extensions/source/plugin/base/service.cxx index 0521775c9539..6bef53ee4448 100644 --- a/extensions/source/plugin/base/service.cxx +++ b/extensions/source/plugin/base/service.cxx @@ -47,8 +47,8 @@ #include <com/sun/star/container/XSet.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> diff --git a/extensions/source/scanner/grid.cxx b/extensions/source/scanner/grid.cxx index 6fe68ec148b3..d337c5f6e86e 100644 --- a/extensions/source/scanner/grid.cxx +++ b/extensions/source/scanner/grid.cxx @@ -21,7 +21,7 @@ #include <osl/thread.h> #include <grid.hrc> #include <cstdio> -#include <math.h> // for M_LN10 and M_E +#include <math.h> #include <cmath> diff --git a/extensions/test/ole/AxTestComponents/Basic.h b/extensions/test/ole/AxTestComponents/Basic.h index f6040823604b..9015ac3de0b5 100644 --- a/extensions/test/ole/AxTestComponents/Basic.h +++ b/extensions/test/ole/AxTestComponents/Basic.h @@ -21,7 +21,7 @@ #ifndef __BASIC_H_ #define __BASIC_H_ -#include "resource.h" // main symbols +#include "resource.h" #import "AxTestComponents.tlb" no_namespace no_implementation raw_interfaces_only named_guids ///////////////////////////////////////////////////////////////////////////// diff --git a/extensions/test/ole/AxTestComponents/Foo.h b/extensions/test/ole/AxTestComponents/Foo.h index edc493246f1b..70c93dd819c7 100644 --- a/extensions/test/ole/AxTestComponents/Foo.h +++ b/extensions/test/ole/AxTestComponents/Foo.h @@ -21,7 +21,7 @@ #ifndef __Foo_H_ #define __Foo_H_ -#include "resource.h" // main symbols +#include "resource.h" #import "AxTestComponents.tlb" no_namespace no_implementation raw_interfaces_only named_guids ///////////////////////////////////////////////////////////////////////////// diff --git a/extensions/test/ole/EventListenerSample/EventListener/EvtListener.h b/extensions/test/ole/EventListenerSample/EventListener/EvtListener.h index 1c08dad7d331..272770816cfb 100644 --- a/extensions/test/ole/EventListenerSample/EventListener/EvtListener.h +++ b/extensions/test/ole/EventListenerSample/EventListener/EvtListener.h @@ -21,7 +21,7 @@ #ifndef __EVTLISTENER_H_ #define __EVTLISTENER_H_ -#include "resource.h" // Hauptsymbole +#include "resource.h" ///////////////////////////////////////////////////////////////////////////// // CEvtListener diff --git a/extensions/test/ole/MfcControl/MfcControl.h b/extensions/test/ole/MfcControl/MfcControl.h index ef7a4b4132a3..118431219144 100644 --- a/extensions/test/ole/MfcControl/MfcControl.h +++ b/extensions/test/ole/MfcControl/MfcControl.h @@ -29,7 +29,7 @@ #error include 'afxctl.h' before including this file #endif -#include "resource.h" // main symbols +#include "resource.h" ///////////////////////////////////////////////////////////////////////////// // CMfcControlApp : See MfcControl.cpp for implementation. diff --git a/extensions/test/ole/MfcControl/StdAfx.h b/extensions/test/ole/MfcControl/StdAfx.h index b3a303a6c19b..8ca3f5f4281c 100644 --- a/extensions/test/ole/MfcControl/StdAfx.h +++ b/extensions/test/ole/MfcControl/StdAfx.h @@ -29,17 +29,17 @@ #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#include <afxctl.h> // MFC support for ActiveX Controls -#include <afxext.h> // MFC extensions -#include <afxdtctl.h> // MFC support for Internet Explorer 4 Comon Controls +#include <afxctl.h> +#include <afxext.h> +#include <afxdtctl.h> #ifndef _AFX_NO_AFXCMN_SUPPORT -#include <afxcmn.h> // MFC support for Windows Common Controls +#include <afxcmn.h> #endif // _AFX_NO_AFXCMN_SUPPORT // Delete the two includes below if you do not wish to use the MFC // database classes -#include <afxdb.h> // MFC database classes -#include <afxdao.h> // MFC DAO database classes +#include <afxdb.h> +#include <afxdao.h> //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. diff --git a/extensions/test/ole/unoTocomCalls/XCallback_Impl/Callback.h b/extensions/test/ole/unoTocomCalls/XCallback_Impl/Callback.h index e32e39fb90ed..a0eeca974b82 100644 --- a/extensions/test/ole/unoTocomCalls/XCallback_Impl/Callback.h +++ b/extensions/test/ole/unoTocomCalls/XCallback_Impl/Callback.h @@ -21,7 +21,7 @@ #ifndef __CALLBACK_H_ #define __CALLBACK_H_ -#include "resource.h" // main symbols +#include "resource.h" ///////////////////////////////////////////////////////////////////////////// // CCallback diff --git a/extensions/test/ole/unoTocomCalls/XCallback_Impl/Simple.h b/extensions/test/ole/unoTocomCalls/XCallback_Impl/Simple.h index 2ebba602cc76..758c2aee28a0 100644 --- a/extensions/test/ole/unoTocomCalls/XCallback_Impl/Simple.h +++ b/extensions/test/ole/unoTocomCalls/XCallback_Impl/Simple.h @@ -21,7 +21,7 @@ #ifndef __SIMPLE_H_ #define __SIMPLE_H_ -#include "resource.h" // main symbols +#include "resource.h" ///////////////////////////////////////////////////////////////////////////// // CSimple diff --git a/extensions/test/stm/datatest.cxx b/extensions/test/stm/datatest.cxx index 8764c341160c..0ff0a7496bda 100644 --- a/extensions/test/stm/datatest.cxx +++ b/extensions/test/stm/datatest.cxx @@ -29,8 +29,8 @@ #include <usr/services.hxx> #include <usr/factoryhlp.hxx> -#include <usr/reflserv.hxx> // for EXTERN_SERVICE_CALLTYPE -#include <usr/weak.hxx> // OWeakObject +#include <usr/reflserv.hxx> +#include <usr/weak.hxx> #include <osl/conditn.hxx> #include <osl/mutex.hxx> diff --git a/extensions/test/stm/marktest.cxx b/extensions/test/stm/marktest.cxx index fbfafa0bac90..83be75863cd0 100644 --- a/extensions/test/stm/marktest.cxx +++ b/extensions/test/stm/marktest.cxx @@ -28,8 +28,8 @@ #include <usr/factoryhlp.hxx> -#include <usr/reflserv.hxx> // for EXTERN_SERVICE_CALLTYPE -#include <usr/weak.hxx> // OWeakObject +#include <usr/reflserv.hxx> +#include <usr/weak.hxx> #include <osl/conditn.hxx> #include <osl/mutex.hxx> diff --git a/extensions/test/stm/pipetest.cxx b/extensions/test/stm/pipetest.cxx index 563cbda19074..9e07f892d6fe 100644 --- a/extensions/test/stm/pipetest.cxx +++ b/extensions/test/stm/pipetest.cxx @@ -25,8 +25,8 @@ #include <usr/factoryhlp.hxx> -#include <usr/reflserv.hxx> // for EXTERN_SERVICE_CALLTYPE -#include <usr/weak.hxx> // OWeakObject +#include <usr/reflserv.hxx> +#include <usr/weak.hxx> #include <osl/conditn.hxx> #include <osl/mutex.hxx> diff --git a/extensions/test/stm/testfactreg.cxx b/extensions/test/stm/testfactreg.cxx index 336476d44858..9c9fa35e4367 100644 --- a/extensions/test/stm/testfactreg.cxx +++ b/extensions/test/stm/testfactreg.cxx @@ -19,7 +19,7 @@ #include <string.h> -#include <usr/reflserv.hxx> // for EXTERN_SERVICE_CALLTYPE +#include <usr/reflserv.hxx> #include <usr/factoryhlp.hxx> #include "testfactreg.hxx" |