diff options
Diffstat (limited to 'sfx2/source/notify/globalevents.cxx')
-rw-r--r-- | sfx2/source/notify/globalevents.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sfx2/source/notify/globalevents.cxx b/sfx2/source/notify/globalevents.cxx index 6ca80e0a4e7a..e1f794c6dc5d 100644 --- a/sfx2/source/notify/globalevents.cxx +++ b/sfx2/source/notify/globalevents.cxx @@ -90,8 +90,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.frame.GlobalEventBroadcaster"; + css::uno::Sequence< OUString > aSeq { "com.sun.star.frame.GlobalEventBroadcaster" }; return aSeq; } |