[Libreoffice-commits] core.git: svx/source

dilekuzulmez dilekuzulmez at gmail.com
Thu Feb 2 20:00:28 UTC 2017


 svx/source/dialog/SafeModeUI.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit a364e1f039b0156306aa951e10632cd225b320a3
Author: dilekuzulmez <dilekuzulmez at gmail.com>
Date:   Thu Feb 2 19:37:39 2017 +0300

    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 <ci at libreoffice.org>
    Reviewed-by: Michael Stahl <mstahl at redhat.com>

diff --git a/svx/source/dialog/SafeModeUI.cxx b/svx/source/dialog/SafeModeUI.cxx
index b01cded..60a64fd 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&,


More information about the Libreoffice-commits mailing list