From a364e1f039b0156306aa951e10632cd225b320a3 Mon Sep 17 00:00:00 2001 From: dilekuzulmez Date: Thu, 2 Feb 2017 19:37:39 +0300 Subject: tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctor Change-Id: I2a48e513ad71609b11eb02eb5da7aa7d76860e7d Reviewed-on: https://gerrit.libreoffice.org/33841 Tested-by: Jenkins Reviewed-by: Michael Stahl --- svx/source/dialog/SafeModeUI.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'svx') diff --git a/svx/source/dialog/SafeModeUI.cxx b/svx/source/dialog/SafeModeUI.cxx index b01cded95639..60a64fdbc2a1 100644 --- a/svx/source/dialog/SafeModeUI.cxx +++ b/svx/source/dialog/SafeModeUI.cxx @@ -54,8 +54,7 @@ sal_Bool SAL_CALL SafeModeUI::supportsService(const OUString& sServiceName) css::uno::Sequence< OUString > SAL_CALL SafeModeUI::getSupportedServiceNames() { - css::uno::Sequence< OUString > lServiceNames { "com.sun.star.dialog.SafeModeUI" }; - return lServiceNames; + return { "com.sun.star.dialog.SafeModeUI" }; } css::uno::Any SAL_CALL SafeModeUI::dispatchWithReturnValue(const css::util::URL&, -- cgit