chart2/source/model/main/DataPoint.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
New commits: commit 19ae187b328bad9197d5241bd585f9101116ab12 Author: Takeshi Abe <t...@fixedpoint.jp> Date: Tue Jul 28 11:22:13 2015 +0900 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.mohrh...@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrh...@googlemail.com> diff --git a/chart2/source/model/main/DataPoint.cxx b/chart2/source/model/main/DataPoint.cxx index c7876fd..c775c5c 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 _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits