summaryrefslogtreecommitdiff
path: root/embeddedobj/test/mtexecutor
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 /embeddedobj/test/mtexecutor
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 'embeddedobj/test/mtexecutor')
-rw-r--r--embeddedobj/test/mtexecutor/bitmapcreator.cxx14
-rw-r--r--embeddedobj/test/mtexecutor/mainthreadexecutor.cxx18
2 files changed, 16 insertions, 16 deletions
diff --git a/embeddedobj/test/mtexecutor/bitmapcreator.cxx b/embeddedobj/test/mtexecutor/bitmapcreator.cxx
index 3c81ccaa41c7..1c75fd9655f7 100644
--- a/embeddedobj/test/mtexecutor/bitmapcreator.cxx
+++ b/embeddedobj/test/mtexecutor/bitmapcreator.cxx
@@ -26,7 +26,7 @@
using namespace ::com::sun::star;
-//-------------------------------------------------------------------------
+
uno::Sequence< OUString > SAL_CALL VCLBitmapCreator::impl_staticGetSupportedServiceNames()
{
uno::Sequence< OUString > aRet(2);
@@ -35,20 +35,20 @@ uno::Sequence< OUString > SAL_CALL VCLBitmapCreator::impl_staticGetSupportedServ
return aRet;
}
-//-------------------------------------------------------------------------
+
OUString SAL_CALL VCLBitmapCreator::impl_staticGetImplementationName()
{
return OUString("com.sun.star.comp.embed.BitmapCreator");
}
-//-------------------------------------------------------------------------
+
uno::Reference< uno::XInterface > SAL_CALL VCLBitmapCreator::impl_staticCreateSelfInstance(
const uno::Reference< lang::XMultiServiceFactory >& xServiceManager )
{
return uno::Reference< uno::XInterface >( *new VCLBitmapCreator( xServiceManager ) );
}
-//-------------------------------------------------------------------------
+
uno::Reference< uno::XInterface > SAL_CALL VCLBitmapCreator::createInstance()
throw ( uno::Exception,
@@ -60,7 +60,7 @@ uno::Reference< uno::XInterface > SAL_CALL VCLBitmapCreator::createInstance()
return aResult;
}
-//-------------------------------------------------------------------------
+
uno::Reference< uno::XInterface > SAL_CALL VCLBitmapCreator::createInstanceWithArguments(
const uno::Sequence< uno::Any >& aArguments )
throw ( uno::Exception,
@@ -84,7 +84,7 @@ uno::Reference< uno::XInterface > SAL_CALL VCLBitmapCreator::createInstanceWithA
return aResult;
}
-//-------------------------------------------------------------------------
+
OUString SAL_CALL VCLBitmapCreator::getImplementationName()
throw ( uno::RuntimeException )
{
@@ -97,7 +97,7 @@ sal_Bool SAL_CALL VCLBitmapCreator::supportsService( const OUString& ServiceName
return cppu::supportsService(this, ServiceName);
}
-//-------------------------------------------------------------------------
+
uno::Sequence< OUString > SAL_CALL VCLBitmapCreator::getSupportedServiceNames()
throw ( uno::RuntimeException )
{
diff --git a/embeddedobj/test/mtexecutor/mainthreadexecutor.cxx b/embeddedobj/test/mtexecutor/mainthreadexecutor.cxx
index 1a0b70f6fa64..f363295914f2 100644
--- a/embeddedobj/test/mtexecutor/mainthreadexecutor.cxx
+++ b/embeddedobj/test/mtexecutor/mainthreadexecutor.cxx
@@ -24,7 +24,7 @@
using namespace ::com::sun::star;
-//-------------------------------------------------------------------------
+
uno::Sequence< OUString > SAL_CALL MainThreadExecutor::impl_staticGetSupportedServiceNames()
{
uno::Sequence< OUString > aRet(2);
@@ -33,20 +33,20 @@ uno::Sequence< OUString > SAL_CALL MainThreadExecutor::impl_staticGetSupportedSe
return aRet;
}
-//-------------------------------------------------------------------------
+
OUString SAL_CALL MainThreadExecutor::impl_staticGetImplementationName()
{
return OUString("com.sun.star.comp.thread.MainThreadExecutor");
}
-//-------------------------------------------------------------------------
+
uno::Reference< uno::XInterface > SAL_CALL MainThreadExecutor::impl_staticCreateSelfInstance(
const uno::Reference< lang::XMultiServiceFactory >& xServiceManager )
{
return uno::Reference< uno::XInterface >( *new MainThreadExecutor( xServiceManager ) );
}
-//-------------------------------------------------------------------------
+
uno::Any SAL_CALL MainThreadExecutor::execute( const uno::Sequence< beans::NamedValue >& aArguments )
throw ( lang::IllegalArgumentException,
uno::Exception,
@@ -76,7 +76,7 @@ uno::Any SAL_CALL MainThreadExecutor::execute( const uno::Sequence< beans::Named
return uno::Any();
}
-//-------------------------------------------------------------------------
+
IMPL_STATIC_LINK( MainThreadExecutor, worker, MainThreadExecutorRequest*, pThreadExecutorRequest )
{
pThreadExecutorRequest->doIt();
@@ -85,7 +85,7 @@ IMPL_STATIC_LINK( MainThreadExecutor, worker, MainThreadExecutorRequest*, pThrea
return 0;
}
-//-------------------------------------------------------------------------
+
OUString SAL_CALL MainThreadExecutor::getImplementationName()
throw ( uno::RuntimeException )
{
@@ -98,14 +98,14 @@ sal_Bool SAL_CALL MainThreadExecutor::supportsService( const OUString& ServiceNa
return cppu::supportsService(this, ServiceName);
}
-//-------------------------------------------------------------------------
+
uno::Sequence< OUString > SAL_CALL MainThreadExecutor::getSupportedServiceNames()
throw ( uno::RuntimeException )
{
return impl_staticGetSupportedServiceNames();
}
-//-------------------------------------------------------------------------
+
MainThreadExecutorRequest::MainThreadExecutorRequest( const uno::Reference< task::XJob >& xJob,
const uno::Sequence< beans::NamedValue >& aValues )
: m_xJob( xJob )
@@ -113,7 +113,7 @@ MainThreadExecutorRequest::MainThreadExecutorRequest( const uno::Reference< task
{
}
-//-------------------------------------------------------------------------
+
void MainThreadExecutorRequest::doIt()
{
if ( m_xJob.is() )