diff options
author | Muhammet Kara <muhammet.kara@pardus.org.tr> | 2016-08-05 11:49:02 +0300 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-08-05 12:45:48 +0000 |
commit | e50a95b829b327b07ba35e831ae10fb8c40a71ee (patch) | |
tree | d6d39e710747e7b13535c83553582298df7ff1e9 /chart2/source/view/axes/DateScaling.cxx | |
parent | 36d65037e7b5ac4ee6452430296b2ae8893ae366 (diff) |
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 <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'chart2/source/view/axes/DateScaling.cxx')
-rw-r--r-- | chart2/source/view/axes/DateScaling.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
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<OUString> aSeq { lcl_aServiceName_InverseDateScaling }; - return aSeq; + return { lcl_aServiceName_InverseDateScaling }; } // implement XServiceInfo methods basing upon getSupportedServiceNames_Static |