From 0bd4154b176af84e036c4f0869e635e9fcefed1c Mon Sep 17 00:00:00 2001 From: Muhammet Kara Date: Mon, 1 Aug 2016 15:00:00 +0300 Subject: 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 Reviewed-by: Noel Grandin --- canvas/source/vcl/canvasbitmap.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'canvas/source/vcl/canvasbitmap.cxx') diff --git a/canvas/source/vcl/canvasbitmap.cxx b/canvas/source/vcl/canvasbitmap.cxx index 562e8a46196b..84b3adc7ef0b 100644 --- a/canvas/source/vcl/canvasbitmap.cxx +++ b/canvas/source/vcl/canvasbitmap.cxx @@ -86,9 +86,7 @@ namespace vclcanvas uno::Sequence< OUString > SAL_CALL CanvasBitmap::getSupportedServiceNames( ) throw (uno::RuntimeException, std::exception) { - uno::Sequence< OUString > aRet { "com.sun.star.rendering.CanvasBitmap" }; - - return aRet; + return { "com.sun.star.rendering.CanvasBitmap" }; } BitmapEx CanvasBitmap::getBitmap() const -- cgit