summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Laplante <mostthingsweb@gmail.com>2014-08-18 16:15:41 -0400
committerNoel Grandin <noelgrandin@gmail.com>2014-08-19 02:54:14 -0500
commit341d9c4f089c4e8dee96c49a81abf24ab809f367 (patch)
treec1b707513795e10c4151b8a32aae59bc52aff796
parent28df98abeca9774868cadef29b81559fd325d865 (diff)
odk: Clean up comments
Change-Id: I38aa34192244cdd29e1cce7ac612aa9cd5f9e8a1 Reviewed-on: https://gerrit.libreoffice.org/11006 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
-rw-r--r--odk/examples/DevelopersGuide/Components/Addons/ProtocolHandlerAddon_cpp/component.cxx4
-rw-r--r--odk/examples/DevelopersGuide/Database/DriverSkeleton/SConnection.cxx4
-rw-r--r--odk/examples/DevelopersGuide/Database/DriverSkeleton/SDatabaseMetaData.hxx3
-rw-r--r--odk/examples/DevelopersGuide/Database/DriverSkeleton/SDriver.cxx4
-rw-r--r--odk/examples/DevelopersGuide/Database/DriverSkeleton/SResultSetMetaData.hxx2
-rw-r--r--odk/examples/DevelopersGuide/Database/DriverSkeleton/SStatement.hxx5
-rw-r--r--odk/examples/OLE/activex/SOComWindowPeer.h3
-rw-r--r--odk/examples/cpp/DocumentLoader/DocumentLoader.cxx9
-rw-r--r--odk/examples/cpp/complextoolbarcontrols/MyListener.h2
-rw-r--r--odk/examples/cpp/counter/counter.cxx13
-rw-r--r--odk/examples/cpp/counter/countermain.cxx9
-rw-r--r--odk/examples/cpp/custompanel/ctp_factory.cxx4
-rw-r--r--odk/examples/cpp/custompanel/ctp_factory.hxx4
-rw-r--r--odk/examples/cpp/custompanel/ctp_panel.cxx7
-rw-r--r--odk/examples/cpp/custompanel/ctp_panel.hxx7
15 files changed, 10 insertions, 70 deletions
diff --git a/odk/examples/DevelopersGuide/Components/Addons/ProtocolHandlerAddon_cpp/component.cxx b/odk/examples/DevelopersGuide/Components/Addons/ProtocolHandlerAddon_cpp/component.cxx
index 6233fb7c2913..6a57f3291f9b 100644
--- a/odk/examples/DevelopersGuide/Components/Addons/ProtocolHandlerAddon_cpp/component.cxx
+++ b/odk/examples/DevelopersGuide/Components/Addons/ProtocolHandlerAddon_cpp/component.cxx
@@ -53,10 +53,6 @@ using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::registry;
-
-//#### EXPORTED ####################################################################################
-
-
/**
* This function is called to get service factories for an implementation.
*
diff --git a/odk/examples/DevelopersGuide/Database/DriverSkeleton/SConnection.cxx b/odk/examples/DevelopersGuide/Database/DriverSkeleton/SConnection.cxx
index 7075197397da..0530fedb2aec 100644
--- a/odk/examples/DevelopersGuide/Database/DriverSkeleton/SConnection.cxx
+++ b/odk/examples/DevelopersGuide/Database/DriverSkeleton/SConnection.cxx
@@ -280,8 +280,8 @@ void SAL_CALL OConnection::setTransactionIsolation( sal_Int32 level ) throw(SQLE
::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OConnection_BASE::rBHelper.bDisposed);
- // set your isolation level
- // please have a look at @see com.sun.star.sdbc.TransactionIsolation
+ /// set your isolation level
+ /// please have a look at @see com.sun.star.sdbc.TransactionIsolation
}
sal_Int32 SAL_CALL OConnection::getTransactionIsolation( ) throw(SQLException, RuntimeException)
diff --git a/odk/examples/DevelopersGuide/Database/DriverSkeleton/SDatabaseMetaData.hxx b/odk/examples/DevelopersGuide/Database/DriverSkeleton/SDatabaseMetaData.hxx
index fe1449b26637..66e6d4bc7944 100644
--- a/odk/examples/DevelopersGuide/Database/DriverSkeleton/SDatabaseMetaData.hxx
+++ b/odk/examples/DevelopersGuide/Database/DriverSkeleton/SDatabaseMetaData.hxx
@@ -45,9 +45,6 @@ namespace connectivity
namespace skeleton
{
- //************ Class: ODatabaseMetaData
-
-
typedef ::cppu::WeakImplHelper1< ::com::sun::star::sdbc::XDatabaseMetaData> ODatabaseMetaData_BASE;
class ODatabaseMetaData : public ODatabaseMetaData_BASE
diff --git a/odk/examples/DevelopersGuide/Database/DriverSkeleton/SDriver.cxx b/odk/examples/DevelopersGuide/Database/DriverSkeleton/SDriver.cxx
index 8cf29445361b..a1950a492791 100644
--- a/odk/examples/DevelopersGuide/Database/DriverSkeleton/SDriver.cxx
+++ b/odk/examples/DevelopersGuide/Database/DriverSkeleton/SDriver.cxx
@@ -86,8 +86,8 @@ rtl::OUString SkeletonDriver::getImplementationName_Static( ) throw(RuntimeExce
Sequence< ::rtl::OUString > SkeletonDriver::getSupportedServiceNames_Static( ) throw (RuntimeException)
{
- // which service is supported
- // for more information @see com.sun.star.sdbc.Driver
+ /// which service is supported
+ /// for more information @see com.sun.star.sdbc.Driver
Sequence< ::rtl::OUString > aSNS( 1 );
aSNS[0] = ::rtl::OUString("com.sun.star.sdbc.Driver");
return aSNS;
diff --git a/odk/examples/DevelopersGuide/Database/DriverSkeleton/SResultSetMetaData.hxx b/odk/examples/DevelopersGuide/Database/DriverSkeleton/SResultSetMetaData.hxx
index 7404601f1037..23b2483e7278 100644
--- a/odk/examples/DevelopersGuide/Database/DriverSkeleton/SResultSetMetaData.hxx
+++ b/odk/examples/DevelopersGuide/Database/DriverSkeleton/SResultSetMetaData.hxx
@@ -45,8 +45,6 @@ namespace connectivity
namespace skeleton
{
- //************ Class: ResultSetMetaData
-
typedef ::cppu::WeakImplHelper1< ::com::sun::star::sdbc::XResultSetMetaData> OResultSetMetaData_BASE;
class OResultSetMetaData : public OResultSetMetaData_BASE
diff --git a/odk/examples/DevelopersGuide/Database/DriverSkeleton/SStatement.hxx b/odk/examples/DevelopersGuide/Database/DriverSkeleton/SStatement.hxx
index c014b8346431..ac63064fbc84 100644
--- a/odk/examples/DevelopersGuide/Database/DriverSkeleton/SStatement.hxx
+++ b/odk/examples/DevelopersGuide/Database/DriverSkeleton/SStatement.hxx
@@ -60,10 +60,7 @@ namespace connectivity
::com::sun::star::sdbc::XCloseable,
::com::sun::star::sdbc::XMultipleResults> OStatement_BASE;
-
- //************ Class: OStatement_Base
- // is a base class for the normal statement and for the prepared statement
-
+ // A base class for the normal statement and for the prepared statement
class OStatement_Base : public OBase_Mutex,
public OStatement_BASE,
public ::cppu::OPropertySetHelper,
diff --git a/odk/examples/OLE/activex/SOComWindowPeer.h b/odk/examples/OLE/activex/SOComWindowPeer.h
index 1a16bf4a0637..cd58571592eb 100644
--- a/odk/examples/OLE/activex/SOComWindowPeer.h
+++ b/odk/examples/OLE/activex/SOComWindowPeer.h
@@ -46,9 +46,6 @@
#include "so_activex.h"
-
-// SOComWindowPeer
-
class SOComWindowPeer :
public IDispatchImpl<ISOComWindowPeer, &IID_ISOComWindowPeer, &LIBID_SO_ACTIVEXLib>,
public ISupportErrorInfo,
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 <stdio.h>
#include <wchar.h>
#include <sal/main.h>
-
#include <cppuhelper/bootstrap.hxx>
#include <osl/file.hxx>
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 <stdio.h>
#include <rtl/ustring.hxx>
@@ -147,11 +143,6 @@ Reference< XInterface > SAL_CALL MyCounterImpl_create(
return Reference<XInterface>(static_cast<XCountable*>(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 <cstdlib>
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