Kaydet (Commit) 19ae187b authored tarafından Takeshi Abe's avatar Takeshi Abe Kaydeden (comit) Markus Mohrhard

chart2: fix duplicate entries at index 0

... introduced at 6949629e.

Change-Id: Ifc5c2f92584aabe668eb8c87abdc5085d4a7b075
Reviewed-on: https://gerrit.libreoffice.org/17377Reviewed-by: 's avatarMarkus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: 's avatarMarkus Mohrhard <markus.mohrhard@googlemail.com>
üst 2d8f1faa
...@@ -284,12 +284,12 @@ void DataPoint::fireModifyEvent() ...@@ -284,12 +284,12 @@ void DataPoint::fireModifyEvent()
Sequence< OUString > DataPoint::getSupportedServiceNames_Static() Sequence< OUString > DataPoint::getSupportedServiceNames_Static()
{ {
Sequence< OUString > aServices( 4 ); return Sequence< OUString >{
aServices[ 0 ] = "com.sun.star.drawing.FillProperties"; "com.sun.star.drawing.FillProperties",
aServices[ 0 ] = "com.sun.star.chart2.DataPoint"; "com.sun.star.chart2.DataPoint",
aServices[ 1 ] = "com.sun.star.chart2.DataPointProperties"; "com.sun.star.chart2.DataPointProperties",
aServices[ 2 ] = "com.sun.star.beans.PropertySet"; "com.sun.star.beans.PropertySet"
return aServices; };
} }
// needed by MSC compiler // needed by MSC compiler
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment