summaryrefslogtreecommitdiff
path: root/basegfx/source/tools/unopolypolygon.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basegfx/source/tools/unopolypolygon.cxx')
-rw-r--r--basegfx/source/tools/unopolypolygon.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/basegfx/source/tools/unopolypolygon.cxx b/basegfx/source/tools/unopolypolygon.cxx
index 4dae8020f58b..3639dee57d73 100644
--- a/basegfx/source/tools/unopolypolygon.cxx
+++ b/basegfx/source/tools/unopolypolygon.cxx
@@ -448,8 +448,7 @@ namespace unotools
uno::Sequence< OUString > SAL_CALL UnoPolyPolygon::getSupportedServiceNames() throw( uno::RuntimeException, std::exception )
{
- uno::Sequence< OUString > aRet(1);
- aRet[0] = SERVICE_NAME ;
+ uno::Sequence<OUString> aRet { SERVICE_NAME };
return aRet;
}