diff options
author | Muhammet Kara <muhammet.kara@pardus.org.tr> | 2016-08-01 15:00:00 +0300 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-08-04 05:40:11 +0000 |
commit | 0bd4154b176af84e036c4f0869e635e9fcefed1c (patch) | |
tree | 36cde969568f1705faff9bfb5459b0ca54d0e465 /canvas/source/tools | |
parent | 51cf057f4e5277ef5ce99c76dd67aeff702a448e (diff) |
tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctor
in basctl, basegfx, canvas
Change-Id: I59383d2599793b99b560333387e163a3d80eecec
Reviewed-on: https://gerrit.libreoffice.org/27778
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'canvas/source/tools')
-rw-r--r-- | canvas/source/tools/cachedprimitivebase.cxx | 4 | ||||
-rw-r--r-- | canvas/source/tools/parametricpolypolygon.cxx | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/canvas/source/tools/cachedprimitivebase.cxx b/canvas/source/tools/cachedprimitivebase.cxx index 23f801eb6807..2a4639aa1284 100644 --- a/canvas/source/tools/cachedprimitivebase.cxx +++ b/canvas/source/tools/cachedprimitivebase.cxx @@ -91,9 +91,7 @@ namespace canvas uno::Sequence< OUString > SAL_CALL CachedPrimitiveBase::getSupportedServiceNames( ) throw (uno::RuntimeException, std::exception) { - uno::Sequence< OUString > aRet { "com.sun.star.rendering.CachedBitmap" }; - - return aRet; + return { "com.sun.star.rendering.CachedBitmap" }; } } diff --git a/canvas/source/tools/parametricpolypolygon.cxx b/canvas/source/tools/parametricpolypolygon.cxx index ca2bf0d1c325..af9d6ec3ea4b 100644 --- a/canvas/source/tools/parametricpolypolygon.cxx +++ b/canvas/source/tools/parametricpolypolygon.cxx @@ -211,9 +211,7 @@ namespace canvas uno::Sequence< OUString > SAL_CALL ParametricPolyPolygon::getSupportedServiceNames( ) throw (uno::RuntimeException, std::exception) { - uno::Sequence< OUString > aRet { "com.sun.star.rendering.ParametricPolyPolygon" }; - - return aRet; + return { "com.sun.star.rendering.ParametricPolyPolygon" }; } ParametricPolyPolygon::~ParametricPolyPolygon() |