summaryrefslogtreecommitdiff
path: root/framework/source/uielement/subtoolbarcontroller.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'framework/source/uielement/subtoolbarcontroller.cxx')
-rw-r--r--framework/source/uielement/subtoolbarcontroller.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/framework/source/uielement/subtoolbarcontroller.cxx b/framework/source/uielement/subtoolbarcontroller.cxx
index 4588c6a311da..c548afa0ab68 100644
--- a/framework/source/uielement/subtoolbarcontroller.cxx
+++ b/framework/source/uielement/subtoolbarcontroller.cxx
@@ -450,8 +450,7 @@ sal_Bool SubToolBarController::supportsService( const OUString& rServiceName )
css::uno::Sequence< OUString > SubToolBarController::getSupportedServiceNames()
throw ( css::uno::RuntimeException )
{
- css::uno::Sequence< OUString > aRet( 1 );
- aRet[0] = "com.sun.star.frame.ToolbarController";
+ css::uno::Sequence<OUString> aRet { "com.sun.star.frame.ToolbarController" };
return aRet;
}