summaryrefslogtreecommitdiff
path: root/cui/source/options/cfgchart.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/options/cfgchart.cxx')
-rw-r--r--cui/source/options/cfgchart.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/options/cfgchart.cxx b/cui/source/options/cfgchart.cxx
index 52ddde097f4c..0427e734ddc7 100644
--- a/cui/source/options/cfgchart.cxx
+++ b/cui/source/options/cfgchart.cxx
@@ -235,7 +235,7 @@ void SvxChartOptions::ImplCommit()
uno::Sequence< OUString > aNames = GetPropertyNames();
uno::Sequence< uno::Any > aValues( aNames.getLength());
- if( aValues.getLength() >= 1 )
+ if( aValues.hasElements() )
{
// 1. default colors for series
// convert list to sequence