diff options
author | Mesut Çifci <mesutcifci97@gmail.com> | 2020-01-14 00:19:58 +0300 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-01-14 09:55:15 +0100 |
commit | edc748c9be3037a88c0f37ace160946e4fbd2a2d (patch) | |
tree | b5c073911fae04c7150b2df2c3f419506329ceb8 /toolkit | |
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>
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/source/controls/grid/sortablegriddatamodel.cxx | 3 | ||||
-rw-r--r-- | toolkit/source/controls/roadmapentry.cxx | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/toolkit/source/controls/grid/sortablegriddatamodel.cxx b/toolkit/source/controls/grid/sortablegriddatamodel.cxx index 6219cc5c06b5..711c7c23fa8d 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 d4580cd8c029..b79a23b2aa15 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() |