From 308d541ed50c3ce3234a4a8ae86c968a70409d63 Mon Sep 17 00:00:00 2001 From: Rosen Date: Sun, 21 Aug 2016 23:41:12 +0530 Subject: tdf88205 Adapt uses of css::uno::Sequence to use initializer_list ctor Change-Id: I7a07552fb7f7c6dc66178be5db249007da49eb40 Reviewed-on: https://gerrit.libreoffice.org/28280 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- comphelper/source/property/opropertybag.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'comphelper/source') diff --git a/comphelper/source/property/opropertybag.cxx b/comphelper/source/property/opropertybag.cxx index fb694398d9b5..066052b3f1d3 100644 --- a/comphelper/source/property/opropertybag.cxx +++ b/comphelper/source/property/opropertybag.cxx @@ -124,8 +124,7 @@ namespace comphelper Sequence< OUString > SAL_CALL OPropertyBag::getSupportedServiceNames( ) throw (RuntimeException, std::exception) { - Sequence< OUString > aServices { "com.sun.star.beans.PropertyBag" }; - return aServices; + return { "com.sun.star.beans.PropertyBag" }; } void OPropertyBag::fireEvents( -- cgit v1.2.3