summaryrefslogtreecommitdiff
path: root/svx/source/unodraw/unomtabl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/unodraw/unomtabl.cxx')
-rw-r--r--svx/source/unodraw/unomtabl.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/svx/source/unodraw/unomtabl.cxx b/svx/source/unodraw/unomtabl.cxx
index 0b200a17a80f..23723cb68247 100644
--- a/svx/source/unodraw/unomtabl.cxx
+++ b/svx/source/unodraw/unomtabl.cxx
@@ -141,8 +141,7 @@ OUString SAL_CALL SvxUnoMarkerTable::getImplementationName() throw( uno::Runtime
uno::Sequence< OUString > SAL_CALL SvxUnoMarkerTable::getSupportedServiceNames( )
throw( uno::RuntimeException, std::exception )
{
- uno::Sequence< OUString > aSNS( 1 );
- aSNS.getArray()[0] = "com.sun.star.drawing.MarkerTable";
+ uno::Sequence<OUString> aSNS { "com.sun.star.drawing.MarkerTable" };
return aSNS;
}