From 341d9c4f089c4e8dee96c49a81abf24ab809f367 Mon Sep 17 00:00:00 2001 From: Chris Laplante Date: Mon, 18 Aug 2014 16:15:41 -0400 Subject: odk: Clean up comments Change-Id: I38aa34192244cdd29e1cce7ac612aa9cd5f9e8a1 Reviewed-on: https://gerrit.libreoffice.org/11006 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- odk/examples/cpp/DocumentLoader/DocumentLoader.cxx | 9 +-------- odk/examples/cpp/complextoolbarcontrols/MyListener.h | 2 +- odk/examples/cpp/counter/counter.cxx | 13 ++----------- odk/examples/cpp/counter/countermain.cxx | 9 +-------- odk/examples/cpp/custompanel/ctp_factory.cxx | 4 ---- odk/examples/cpp/custompanel/ctp_factory.hxx | 4 ---- odk/examples/cpp/custompanel/ctp_panel.cxx | 7 ------- odk/examples/cpp/custompanel/ctp_panel.hxx | 7 ------- 8 files changed, 5 insertions(+), 50 deletions(-) (limited to 'odk/examples/cpp') diff --git a/odk/examples/cpp/DocumentLoader/DocumentLoader.cxx b/odk/examples/cpp/DocumentLoader/DocumentLoader.cxx index 77c3c2bc7eb7..6e95f202b672 100644 --- a/odk/examples/cpp/DocumentLoader/DocumentLoader.cxx +++ b/odk/examples/cpp/DocumentLoader/DocumentLoader.cxx @@ -33,18 +33,11 @@ * *************************************************************************/ -/***************************************************************************** - ***************************************************************************** - * - * Simple client application using the UnoUrlResolver service. - * - ***************************************************************************** - *****************************************************************************/ +// Simple client application using the UnoUrlResolver service. #include #include #include - #include #include diff --git a/odk/examples/cpp/complextoolbarcontrols/MyListener.h b/odk/examples/cpp/complextoolbarcontrols/MyListener.h index b76de44217c7..5e228592eb24 100644 --- a/odk/examples/cpp/complextoolbarcontrols/MyListener.h +++ b/odk/examples/cpp/complextoolbarcontrols/MyListener.h @@ -29,7 +29,7 @@ #define MYLISTENER_IMPLEMENTATIONNAME "vnd.My.impl.NewDocListener" #define MYLISTENER_SERVICENAME "vnd.My.NewDocListener" -/*--------------------------------------------------- +/** * Registriert sich in der Office Konfiguration als Job. * Dieser wird dann für alle neu geöffneten Dokumente automatisch * gerufen. Man bekommt eine Reference auf das geöffnete Dokument diff --git a/odk/examples/cpp/counter/counter.cxx b/odk/examples/cpp/counter/counter.cxx index 227092a58d3f..86f8d87b6271 100644 --- a/odk/examples/cpp/counter/counter.cxx +++ b/odk/examples/cpp/counter/counter.cxx @@ -33,16 +33,12 @@ * *************************************************************************/ -/************************************************************************* - ************************************************************************* - * +/* * service implementation: foo.Counter * exported interfaces: foo.XCounter * * simple example component implementing a counter - * - ************************************************************************* - *************************************************************************/ + */ #include #include @@ -147,11 +143,6 @@ Reference< XInterface > SAL_CALL MyCounterImpl_create( return Reference(static_cast(new MyCounterImpl(xMgr))); } - - -//#### EXPORTED ########################################################### - - /** * This function is called to get service factories for an implementation. * diff --git a/odk/examples/cpp/counter/countermain.cxx b/odk/examples/cpp/counter/countermain.cxx index 2c510d9cc931..f917a4fe8da5 100644 --- a/odk/examples/cpp/counter/countermain.cxx +++ b/odk/examples/cpp/counter/countermain.cxx @@ -33,14 +33,7 @@ * *************************************************************************/ -/************************************************************************* - ************************************************************************* - * - * simple client application registering and using the counter component. - * - ************************************************************************* - *************************************************************************/ - +// simple client application registering and using the counter component. #include "sal/config.h" #include diff --git a/odk/examples/cpp/custompanel/ctp_factory.cxx b/odk/examples/cpp/custompanel/ctp_factory.cxx index 1fdf4a5661ff..f6723f52afcf 100644 --- a/odk/examples/cpp/custompanel/ctp_factory.cxx +++ b/odk/examples/cpp/custompanel/ctp_factory.cxx @@ -48,10 +48,6 @@ namespace sd { namespace colortoolpanel using ::com::sun::star::container::NoSuchElementException; using ::com::sun::star::awt::XWindow; - - //= ToolPanelFactory - - ToolPanelFactory::ToolPanelFactory( const Reference< XComponentContext >& i_rContext ) :m_xContext( i_rContext ) { diff --git a/odk/examples/cpp/custompanel/ctp_factory.hxx b/odk/examples/cpp/custompanel/ctp_factory.hxx index de7be54dceff..a3aa5ddd87d8 100644 --- a/odk/examples/cpp/custompanel/ctp_factory.hxx +++ b/odk/examples/cpp/custompanel/ctp_factory.hxx @@ -31,10 +31,6 @@ namespace sd { namespace colortoolpanel { - - - //= ToolPanelFactory - typedef ::cppu::WeakImplHelper2 < ::com::sun::star::ui::XUIElementFactory , ::com::sun::star::lang::XServiceInfo > ToolPanelFactory_Base; diff --git a/odk/examples/cpp/custompanel/ctp_panel.cxx b/odk/examples/cpp/custompanel/ctp_panel.cxx index 78b68635470a..aa1b4ef403a6 100644 --- a/odk/examples/cpp/custompanel/ctp_panel.cxx +++ b/odk/examples/cpp/custompanel/ctp_panel.cxx @@ -98,9 +98,6 @@ namespace sd { namespace colortoolpanel } } - //= class SingleColorPanel - - SingleColorPanel::SingleColorPanel( const Reference< XComponentContext >& i_rContext, const Reference< XWindow >& i_rParentWindow, const ::sal_Int32 i_nPanelColor ) :SingleColorPanel_Base( m_aMutex ) ,m_xWindow() @@ -195,10 +192,6 @@ namespace sd { namespace colortoolpanel m_xWindow.clear(); } - - //= PanelUIElement - - PanelUIElement::PanelUIElement( const Reference< XComponentContext >& i_rContext, const Reference< XWindow >& i_rParentWindow, const OUString& i_rResourceURL, const ::sal_Int32 i_nPanelColor ) :PanelUIElement_Base( m_aMutex ) diff --git a/odk/examples/cpp/custompanel/ctp_panel.hxx b/odk/examples/cpp/custompanel/ctp_panel.hxx index 5428496245b8..098faba050f3 100644 --- a/odk/examples/cpp/custompanel/ctp_panel.hxx +++ b/odk/examples/cpp/custompanel/ctp_panel.hxx @@ -35,10 +35,6 @@ namespace sd { namespace colortoolpanel { - - - //= SingleColorPanel - typedef ::cppu::WeakComponentImplHelper2 < ::com::sun::star::ui::XToolPanel , ::com::sun::star::awt::XPaintListener > SingleColorPanel_Base; @@ -73,9 +69,6 @@ namespace sd { namespace colortoolpanel const sal_Int32 m_nPanelColor; }; - - //= PanelUIElement - typedef ::cppu::WeakComponentImplHelper1 < ::com::sun::star::ui::XUIElement > PanelUIElement_Base; class PanelUIElement :public ::cppu::BaseMutex -- cgit v1.2.3