[Libreoffice-commits] core.git: chart2/source
Takeshi Abe
tabe at fixedpoint.jp
Mon Jul 27 20:08:09 PDT 2015
chart2/source/model/main/DataPoint.cxx | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
New commits:
commit 19ae187b328bad9197d5241bd585f9101116ab12
Author: Takeshi Abe <tabe at 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.mohrhard at googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard at 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
More information about the Libreoffice-commits
mailing list