tdf#88205: Adapt uses of css::uno::Sequence to use initializer_list ctor
Change-Id: I6fc54accb6c08e34909db2131e0abc84d32da2f5 Reviewed-on: https://gerrit.libreoffice.org/26763 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
parent
6951f28bba
commit
9742ee52a8
@ -274,8 +274,7 @@ sal_Bool SAL_CALL AccessibleGridControlBase::supportsService(
|
||||
Sequence< OUString > SAL_CALL AccessibleGridControlBase::getSupportedServiceNames()
|
||||
throw ( uno::RuntimeException, std::exception )
|
||||
{
|
||||
const OUString aServiceName( "com.sun.star.accessibility.AccessibleContext" );
|
||||
return Sequence< OUString >( &aServiceName, 1 );
|
||||
return { "com.sun.star.accessibility.AccessibleContext" };
|
||||
}
|
||||
// internal virtual methods
|
||||
|
||||
|
@ -202,8 +202,7 @@ namespace accessibility
|
||||
|
||||
Sequence< OUString > AccessibleTabBar::getSupportedServiceNames() throw (RuntimeException, std::exception)
|
||||
{
|
||||
Sequence< OUString > aNames { "com.sun.star.awt.AccessibleTabBar" };
|
||||
return aNames;
|
||||
return { "com.sun.star.awt.AccessibleTabBar" };
|
||||
}
|
||||
|
||||
|
||||
|
@ -230,8 +230,7 @@ namespace accessibility
|
||||
|
||||
Sequence< OUString > AccessibleTabBarPage::getSupportedServiceNames() throw (RuntimeException, std::exception)
|
||||
{
|
||||
Sequence< OUString > aNames { "com.sun.star.awt.AccessibleTabBarPage" };
|
||||
return aNames;
|
||||
return { "com.sun.star.awt.AccessibleTabBarPage" };
|
||||
}
|
||||
|
||||
|
||||
|
@ -378,8 +378,7 @@ namespace accessibility
|
||||
|
||||
Sequence< OUString > AccessibleTabBarPageList::getSupportedServiceNames() throw (RuntimeException, std::exception)
|
||||
{
|
||||
Sequence< OUString > aNames { "com.sun.star.awt.AccessibleTabBarPageList" };
|
||||
return aNames;
|
||||
return { "com.sun.star.awt.AccessibleTabBarPageList" };
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user