summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2015-07-28 11:22:13 +0900
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-07-28 03:07:39 +0000
commit19ae187b328bad9197d5241bd585f9101116ab12 (patch)
tree4dc848c6664af1e2d5d5168d3c44de8956996e50 /chart2
parent2d8f1faa97a3dfd38c540e0cd0b73a2e9d621d53 (diff)
chart2: fix duplicate entries at index 0
... introduced at 6949629e35f308ce7efc890319ecf9a46a5f154c. Change-Id: Ifc5c2f92584aabe668eb8c87abdc5085d4a7b075 Reviewed-on: https://gerrit.libreoffice.org/17377 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/model/main/DataPoint.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/chart2/source/model/main/DataPoint.cxx b/chart2/source/model/main/DataPoint.cxx
index c7876fd5bf77..c775c5ce8392 100644
--- a/chart2/source/model/main/DataPoint.cxx
+++ b/chart2/source/model/main/DataPoint.cxx
@@ -284,12 +284,12 @@ void DataPoint::fireModifyEvent()
Sequence< OUString > DataPoint::getSupportedServiceNames_Static()
{
- Sequence< OUString > aServices( 4 );
- aServices[ 0 ] = "com.sun.star.drawing.FillProperties";
- aServices[ 0 ] = "com.sun.star.chart2.DataPoint";
- aServices[ 1 ] = "com.sun.star.chart2.DataPointProperties";
- aServices[ 2 ] = "com.sun.star.beans.PropertySet";
- return aServices;
+ return Sequence< OUString >{
+ "com.sun.star.drawing.FillProperties",
+ "com.sun.star.chart2.DataPoint",
+ "com.sun.star.chart2.DataPointProperties",
+ "com.sun.star.beans.PropertySet"
+ };
}
// needed by MSC compiler