summaryrefslogtreecommitdiff
path: root/framework/source/uifactory/statusbarfactory.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'framework/source/uifactory/statusbarfactory.cxx')
-rw-r--r--framework/source/uifactory/statusbarfactory.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/framework/source/uifactory/statusbarfactory.cxx b/framework/source/uifactory/statusbarfactory.cxx
index 3faa7815574c..0741348131f5 100644
--- a/framework/source/uifactory/statusbarfactory.cxx
+++ b/framework/source/uifactory/statusbarfactory.cxx
@@ -57,8 +57,7 @@ public:
virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames()
throw (css::uno::RuntimeException, std::exception) override
{
- css::uno::Sequence< OUString > aSeq(1);
- aSeq[0] = "com.sun.star.ui.StatusBarFactory";
+ css::uno::Sequence< OUString > aSeq { "com.sun.star.ui.StatusBarFactory" };
return aSeq;
}