summaryrefslogtreecommitdiff
path: root/sd/source/ui/controller/slidelayoutcontroller.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/controller/slidelayoutcontroller.cxx')
-rw-r--r--sd/source/ui/controller/slidelayoutcontroller.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/sd/source/ui/controller/slidelayoutcontroller.cxx b/sd/source/ui/controller/slidelayoutcontroller.cxx
index afabd0f17808..da1160d01acf 100644
--- a/sd/source/ui/controller/slidelayoutcontroller.cxx
+++ b/sd/source/ui/controller/slidelayoutcontroller.cxx
@@ -318,8 +318,7 @@ OUString SlideLayoutController_getImplementationName() throw (css::uno::RuntimeE
Sequence< OUString > SlideLayoutController_getSupportedServiceNames() throw( RuntimeException )
{
- Sequence< OUString > aSNS( 1 );
- aSNS.getArray()[0] = "com.sun.star.frame.ToolbarController";
+ Sequence<OUString> aSNS { "com.sun.star.frame.ToolbarController" };
return aSNS;
}
@@ -330,8 +329,7 @@ OUString InsertSlideController_getImplementationName() throw (css::uno::RuntimeE
Sequence< OUString > InsertSlideController_getSupportedServiceNames() throw( RuntimeException )
{
- Sequence< OUString > aSNS( 1 );
- aSNS.getArray()[0] = "com.sun.star.frame.ToolbarController";
+ Sequence<OUString> aSNS { "com.sun.star.frame.ToolbarController" };
return aSNS;
}