summaryrefslogtreecommitdiff
path: root/cppuhelper
diff options
context:
space:
mode:
authorJ. Graeme Lingard <jgraeme+git@gmail.com>2010-12-05 20:28:21 +0000
committerJ. Graeme Lingard <jgraeme+git@gmail.com>2010-12-05 20:28:21 +0000
commit7b277251a7b79fe3f83841ab9e3028670262e4dc (patch)
tree4d20fee2d89982980aeb6def9cac54fb0f51eae3 /cppuhelper
parent6880d06ed807326d030795c3eb1fb448cdb4a6e0 (diff)
Remove redundant comments
Diffstat (limited to 'cppuhelper')
-rw-r--r--cppuhelper/source/factory.cxx19
-rw-r--r--cppuhelper/source/interfacecontainer.cxx25
2 files changed, 0 insertions, 44 deletions
diff --git a/cppuhelper/source/factory.cxx b/cppuhelper/source/factory.cxx
index 214258816..187da68d9 100644
--- a/cppuhelper/source/factory.cxx
+++ b/cppuhelper/source/factory.cxx
@@ -65,9 +65,6 @@ using namespace com::sun::star::registry;
namespace cppu
{
-//-----------------------------------------------------------------------------
-//-----------------------------------------------------------------------------
-//-----------------------------------------------------------------------------
class OSingleFactoryHelper
: public XServiceInfo
, public XSingleServiceFactory
@@ -267,10 +264,6 @@ Sequence< OUString > OSingleFactoryHelper::getSupportedServiceNames(void)
return aServiceNames;
}
-
-//----------------------------------------------------------------------
-//----------------------------------------------------------------------
-//----------------------------------------------------------------------
struct OFactoryComponentHelper_Mutex
{
Mutex aMutex;
@@ -543,10 +536,6 @@ sal_Bool SAL_CALL OFactoryComponentHelper::releaseOnNotification() throw(::com::
return sal_True;
}
-
-//-----------------------------------------------------------------------------
-//-----------------------------------------------------------------------------
-//-----------------------------------------------------------------------------
class ORegistryFactoryHelper : public OFactoryComponentHelper,
public OPropertySetHelper
@@ -954,10 +943,6 @@ sal_Bool SAL_CALL ORegistryFactoryHelper::releaseOnNotification() throw(::com::s
return retVal;
}
-//-----------------------------------------------------------------------------
-//-----------------------------------------------------------------------------
-//-----------------------------------------------------------------------------
-
class OFactoryProxyHelper : public WeakImplHelper3< XServiceInfo, XSingleServiceFactory,
XUnloadingPreference >
{
@@ -1047,10 +1032,6 @@ sal_Bool SAL_CALL OFactoryProxyHelper::releaseOnNotification() throw(::com::sun:
return sal_True;
}
-
-//-----------------------------------------------------------------------------
-//-----------------------------------------------------------------------------
-//-----------------------------------------------------------------------------
// global function
Reference<XSingleServiceFactory > SAL_CALL createSingleFactory(
const Reference<XMultiServiceFactory > & rServiceManager,
diff --git a/cppuhelper/source/interfacecontainer.cxx b/cppuhelper/source/interfacecontainer.cxx
index 672a7f123..18e10a7f6 100644
--- a/cppuhelper/source/interfacecontainer.cxx
+++ b/cppuhelper/source/interfacecontainer.cxx
@@ -47,10 +47,6 @@ using namespace com::sun::star::lang;
namespace cppu
{
-
-//===================================================================
-//===================================================================
-//===================================================================
/**
* Reallocate the sequence.
*/
@@ -80,17 +76,10 @@ static void sequenceRemoveElementAt( Sequence< Reference< XInterface > > & rSeq,
rSeq = aDestSeq;
}
-
-//-----------------------------------------------------------------------------
-//-----------------------------------------------------------------------------
-
#ifdef _MSC_VER
#pragma warning( disable: 4786 )
#endif
-//===================================================================
-//===================================================================
-//===================================================================
OInterfaceIteratorHelper::OInterfaceIteratorHelper( OInterfaceContainerHelper & rCont_ )
SAL_THROW( () )
: rCont( rCont_ )
@@ -171,11 +160,6 @@ void OInterfaceIteratorHelper::remove() SAL_THROW( () )
}
}
-//===================================================================
-//===================================================================
-//===================================================================
-
-
OInterfaceContainerHelper::OInterfaceContainerHelper( Mutex & rMutex_ ) SAL_THROW( () )
: rMutex( rMutex_ )
, bInUse( sal_False )
@@ -367,10 +351,6 @@ void OInterfaceContainerHelper::clear() SAL_THROW( () )
aGuard.clear();
}
-//##################################################################################################
-//##################################################################################################
-//##################################################################################################
-
// specialized class for type
typedef ::std::vector< std::pair < Type , void* > > t_type2ptr;
@@ -539,11 +519,6 @@ void OMultiTypeInterfaceContainerHelper::clear()
}
}
-
-//##################################################################################################
-//##################################################################################################
-//##################################################################################################
-
// specialized class for long
typedef ::std::vector< std::pair < sal_Int32 , void* > > t_long2ptr;