summaryrefslogtreecommitdiff
path: root/svtools/source/graphic/graphicunofactory.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/graphic/graphicunofactory.cxx')
-rw-r--r--svtools/source/graphic/graphicunofactory.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/svtools/source/graphic/graphicunofactory.cxx b/svtools/source/graphic/graphicunofactory.cxx
index 3d50e86172d1..eb8b75305a4d 100644
--- a/svtools/source/graphic/graphicunofactory.cxx
+++ b/svtools/source/graphic/graphicunofactory.cxx
@@ -61,9 +61,7 @@ public:
virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames()
throw (css::uno::RuntimeException, std::exception) override
{
- uno::Sequence< OUString > aRet(1);
- OUString* pArray = aRet.getArray();
- pArray[0] = "com.sun.star.graphic.GraphicObject";
+ uno::Sequence<OUString> aRet { "com.sun.star.graphic.GraphicObject" };
return aRet;
}
};