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