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 /odk/examples | |
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 'odk/examples')
5 files changed, 7 insertions, 7 deletions
diff --git a/odk/examples/DevelopersGuide/Components/Addons/ProtocolHandlerAddon_cpp/component.cxx b/odk/examples/DevelopersGuide/Components/Addons/ProtocolHandlerAddon_cpp/component.cxx index 20c2628da3f4..0e516e3f9958 100644 --- a/odk/examples/DevelopersGuide/Components/Addons/ProtocolHandlerAddon_cpp/component.cxx +++ b/odk/examples/DevelopersGuide/Components/Addons/ProtocolHandlerAddon_cpp/component.cxx @@ -35,8 +35,8 @@ #include <stdio.h> #include <rtl/ustring.hxx> -#include <cppuhelper/queryinterface.hxx> // helper for queryInterface() impl -#include <cppuhelper/factory.hxx> // helper for component factory +#include <cppuhelper/queryinterface.hxx> +#include <cppuhelper/factory.hxx> // generated c++ interfaces #include <com/sun/star/lang/XSingleComponentFactory.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> diff --git a/odk/examples/DevelopersGuide/Components/CppComponent/service2_impl.cxx b/odk/examples/DevelopersGuide/Components/CppComponent/service2_impl.cxx index 33dc4ec4344d..f23e5cfee55c 100644 --- a/odk/examples/DevelopersGuide/Components/CppComponent/service2_impl.cxx +++ b/odk/examples/DevelopersGuide/Components/CppComponent/service2_impl.cxx @@ -33,7 +33,7 @@ * *************************************************************************/ -#include <cppuhelper/implbase3.hxx> // "3" implementing three interfaces +#include <cppuhelper/implbase3.hxx> #include <cppuhelper/factory.hxx> #include <cppuhelper/implementationentry.hxx> diff --git a/odk/examples/OLE/activex/SOActiveX.h b/odk/examples/OLE/activex/SOActiveX.h index 2f71bcd3108f..3e00dd51facd 100644 --- a/odk/examples/OLE/activex/SOActiveX.h +++ b/odk/examples/OLE/activex/SOActiveX.h @@ -38,7 +38,7 @@ #ifndef __SOACTIVEX_H_ #define __SOACTIVEX_H_ -#include "resource.h" // main symbols +#include "resource.h" #include <ExDispID.h> #include <ExDisp.h> #include <shlguid.h> diff --git a/odk/examples/OLE/activex/SOComWindowPeer.h b/odk/examples/OLE/activex/SOComWindowPeer.h index 55c9dd3a5e14..29856820bd57 100644 --- a/odk/examples/OLE/activex/SOComWindowPeer.h +++ b/odk/examples/OLE/activex/SOComWindowPeer.h @@ -44,7 +44,7 @@ #pragma once #endif // _MSC_VER > 1000 -#include "resource.h" // main symbols +#include "resource.h" #include <ExDispID.h> #include <ExDisp.h> #include <shlguid.h> diff --git a/odk/examples/cpp/counter/counter.cxx b/odk/examples/cpp/counter/counter.cxx index 6f65f5cb735e..9dd008e06762 100644 --- a/odk/examples/cpp/counter/counter.cxx +++ b/odk/examples/cpp/counter/counter.cxx @@ -46,8 +46,8 @@ #include <stdio.h> #include <rtl/ustring.hxx> -#include <cppuhelper/queryinterface.hxx> // helper for queryInterface() impl -#include <cppuhelper/factory.hxx> // helper for component factory +#include <cppuhelper/queryinterface.hxx> +#include <cppuhelper/factory.hxx> // generated c++ interfaces #include <com/sun/star/lang/XSingleServiceFactory.hpp> #include <com/sun/star/lang/XMultiServiceFactory.hpp> |