diff options
-rw-r--r-- | stoc/source/typeconv/convert.cxx | 3 | ||||
-rw-r--r-- | sw/source/core/layout/dumpfilter.cxx | 3 | ||||
-rw-r--r-- | toolkit/source/controls/grid/sortablegriddatamodel.cxx | 3 | ||||
-rw-r--r-- | toolkit/source/controls/roadmapentry.cxx | 3 |
4 files changed, 4 insertions, 8 deletions
diff --git a/stoc/source/typeconv/convert.cxx b/stoc/source/typeconv/convert.cxx index 37d6c63e3d4b..97cb4bebd62c 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 7e26bceb4397..2ba71faf74d9 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 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() |