summaryrefslogtreecommitdiff
path: root/cppuhelper/test
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 /cppuhelper/test
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 'cppuhelper/test')
-rw-r--r--cppuhelper/test/cfg_test.cxx22
-rw-r--r--cppuhelper/test/testpropshlp.cxx14
2 files changed, 18 insertions, 18 deletions
diff --git a/cppuhelper/test/cfg_test.cxx b/cppuhelper/test/cfg_test.cxx
index c031fb7cbefa..b3eec0af67d3 100644
--- a/cppuhelper/test/cfg_test.cxx
+++ b/cppuhelper/test/cfg_test.cxx
@@ -50,24 +50,24 @@ using namespace ::com::sun::star::uno;
namespace cfg_test
{
-//--------------------------------------------------------------------------------------------------
+
static Sequence< OUString > impl0_getSupportedServiceNames()
{
OUString str("com.sun.star.bootstrap.TestComponent0");
return Sequence< OUString >( &str, 1 );
}
-//--------------------------------------------------------------------------------------------------
+
static OUString impl0_getImplementationName()
{
return OUString("com.sun.star.comp.bootstrap.TestComponent0");
}
-//--------------------------------------------------------------------------------------------------
+
static Sequence< OUString > impl1_getSupportedServiceNames()
{
OUString str("com.sun.star.bootstrap.TestComponent1");
return Sequence< OUString >( &str, 1 );
}
-//--------------------------------------------------------------------------------------------------
+
static OUString impl1_getImplementationName()
{
return OUString("com.sun.star.comp.bootstrap.TestComponent1");
@@ -90,7 +90,7 @@ public:
virtual OUString SAL_CALL getImplementationName() throw (RuntimeException);
virtual sal_Bool SAL_CALL supportsService( const OUString & rServiceName ) throw (RuntimeException);
};
-//__________________________________________________________________________________________________
+
ServiceImpl0::ServiceImpl0( Reference< XComponentContext > const & xContext ) SAL_THROW(())
: m_xContext( xContext )
{
@@ -113,7 +113,7 @@ ServiceImpl0::ServiceImpl0( Reference< XComponentContext > const & xContext ) SA
OSL_VERIFY( val == "value of implprop1" );
}
// XInitialization
-//__________________________________________________________________________________________________
+
void ServiceImpl0::initialize( const Sequence< Any >& rArgs )
throw (Exception, RuntimeException)
{
@@ -128,19 +128,19 @@ void ServiceImpl0::initialize( const Sequence< Any >& rArgs )
OSL_VERIFY( val == "third argument" );
}
// XServiceInfo
-//__________________________________________________________________________________________________
+
OUString ServiceImpl0::getImplementationName()
throw(::com::sun::star::uno::RuntimeException)
{
return impl0_getImplementationName();
}
-//__________________________________________________________________________________________________
+
Sequence< OUString > ServiceImpl0::getSupportedServiceNames()
throw(::com::sun::star::uno::RuntimeException)
{
return impl0_getSupportedServiceNames();
}
-//__________________________________________________________________________________________________
+
sal_Bool ServiceImpl0::supportsService( const OUString & rServiceName )
throw(::com::sun::star::uno::RuntimeException)
{
@@ -159,13 +159,13 @@ public:
virtual Sequence< OUString > SAL_CALL getSupportedServiceNames() throw (RuntimeException);
virtual OUString SAL_CALL getImplementationName() throw (RuntimeException);
};
-//__________________________________________________________________________________________________
+
OUString ServiceImpl1::getImplementationName()
throw(::com::sun::star::uno::RuntimeException)
{
return impl1_getImplementationName();
}
-//__________________________________________________________________________________________________
+
Sequence< OUString > ServiceImpl1::getSupportedServiceNames()
throw(::com::sun::star::uno::RuntimeException)
{
diff --git a/cppuhelper/test/testpropshlp.cxx b/cppuhelper/test/testpropshlp.cxx
index a20413461a5d..0919146b51fa 100644
--- a/cppuhelper/test/testpropshlp.cxx
+++ b/cppuhelper/test/testpropshlp.cxx
@@ -293,9 +293,9 @@ void test_PropertyArrayHelper()
-//----------------------------------------------------
+
// test_OPropertySetHelper
-//----------------------------------------------------
+
struct MutexContainer
{
Mutex aMutex;
@@ -384,9 +384,9 @@ protected:
void SAL_CALL getFastPropertyValue( Any& rValue, sal_Int32 nHandle ) const throw(RuntimeException);
};
-//----------------------------------------------------------------------
+
//------ The Properties of this implementation -------------------------
-//----------------------------------------------------------------------
+
// Id must be the index into the array
#define PROPERTY_BOOL 0
#define PROPERTY_INT16 1
@@ -421,9 +421,9 @@ Property * getBasicProps()
}
-//----------------------------------------------------
+
// test_OPropertySetHelper_Listener
-//----------------------------------------------------
+
class test_OPropertySetHelper_Listener
: public WeakImplHelper3< XPropertyChangeListener, XPropertiesChangeListener, XVetoableChangeListener >
{
@@ -744,7 +744,7 @@ void test_OPropertySetHelper::setFastPropertyValue_NoBroadcast
}
}
-//--------------------------
+
void test_OPropertySetHelper::getFastPropertyValue( Any & rRet, sal_Int32 nHandle ) const
throw(RuntimeException)
{