diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-09-13 13:48:00 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-09-14 07:23:51 +0000 |
commit | f1018190a8f791b7dca195f223b9c987a73a83af (patch) | |
tree | 180d64f8e79de8334d91a0ebb237a2c08066fafd /canvas/source | |
parent | 1e49e33c26950b606714c0dafb26cbcb2aeb3877 (diff) |
tdf#88205 use list ctor for uno::Sequence a11y to canvas
Change-Id: Ib719c94c0488b8a48fdb013bc8fbd1a988595d18
Reviewed-on: https://gerrit.libreoffice.org/28866
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'canvas/source')
-rw-r--r-- | canvas/source/tools/parametricpolypolygon.cxx | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/canvas/source/tools/parametricpolypolygon.cxx b/canvas/source/tools/parametricpolypolygon.cxx index af9d6ec3ea4b..8e8c980bc8bd 100644 --- a/canvas/source/tools/parametricpolypolygon.cxx +++ b/canvas/source/tools/parametricpolypolygon.cxx @@ -40,12 +40,9 @@ namespace canvas { uno::Sequence<OUString> ParametricPolyPolygon::getAvailableServiceNames() { - uno::Sequence<OUString> aRet(3); - aRet[0] = "LinearGradient"; - aRet[1] = "EllipticalGradient"; - aRet[2] = "RectangularGradient"; - - return aRet; + return {"LinearGradient", + "EllipticalGradient", + "RectangularGradient"}; } ParametricPolyPolygon* ParametricPolyPolygon::create( |