From e50a95b829b327b07ba35e831ae10fb8c40a71ee Mon Sep 17 00:00:00 2001 From: Muhammet Kara Date: Fri, 5 Aug 2016 11:49:02 +0300 Subject: tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctor in chart2 module Change-Id: I9c6f2efd59b3796e0e6f5389467fe888f4465586 Reviewed-on: https://gerrit.libreoffice.org/27895 Tested-by: Jenkins Reviewed-by: Noel Grandin --- chart2/source/view/axes/DateScaling.cxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'chart2/source/view/axes/DateScaling.cxx') diff --git a/chart2/source/view/axes/DateScaling.cxx b/chart2/source/view/axes/DateScaling.cxx index 0dd3c697a70c..d6d8323465b4 100644 --- a/chart2/source/view/axes/DateScaling.cxx +++ b/chart2/source/view/axes/DateScaling.cxx @@ -106,8 +106,7 @@ OUString SAL_CALL DateScaling::getServiceName() uno::Sequence< OUString > DateScaling::getSupportedServiceNames_Static() { - uno::Sequence< OUString > aSeq { lcl_aServiceName_DateScaling }; - return aSeq; + return { lcl_aServiceName_DateScaling }; } // implement XServiceInfo methods basing upon getSupportedServiceNames_Static @@ -207,8 +206,7 @@ OUString SAL_CALL InverseDateScaling::getServiceName() uno::Sequence< OUString > InverseDateScaling::getSupportedServiceNames_Static() { - uno::Sequence aSeq { lcl_aServiceName_InverseDateScaling }; - return aSeq; + return { lcl_aServiceName_InverseDateScaling }; } // implement XServiceInfo methods basing upon getSupportedServiceNames_Static -- cgit