From b2a574ec54c7e34789b401a540ff14511bf583ce Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 21 Jun 2019 12:52:29 +0200 Subject: simplify some getSupportedServiceNames Change-Id: I81195505d6006b6587f7b98c1545919083f0e588 Reviewed-on: https://gerrit.libreoffice.org/74497 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sdext/source/presenter/PresenterProtocolHandler.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sdext/source/presenter/PresenterProtocolHandler.cxx') 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 PresenterProtocolHandler::getSupportedServiceNames_static() { - static const OUString sServiceName("com.sun.star.frame.ProtocolHandler"); - return Sequence(&sServiceName, 1); + return { "com.sun.star.frame.ProtocolHandler" }; } Reference PresenterProtocolHandler::Create ( -- cgit