diff options
Diffstat (limited to 'sc/source/ui/sidebar/ScPanelFactory.cxx')
-rw-r--r-- | sc/source/ui/sidebar/ScPanelFactory.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/ui/sidebar/ScPanelFactory.cxx b/sc/source/ui/sidebar/ScPanelFactory.cxx index 1e634954aa77..c953f192ea83 100644 --- a/sc/source/ui/sidebar/ScPanelFactory.cxx +++ b/sc/source/ui/sidebar/ScPanelFactory.cxx @@ -139,8 +139,7 @@ sal_Bool ScPanelFactory::supportsService(OUString const & ServiceName) css::uno::Sequence<OUString> ScPanelFactory::getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception) { - css::uno::Sequence<OUString> aServiceNames(1); - aServiceNames[0] = "com.sun.star.ui.UIElementFactory"; + css::uno::Sequence<OUString> aServiceNames { "com.sun.star.ui.UIElementFactory" }; return aServiceNames; } |