| commit | edc748c9be3037a88c0f37ace160946e4fbd2a2d | [log] |
|---|---|---|
| author | Mesut Çifci <mesutcifci97@gmail.com> | Tue Jan 14 00:19:58 2020 +0300 |
| committer | Stephan Bergmann <sbergman@redhat.com> | Tue Jan 14 09:55:15 2020 +0100 |
| tree | b5c073911fae04c7150b2df2c3f419506329ceb8 | |
| parent | 2b3c96a03f2e3c12148ec00c93f06e093d384db9 [diff] |
tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctor Change-Id: I42b59c9d22edb987c55aace700934fdab95f83f7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86719 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
diff --git a/stoc/source/typeconv/convert.cxx b/stoc/source/typeconv/convert.cxx index 37d6c63..97cb4be 100644 --- a/stoc/source/typeconv/convert.cxx +++ b/stoc/source/typeconv/convert.cxx
@@ -251,8 +251,7 @@ sal_Bool TypeConverter_Impl::supportsService(const OUString& ServiceName) // XServiceInfo Sequence< OUString > TypeConverter_Impl::getSupportedServiceNames() { Sequence< OUString > seqNames { "com.sun.star.script.Converter" }; return seqNames; return { "com.sun.star.script.Converter" }; }
diff --git a/sw/source/core/layout/dumpfilter.cxx b/sw/source/core/layout/dumpfilter.cxx index 7e26bce..2ba71fa 100644 --- a/sw/source/core/layout/dumpfilter.cxx +++ b/sw/source/core/layout/dumpfilter.cxx
@@ -148,8 +148,7 @@ namespace sw uno::Sequence< OUString > LayoutDumpFilter::getSupportedServiceNames() { uno::Sequence<OUString> aSeq { "com.sun.star.document.ExportFilter" }; return aSeq; return { "com.sun.star.document.ExportFilter" }; } } // Namespace sw
diff --git a/toolkit/source/controls/grid/sortablegriddatamodel.cxx b/toolkit/source/controls/grid/sortablegriddatamodel.cxx index 6219cc5..711c7c2 100644 --- a/toolkit/source/controls/grid/sortablegriddatamodel.cxx +++ b/toolkit/source/controls/grid/sortablegriddatamodel.cxx
@@ -878,8 +878,7 @@ void lcl_clear( STLCONTAINER& i_container ) Sequence< OUString > SAL_CALL SortableGridDataModel::getSupportedServiceNames( ) { Sequence< OUString > aServiceNames { "com.sun.star.awt.grid.SortableGridDataModel" }; return aServiceNames; return { "com.sun.star.awt.grid.SortableGridDataModel" }; }
diff --git a/toolkit/source/controls/roadmapentry.cxx b/toolkit/source/controls/roadmapentry.cxx index d4580cd..b79a23b 100644 --- a/toolkit/source/controls/roadmapentry.cxx +++ b/toolkit/source/controls/roadmapentry.cxx
@@ -85,8 +85,7 @@ sal_Bool SAL_CALL ORoadmapEntry::supportsService( const OUString& ServiceName ) css::uno::Sequence< OUString > SAL_CALL ORoadmapEntry::getSupportedServiceNames( ) { css::uno::Sequence<OUString> aRet { "com.sun.star.awt.RoadmapItem" }; return aRet; return { "com.sun.star.awt.RoadmapItem" }; } ::cppu::IPropertyArrayHelper& ORoadmapEntry::getInfoHelper()