summaryrefslogtreecommitdiff
path: root/chart2/source/tools/LabeledDataSequence.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/tools/LabeledDataSequence.cxx')
-rw-r--r--chart2/source/tools/LabeledDataSequence.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/chart2/source/tools/LabeledDataSequence.cxx b/chart2/source/tools/LabeledDataSequence.cxx
index 85fab94f6292..7acb72b4c6ce 100644
--- a/chart2/source/tools/LabeledDataSequence.cxx
+++ b/chart2/source/tools/LabeledDataSequence.cxx
@@ -152,8 +152,7 @@ void SAL_CALL LabeledDataSequence::removeModifyListener( const Reference< util::
Sequence< OUString > LabeledDataSequence::getSupportedServiceNames_Static()
{
- Sequence< OUString > aServices( 1 );
- aServices[ 0 ] = "com.sun.star.chart2.data.LabeledDataSequence";
+ Sequence<OUString> aServices { "com.sun.star.chart2.data.LabeledDataSequence" };
return aServices;
}