summaryrefslogtreecommitdiff
path: root/sfx2/source/explorer
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 /sfx2/source/explorer
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 'sfx2/source/explorer')
-rw-r--r--sfx2/source/explorer/nochaos.cxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/sfx2/source/explorer/nochaos.cxx b/sfx2/source/explorer/nochaos.cxx
index 76b2e63b9221..58893f87b700 100644
--- a/sfx2/source/explorer/nochaos.cxx
+++ b/sfx2/source/explorer/nochaos.cxx
@@ -53,7 +53,7 @@ public:
const SfxItemInfo* GetItemInfos() const { return m_pItemInfos; }
};
-//----------------------------------------------------------------------------
+
//=========================================================================
@@ -71,9 +71,9 @@ public:
static sal_uInt16 Release();
};
-//----------------------------------------------------------------------------
-//----------------------------------------------------------------------------
+
+
// static
SfxItemPool* NoChaos::GetItemPool()
{
@@ -81,7 +81,7 @@ SfxItemPool* NoChaos::GetItemPool()
return CntItemPool::Acquire();
}
-//----------------------------------------------------------------------------
+
// static
sal_uInt16 NoChaos::ReleaseItemPool()
{
@@ -98,7 +98,7 @@ static CntStaticPoolDefaults_Impl* pPoolDefs_Impl = NULL;
// static member!
CntItemPool* CntItemPool::_pThePool = NULL;
-//-------------------------------------------------------------------------
+
CntItemPool::CntItemPool()
: SfxItemPool( "chaos", WID_CHAOS_START, WID_CHAOS_START, NULL ),
_nRefs( 0 )
@@ -117,7 +117,7 @@ CntItemPool::CntItemPool()
SetDefaults( pPoolDefs_Impl->GetDefaults() );
}
-//-------------------------------------------------------------------------
+
//virtual
CntItemPool::~CntItemPool()
{
@@ -125,7 +125,7 @@ CntItemPool::~CntItemPool()
ReleaseDefaults( false );
}
-//-------------------------------------------------------------------------
+
// static
CntItemPool* CntItemPool::Acquire()
{
@@ -137,7 +137,7 @@ CntItemPool* CntItemPool::Acquire()
return _pThePool;
}
-//-------------------------------------------------------------------------
+
// static
sal_uInt16 CntItemPool::Release()
{
@@ -174,7 +174,7 @@ inline void CntStaticPoolDefaults_Impl::Insert(
m_pItemInfos[ nPos ]._nFlags = nFlags;
}
-//-------------------------------------------------------------------------
+
CntStaticPoolDefaults_Impl::~CntStaticPoolDefaults_Impl()
{
for ( sal_uInt32 n = 0; n < m_nItems; ++n )
@@ -184,7 +184,7 @@ CntStaticPoolDefaults_Impl::~CntStaticPoolDefaults_Impl()
delete [] m_pItemInfos;
}
-//-------------------------------------------------------------------------
+
CntStaticPoolDefaults_Impl::CntStaticPoolDefaults_Impl( CntItemPool* /*pPool*/ )
: m_nItems( 1 ),
m_ppDefaults( new SfxPoolItem* [ m_nItems ] ),