diff options
Diffstat (limited to 'canvas')
-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( |