summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordilekuzulmez <dilekuzulmez@gmail.com>2017-02-02 19:37:39 +0300
committerMichael Stahl <mstahl@redhat.com>2017-02-02 19:59:56 +0000
commita364e1f039b0156306aa951e10632cd225b320a3 (patch)
treec6541a3861ddd950328886bb8ccd6afffdf824b9
parent8944a4dc98ff4e1028936aa7c287f57183aa9b56 (diff)
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@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
-rw-r--r--svx/source/dialog/SafeModeUI.cxx3
1 files changed, 1 insertions, 2 deletions
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&,