summaryrefslogtreecommitdiff
path: root/chart2/source/tools/WrappedPropertySet.cxx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-01-17 19:23:43 +0100
committerKohei Yoshida <kyoshida@novell.com>2011-01-18 13:43:57 -0500
commit39a09318dc2162a4f4edeed7c7d67149258201e2 (patch)
tree2c6572bad9c292d060db2249206608e255c8cb71 /chart2/source/tools/WrappedPropertySet.cxx
parent6525bc09264d11ce6e5e69fc3f0db3a490b41d15 (diff)
Remove useless comments and some dead code.
Diffstat (limited to 'chart2/source/tools/WrappedPropertySet.cxx')
-rw-r--r--chart2/source/tools/WrappedPropertySet.cxx9
1 files changed, 0 insertions, 9 deletions
diff --git a/chart2/source/tools/WrappedPropertySet.cxx b/chart2/source/tools/WrappedPropertySet.cxx
index 8b30805300c4..7082699b5d91 100644
--- a/chart2/source/tools/WrappedPropertySet.cxx
+++ b/chart2/source/tools/WrappedPropertySet.cxx
@@ -67,7 +67,6 @@ Reference< beans::XPropertyState > WrappedPropertySet::getInnerPropertyState()
void WrappedPropertySet::clearWrappedPropertySet()
{
- // /--
::osl::MutexGuard aGuard( m_aMutex );
//delete all wrapped properties
@@ -85,7 +84,6 @@ void WrappedPropertySet::clearWrappedPropertySet()
DELETEZ(m_pWrappedPropertyMap);
m_xInfo = NULL;
- // \--
}
//XPropertySet
@@ -94,13 +92,11 @@ Reference< beans::XPropertySetInfo > SAL_CALL WrappedPropertySet::getPropertySet
{
if( !m_xInfo.is() )
{
- // /--
::osl::MutexGuard aGuard( m_aMutex );
if( !m_xInfo.is() )
{
m_xInfo = ::cppu::OPropertySetHelper::createPropertySetInfo( getInfoHelper() );
}
- // \--
}
return m_xInfo;
}
@@ -208,7 +204,6 @@ void SAL_CALL WrappedPropertySet::addPropertyChangeListener( const OUString& rPr
else
xInnerPropertySet->addPropertyChangeListener( rPropertyName, xListener );
}
-// m_aBoundListenerContainer.addInterface( (sal_Int32)nHandle, xListener );
}
void SAL_CALL WrappedPropertySet::removePropertyChangeListener( const OUString& rPropertyName, const Reference< beans::XPropertyChangeListener >& aListener )
throw (beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException)
@@ -438,14 +433,12 @@ Sequence< Any > SAL_CALL WrappedPropertySet::getPropertyDefaults( const Sequence
{
if(!m_pPropertyArrayHelper)
{
- // /--
::osl::MutexGuard aGuard( m_aMutex );
if(!m_pPropertyArrayHelper)
{
sal_Bool bSorted = sal_True;
m_pPropertyArrayHelper = new ::cppu::OPropertyArrayHelper( getPropertySequence(), bSorted );
}
- // \--
}
return *m_pPropertyArrayHelper;
}
@@ -456,7 +449,6 @@ tWrappedPropertyMap& WrappedPropertySet::getWrappedPropertyMap()
{
if(!m_pWrappedPropertyMap)
{
- // /--
::osl::MutexGuard aGuard( m_aMutex );
if(!m_pWrappedPropertyMap)
{
@@ -486,7 +478,6 @@ tWrappedPropertyMap& WrappedPropertySet::getWrappedPropertyMap()
}
}
}
- // \--
}
return *m_pWrappedPropertyMap;
}