Kaydet (Commit) 85aa8073 authored tarafından Arnold Dumas's avatar Arnold Dumas Kaydeden (comit) Stephan Bergmann

tdf#88205: Adapt uses of css::uno::Sequence to use initializer_list ctor

Change-Id: I45b0ae284ccd34f53ee93114ae45ebacd212251f
Reviewed-on: https://gerrit.libreoffice.org/26857Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
Tested-by: 's avatarStephan Bergmann <sbergman@redhat.com>
üst e4532e9d
......@@ -128,8 +128,7 @@ OUString VCLXAccessibleButton::getImplementationName() throw (RuntimeException,
Sequence< OUString > VCLXAccessibleButton::getSupportedServiceNames() throw (RuntimeException, std::exception)
{
Sequence< OUString > aNames { "com.sun.star.awt.AccessibleButton" };
return aNames;
return { "com.sun.star.awt.AccessibleButton" };
}
......
......@@ -164,8 +164,7 @@ OUString VCLXAccessibleCheckBox::getImplementationName() throw (RuntimeException
Sequence< OUString > VCLXAccessibleCheckBox::getSupportedServiceNames() throw (RuntimeException, std::exception)
{
Sequence< OUString > aNames { "com.sun.star.awt.AccessibleCheckBox" };
return aNames;
return { "com.sun.star.awt.AccessibleCheckBox" };
}
......
......@@ -184,8 +184,7 @@ OUString VCLXAccessibleEdit::getImplementationName() throw (RuntimeException, st
Sequence< OUString > VCLXAccessibleEdit::getSupportedServiceNames() throw (RuntimeException, std::exception)
{
Sequence< OUString > aNames { "com.sun.star.awt.AccessibleEdit" };
return aNames;
return { "com.sun.star.awt.AccessibleEdit" };
}
......
......@@ -71,8 +71,7 @@ OUString VCLXAccessibleFixedText::getImplementationName() throw (RuntimeExceptio
Sequence< OUString > VCLXAccessibleFixedText::getSupportedServiceNames() throw (RuntimeException, std::exception)
{
Sequence< OUString > aNames { "com.sun.star.awt.AccessibleFixedText" };
return aNames;
return { "com.sun.star.awt.AccessibleFixedText" };
}
......
......@@ -93,8 +93,7 @@ OUString VCLXAccessibleMenu::getImplementationName() throw (RuntimeException, st
Sequence< OUString > VCLXAccessibleMenu::getSupportedServiceNames() throw (RuntimeException, std::exception)
{
Sequence< OUString > aNames { "com.sun.star.awt.AccessibleMenu" };
return aNames;
return { "com.sun.star.awt.AccessibleMenu" };
}
......
......@@ -132,8 +132,7 @@ OUString VCLXAccessibleMenuBar::getImplementationName() throw (RuntimeException,
Sequence< OUString > VCLXAccessibleMenuBar::getSupportedServiceNames() throw (RuntimeException, std::exception)
{
Sequence< OUString > aNames { "com.sun.star.awt.AccessibleMenuBar" };
return aNames;
return { "com.sun.star.awt.AccessibleMenuBar" };
}
......
......@@ -161,8 +161,7 @@ OUString VCLXAccessibleMenuItem::getImplementationName() throw (RuntimeException
Sequence< OUString > VCLXAccessibleMenuItem::getSupportedServiceNames() throw (RuntimeException, std::exception)
{
Sequence< OUString > aNames { "com.sun.star.awt.AccessibleMenuItem" };
return aNames;
return { "com.sun.star.awt.AccessibleMenuItem" };
}
......
......@@ -53,8 +53,7 @@ OUString VCLXAccessibleMenuSeparator::getImplementationName() throw (RuntimeExce
Sequence< OUString > VCLXAccessibleMenuSeparator::getSupportedServiceNames() throw (RuntimeException, std::exception)
{
Sequence< OUString > aNames { "com.sun.star.awt.AccessibleMenuSeparator" };
return aNames;
return { "com.sun.star.awt.AccessibleMenuSeparator" };
}
......
......@@ -59,8 +59,7 @@ OUString VCLXAccessiblePopupMenu::getImplementationName() throw (RuntimeExceptio
Sequence< OUString > VCLXAccessiblePopupMenu::getSupportedServiceNames() throw (RuntimeException, std::exception)
{
Sequence< OUString > aNames { "com.sun.star.awt.AccessiblePopupMenu" };
return aNames;
return { "com.sun.star.awt.AccessiblePopupMenu" };
}
......
......@@ -142,8 +142,7 @@ OUString VCLXAccessibleRadioButton::getImplementationName() throw (RuntimeExcept
Sequence< OUString > VCLXAccessibleRadioButton::getSupportedServiceNames() throw (RuntimeException, std::exception)
{
Sequence< OUString > aNames { "com.sun.star.awt.AccessibleRadioButton" };
return aNames;
return { "com.sun.star.awt.AccessibleRadioButton" };
}
......
......@@ -109,8 +109,7 @@ OUString VCLXAccessibleScrollBar::getImplementationName() throw (RuntimeExceptio
Sequence< OUString > VCLXAccessibleScrollBar::getSupportedServiceNames() throw (RuntimeException, std::exception)
{
Sequence< OUString > aNames { "com.sun.star.awt.AccessibleScrollBar" };
return aNames;
return { "com.sun.star.awt.AccessibleScrollBar" };
}
......
......@@ -281,8 +281,7 @@ OUString VCLXAccessibleStatusBar::getImplementationName() throw (RuntimeExceptio
Sequence< OUString > VCLXAccessibleStatusBar::getSupportedServiceNames() throw (RuntimeException, std::exception)
{
Sequence< OUString > aNames { "com.sun.star.awt.AccessibleStatusBar" };
return aNames;
return { "com.sun.star.awt.AccessibleStatusBar" };
}
......
......@@ -232,8 +232,7 @@ sal_Bool VCLXAccessibleStatusBarItem::supportsService( const OUString& rServiceN
Sequence< OUString > VCLXAccessibleStatusBarItem::getSupportedServiceNames() throw (RuntimeException, std::exception)
{
Sequence< OUString > aNames { "com.sun.star.awt.AccessibleStatusBarItem" };
return aNames;
return { "com.sun.star.awt.AccessibleStatusBarItem" };
}
......
......@@ -335,8 +335,7 @@ OUString VCLXAccessibleTabControl::getImplementationName() throw (RuntimeExcepti
Sequence< OUString > VCLXAccessibleTabControl::getSupportedServiceNames() throw (RuntimeException, std::exception)
{
Sequence< OUString > aNames { "com.sun.star.awt.AccessibleTabControl" };
return aNames;
return { "com.sun.star.awt.AccessibleTabControl" };
}
......
......@@ -263,8 +263,7 @@ sal_Bool VCLXAccessibleTabPage::supportsService( const OUString& rServiceName )
Sequence< OUString > VCLXAccessibleTabPage::getSupportedServiceNames() throw (RuntimeException, std::exception)
{
Sequence< OUString > aNames { "com.sun.star.awt.AccessibleTabPage" };
return aNames;
return { "com.sun.star.awt.AccessibleTabPage" };
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment