diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-06-21 12:52:29 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-06-21 13:43:11 +0200 |
commit | b2a574ec54c7e34789b401a540ff14511bf583ce (patch) | |
tree | 9387442f88605f52777d2c36894842f25603160d /sdext | |
parent | 9cbb4052d11d8fc5b408cfe75ddb5305f9a7461b (diff) |
simplify some getSupportedServiceNames
Change-Id: I81195505d6006b6587f7b98c1545919083f0e588
Reviewed-on: https://gerrit.libreoffice.org/74497
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sdext')
-rw-r--r-- | sdext/source/presenter/PresenterProtocolHandler.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sdext/source/presenter/PresenterProtocolHandler.cxx b/sdext/source/presenter/PresenterProtocolHandler.cxx index 15018b33ef58..a78b2ac32014 100644 --- a/sdext/source/presenter/PresenterProtocolHandler.cxx +++ b/sdext/source/presenter/PresenterProtocolHandler.cxx @@ -234,8 +234,7 @@ OUString PresenterProtocolHandler::getImplementationName_static() Sequence<OUString> PresenterProtocolHandler::getSupportedServiceNames_static() { - static const OUString sServiceName("com.sun.star.frame.ProtocolHandler"); - return Sequence<OUString>(&sServiceName, 1); + return { "com.sun.star.frame.ProtocolHandler" }; } Reference<XInterface> PresenterProtocolHandler::Create ( |