summaryrefslogtreecommitdiff
path: root/chart2/source/model/template/ScatterChartType.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/model/template/ScatterChartType.cxx
parent6525bc09264d11ce6e5e69fc3f0db3a490b41d15 (diff)
Remove useless comments and some dead code.
Diffstat (limited to 'chart2/source/model/template/ScatterChartType.cxx')
-rw-r--r--chart2/source/model/template/ScatterChartType.cxx13
1 files changed, 0 insertions, 13 deletions
diff --git a/chart2/source/model/template/ScatterChartType.cxx b/chart2/source/model/template/ScatterChartType.cxx
index 3ff448664e57..3d7b0fff5f28 100644
--- a/chart2/source/model/template/ScatterChartType.cxx
+++ b/chart2/source/model/template/ScatterChartType.cxx
@@ -98,7 +98,6 @@ const Sequence< Property > & lcl_GetPropertySequence()
{
static Sequence< Property > aPropSeq;
- // /--
::osl::MutexGuard aGuard( ::osl::Mutex::getGlobalMutex() );
if( 0 == aPropSeq.getLength() )
{
@@ -156,7 +155,6 @@ uno::Reference< util::XCloneable > SAL_CALL ScatterChartType::createClone()
}
// ____ XChartType ____
-// ____ XChartType ____
Reference< chart2::XCoordinateSystem > SAL_CALL
ScatterChartType::createCoordinateSystem( ::sal_Int32 DimensionCount )
throw (lang::IllegalArgumentException,
@@ -217,13 +215,6 @@ uno::Sequence< ::rtl::OUString > SAL_CALL ScatterChartType::getSupportedOptional
{
static uno::Sequence< ::rtl::OUString > aOptRolesSeq;
-// if( aOptRolesSeq.getLength() == 0 )
-// {
-// aOptRolesSeq.realloc( 2 );
-// aOptRolesSeq[0] = C2U( "error-bars-x" );
-// aOptRolesSeq[1] = C2U( "error-bars-y" );
-// }
-
return aOptRolesSeq;
}
@@ -234,7 +225,6 @@ uno::Any ScatterChartType::GetDefaultValue( sal_Int32 nHandle ) const
{
static tPropertyValueMap aStaticDefaults;
- // /--
::osl::MutexGuard aGuard( ::osl::Mutex::getGlobalMutex() );
if( 0 == aStaticDefaults.size() )
{
@@ -249,7 +239,6 @@ uno::Any ScatterChartType::GetDefaultValue( sal_Int32 nHandle ) const
return uno::Any();
return (*aFound).second;
- // \--
}
// ____ OPropertySet ____
@@ -269,7 +258,6 @@ uno::Reference< beans::XPropertySetInfo > SAL_CALL
{
static uno::Reference< beans::XPropertySetInfo > xInfo;
- // /--
::osl::MutexGuard aGuard( ::osl::Mutex::getGlobalMutex() );
if( !xInfo.is())
{
@@ -278,7 +266,6 @@ uno::Reference< beans::XPropertySetInfo > SAL_CALL
}
return xInfo;
- // \--
}
uno::Sequence< ::rtl::OUString > ScatterChartType::getSupportedServiceNames_Static()