summaryrefslogtreecommitdiff
path: root/odk/examples/cpp/custompanel
diff options
context:
space:
mode:
authorAlexander Wilms <f.alexander.wilms@gmail.com>2014-02-22 21:20:15 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-02-23 03:38:49 +0000
commit0ce0c369aa8880dff9fe874ba85ec6f52ee37ddf (patch)
tree5024cba9f9ea5e3b23ea26025323f6aef39488d0 /odk/examples/cpp/custompanel
parentb81ac16e65b311d6e43c05c22c65d2040c9d7e04 (diff)
Remove unneccessary comments
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'odk/examples/cpp/custompanel')
-rw-r--r--odk/examples/cpp/custompanel/ctp_factory.cxx8
-rw-r--r--odk/examples/cpp/custompanel/ctp_panel.cxx28
-rw-r--r--odk/examples/cpp/custompanel/ctp_services.cxx2
3 files changed, 19 insertions, 19 deletions
diff --git a/odk/examples/cpp/custompanel/ctp_factory.cxx b/odk/examples/cpp/custompanel/ctp_factory.cxx
index 9c8d5c50ddb2..7ff959a47586 100644
--- a/odk/examples/cpp/custompanel/ctp_factory.cxx
+++ b/odk/examples/cpp/custompanel/ctp_factory.cxx
@@ -51,18 +51,18 @@ namespace sd { namespace colortoolpanel
//==================================================================================================================
//= ToolPanelFactory
//==================================================================================================================
- //------------------------------------------------------------------------------------------------------------------
+
ToolPanelFactory::ToolPanelFactory( const Reference< XComponentContext >& i_rContext )
:m_xContext( i_rContext )
{
}
- //------------------------------------------------------------------------------------------------------------------
+
ToolPanelFactory::~ToolPanelFactory()
{
}
- //------------------------------------------------------------------------------------------------------------------
+
Reference< XUIElement > SAL_CALL ToolPanelFactory::createUIElement( const OUString& i_rResourceURL, const Sequence< PropertyValue >& i_rArgs ) throw (NoSuchElementException, IllegalArgumentException, RuntimeException)
{
::osl::MutexGuard aGuard( m_aMutex );
@@ -127,7 +127,7 @@ namespace sd { namespace colortoolpanel
return aServiceNames;
}
- //------------------------------------------------------------------------------------------------------------------
+
Reference< XInterface > SAL_CALL ToolPanelFactory::Create( const Reference< XComponentContext >& i_rContext ) throw (RuntimeException)
{
return *( new ToolPanelFactory( i_rContext ) );
diff --git a/odk/examples/cpp/custompanel/ctp_panel.cxx b/odk/examples/cpp/custompanel/ctp_panel.cxx
index c84c13c77a09..e486de7e4d79 100644
--- a/odk/examples/cpp/custompanel/ctp_panel.cxx
+++ b/odk/examples/cpp/custompanel/ctp_panel.cxx
@@ -100,7 +100,7 @@ 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()
@@ -124,12 +124,12 @@ namespace sd { namespace colortoolpanel
osl_atomic_decrement( &m_refCount );
}
- //------------------------------------------------------------------------------------------------------------------
+
SingleColorPanel::~SingleColorPanel()
{
}
- //------------------------------------------------------------------------------------------------------------------
+
Reference< XWindow > SAL_CALL SingleColorPanel::getWindow() throw (RuntimeException)
{
::osl::MutexGuard aGuard( m_aMutex );
@@ -138,7 +138,7 @@ namespace sd { namespace colortoolpanel
return m_xWindow;
}
- //------------------------------------------------------------------------------------------------------------------
+
Reference< XAccessible > SAL_CALL SingleColorPanel::createAccessible( const Reference< XAccessible >& i_rParentAccessible ) throw (RuntimeException)
{
::osl::MutexGuard aGuard( m_aMutex );
@@ -151,7 +151,7 @@ namespace sd { namespace colortoolpanel
return Reference< XAccessible >( getWindow(), UNO_QUERY );
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL SingleColorPanel::windowPaint( const PaintEvent& i_rEvent ) throw (RuntimeException)
{
try
@@ -170,13 +170,13 @@ namespace sd { namespace colortoolpanel
}
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL SingleColorPanel::disposing( const EventObject& i_rSource ) throw (RuntimeException)
{
(void)i_rSource;
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL SingleColorPanel::disposing()
{
::osl::MutexGuard aGuard( m_aMutex );
@@ -198,7 +198,7 @@ namespace sd { namespace colortoolpanel
//==================================================================================================================
//= 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 )
@@ -207,31 +207,31 @@ namespace sd { namespace colortoolpanel
{
}
- //------------------------------------------------------------------------------------------------------------------
+
PanelUIElement::~PanelUIElement()
{
}
- //------------------------------------------------------------------------------------------------------------------
+
Reference< XFrame > SAL_CALL PanelUIElement::getFrame() throw (RuntimeException)
{
// TODO
return NULL;
}
- //------------------------------------------------------------------------------------------------------------------
+
OUString SAL_CALL PanelUIElement::getResourceURL() throw (RuntimeException)
{
return m_sResourceURL;
}
- //------------------------------------------------------------------------------------------------------------------
+
::sal_Int16 SAL_CALL PanelUIElement::getType() throw (RuntimeException)
{
return UIElementType::TOOLPANEL;
}
- //------------------------------------------------------------------------------------------------------------------
+
Reference< XInterface > SAL_CALL PanelUIElement::getRealInterface( ) throw (RuntimeException)
{
::osl::MutexGuard aGuard( m_aMutex );
@@ -240,7 +240,7 @@ namespace sd { namespace colortoolpanel
return m_xToolPanel;
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL PanelUIElement::disposing()
{
Reference< XComponent > xPanelComponent( m_xToolPanel, UNO_QUERY_THROW );
diff --git a/odk/examples/cpp/custompanel/ctp_services.cxx b/odk/examples/cpp/custompanel/ctp_services.cxx
index a8f5702ea9c5..d67dddd1aa81 100644
--- a/odk/examples/cpp/custompanel/ctp_services.cxx
+++ b/odk/examples/cpp/custompanel/ctp_services.cxx
@@ -48,7 +48,7 @@ namespace sd { namespace colortoolpanel
extern "C"
{
- //------------------------------------------------------------------------------------------------------------------
+
SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory( const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey )
{
return ::cppu::component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey , ::sd::colortoolpanel::s_aServiceEntries );