summaryrefslogtreecommitdiff
path: root/chart2/source/tools/ConfigColorScheme.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/tools/ConfigColorScheme.cxx')
-rw-r--r--chart2/source/tools/ConfigColorScheme.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/tools/ConfigColorScheme.cxx b/chart2/source/tools/ConfigColorScheme.cxx
index 84cf07235ddf..c833a311c056 100644
--- a/chart2/source/tools/ConfigColorScheme.cxx
+++ b/chart2/source/tools/ConfigColorScheme.cxx
@@ -93,7 +93,7 @@ uno::Any ChartConfigItem::getProperty( const OUString & aPropertyName )
{
Sequence< uno::Any > aValues(
GetProperties( Sequence< OUString >( &aPropertyName, 1 )));
- if( ! aValues.getLength())
+ if( ! aValues.hasElements())
return uno::Any();
return aValues[0];
}