tdf#88205: Adapt uses of css::uno::Sequence to use initializer_list ctor
Change-Id: I45b0ae284ccd34f53ee93114ae45ebacd212251f Reviewed-on: https://gerrit.libreoffice.org/26857 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
parent
e4532e9d14
commit
85aa807316
@ -128,8 +128,7 @@ OUString VCLXAccessibleButton::getImplementationName() throw (RuntimeException,
|
|||||||
|
|
||||||
Sequence< OUString > VCLXAccessibleButton::getSupportedServiceNames() throw (RuntimeException, std::exception)
|
Sequence< OUString > VCLXAccessibleButton::getSupportedServiceNames() throw (RuntimeException, std::exception)
|
||||||
{
|
{
|
||||||
Sequence< OUString > aNames { "com.sun.star.awt.AccessibleButton" };
|
return { "com.sun.star.awt.AccessibleButton" };
|
||||||
return aNames;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -164,8 +164,7 @@ OUString VCLXAccessibleCheckBox::getImplementationName() throw (RuntimeException
|
|||||||
|
|
||||||
Sequence< OUString > VCLXAccessibleCheckBox::getSupportedServiceNames() throw (RuntimeException, std::exception)
|
Sequence< OUString > VCLXAccessibleCheckBox::getSupportedServiceNames() throw (RuntimeException, std::exception)
|
||||||
{
|
{
|
||||||
Sequence< OUString > aNames { "com.sun.star.awt.AccessibleCheckBox" };
|
return { "com.sun.star.awt.AccessibleCheckBox" };
|
||||||
return aNames;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -184,8 +184,7 @@ OUString VCLXAccessibleEdit::getImplementationName() throw (RuntimeException, st
|
|||||||
|
|
||||||
Sequence< OUString > VCLXAccessibleEdit::getSupportedServiceNames() throw (RuntimeException, std::exception)
|
Sequence< OUString > VCLXAccessibleEdit::getSupportedServiceNames() throw (RuntimeException, std::exception)
|
||||||
{
|
{
|
||||||
Sequence< OUString > aNames { "com.sun.star.awt.AccessibleEdit" };
|
return { "com.sun.star.awt.AccessibleEdit" };
|
||||||
return aNames;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -71,8 +71,7 @@ OUString VCLXAccessibleFixedText::getImplementationName() throw (RuntimeExceptio
|
|||||||
|
|
||||||
Sequence< OUString > VCLXAccessibleFixedText::getSupportedServiceNames() throw (RuntimeException, std::exception)
|
Sequence< OUString > VCLXAccessibleFixedText::getSupportedServiceNames() throw (RuntimeException, std::exception)
|
||||||
{
|
{
|
||||||
Sequence< OUString > aNames { "com.sun.star.awt.AccessibleFixedText" };
|
return { "com.sun.star.awt.AccessibleFixedText" };
|
||||||
return aNames;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -93,8 +93,7 @@ OUString VCLXAccessibleMenu::getImplementationName() throw (RuntimeException, st
|
|||||||
|
|
||||||
Sequence< OUString > VCLXAccessibleMenu::getSupportedServiceNames() throw (RuntimeException, std::exception)
|
Sequence< OUString > VCLXAccessibleMenu::getSupportedServiceNames() throw (RuntimeException, std::exception)
|
||||||
{
|
{
|
||||||
Sequence< OUString > aNames { "com.sun.star.awt.AccessibleMenu" };
|
return { "com.sun.star.awt.AccessibleMenu" };
|
||||||
return aNames;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -132,8 +132,7 @@ OUString VCLXAccessibleMenuBar::getImplementationName() throw (RuntimeException,
|
|||||||
|
|
||||||
Sequence< OUString > VCLXAccessibleMenuBar::getSupportedServiceNames() throw (RuntimeException, std::exception)
|
Sequence< OUString > VCLXAccessibleMenuBar::getSupportedServiceNames() throw (RuntimeException, std::exception)
|
||||||
{
|
{
|
||||||
Sequence< OUString > aNames { "com.sun.star.awt.AccessibleMenuBar" };
|
return { "com.sun.star.awt.AccessibleMenuBar" };
|
||||||
return aNames;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -161,8 +161,7 @@ OUString VCLXAccessibleMenuItem::getImplementationName() throw (RuntimeException
|
|||||||
|
|
||||||
Sequence< OUString > VCLXAccessibleMenuItem::getSupportedServiceNames() throw (RuntimeException, std::exception)
|
Sequence< OUString > VCLXAccessibleMenuItem::getSupportedServiceNames() throw (RuntimeException, std::exception)
|
||||||
{
|
{
|
||||||
Sequence< OUString > aNames { "com.sun.star.awt.AccessibleMenuItem" };
|
return { "com.sun.star.awt.AccessibleMenuItem" };
|
||||||
return aNames;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -53,8 +53,7 @@ OUString VCLXAccessibleMenuSeparator::getImplementationName() throw (RuntimeExce
|
|||||||
|
|
||||||
Sequence< OUString > VCLXAccessibleMenuSeparator::getSupportedServiceNames() throw (RuntimeException, std::exception)
|
Sequence< OUString > VCLXAccessibleMenuSeparator::getSupportedServiceNames() throw (RuntimeException, std::exception)
|
||||||
{
|
{
|
||||||
Sequence< OUString > aNames { "com.sun.star.awt.AccessibleMenuSeparator" };
|
return { "com.sun.star.awt.AccessibleMenuSeparator" };
|
||||||
return aNames;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -59,8 +59,7 @@ OUString VCLXAccessiblePopupMenu::getImplementationName() throw (RuntimeExceptio
|
|||||||
|
|
||||||
Sequence< OUString > VCLXAccessiblePopupMenu::getSupportedServiceNames() throw (RuntimeException, std::exception)
|
Sequence< OUString > VCLXAccessiblePopupMenu::getSupportedServiceNames() throw (RuntimeException, std::exception)
|
||||||
{
|
{
|
||||||
Sequence< OUString > aNames { "com.sun.star.awt.AccessiblePopupMenu" };
|
return { "com.sun.star.awt.AccessiblePopupMenu" };
|
||||||
return aNames;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -142,8 +142,7 @@ OUString VCLXAccessibleRadioButton::getImplementationName() throw (RuntimeExcept
|
|||||||
|
|
||||||
Sequence< OUString > VCLXAccessibleRadioButton::getSupportedServiceNames() throw (RuntimeException, std::exception)
|
Sequence< OUString > VCLXAccessibleRadioButton::getSupportedServiceNames() throw (RuntimeException, std::exception)
|
||||||
{
|
{
|
||||||
Sequence< OUString > aNames { "com.sun.star.awt.AccessibleRadioButton" };
|
return { "com.sun.star.awt.AccessibleRadioButton" };
|
||||||
return aNames;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -109,8 +109,7 @@ OUString VCLXAccessibleScrollBar::getImplementationName() throw (RuntimeExceptio
|
|||||||
|
|
||||||
Sequence< OUString > VCLXAccessibleScrollBar::getSupportedServiceNames() throw (RuntimeException, std::exception)
|
Sequence< OUString > VCLXAccessibleScrollBar::getSupportedServiceNames() throw (RuntimeException, std::exception)
|
||||||
{
|
{
|
||||||
Sequence< OUString > aNames { "com.sun.star.awt.AccessibleScrollBar" };
|
return { "com.sun.star.awt.AccessibleScrollBar" };
|
||||||
return aNames;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -281,8 +281,7 @@ OUString VCLXAccessibleStatusBar::getImplementationName() throw (RuntimeExceptio
|
|||||||
|
|
||||||
Sequence< OUString > VCLXAccessibleStatusBar::getSupportedServiceNames() throw (RuntimeException, std::exception)
|
Sequence< OUString > VCLXAccessibleStatusBar::getSupportedServiceNames() throw (RuntimeException, std::exception)
|
||||||
{
|
{
|
||||||
Sequence< OUString > aNames { "com.sun.star.awt.AccessibleStatusBar" };
|
return { "com.sun.star.awt.AccessibleStatusBar" };
|
||||||
return aNames;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -232,8 +232,7 @@ sal_Bool VCLXAccessibleStatusBarItem::supportsService( const OUString& rServiceN
|
|||||||
|
|
||||||
Sequence< OUString > VCLXAccessibleStatusBarItem::getSupportedServiceNames() throw (RuntimeException, std::exception)
|
Sequence< OUString > VCLXAccessibleStatusBarItem::getSupportedServiceNames() throw (RuntimeException, std::exception)
|
||||||
{
|
{
|
||||||
Sequence< OUString > aNames { "com.sun.star.awt.AccessibleStatusBarItem" };
|
return { "com.sun.star.awt.AccessibleStatusBarItem" };
|
||||||
return aNames;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -335,8 +335,7 @@ OUString VCLXAccessibleTabControl::getImplementationName() throw (RuntimeExcepti
|
|||||||
|
|
||||||
Sequence< OUString > VCLXAccessibleTabControl::getSupportedServiceNames() throw (RuntimeException, std::exception)
|
Sequence< OUString > VCLXAccessibleTabControl::getSupportedServiceNames() throw (RuntimeException, std::exception)
|
||||||
{
|
{
|
||||||
Sequence< OUString > aNames { "com.sun.star.awt.AccessibleTabControl" };
|
return { "com.sun.star.awt.AccessibleTabControl" };
|
||||||
return aNames;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -263,8 +263,7 @@ sal_Bool VCLXAccessibleTabPage::supportsService( const OUString& rServiceName )
|
|||||||
|
|
||||||
Sequence< OUString > VCLXAccessibleTabPage::getSupportedServiceNames() throw (RuntimeException, std::exception)
|
Sequence< OUString > VCLXAccessibleTabPage::getSupportedServiceNames() throw (RuntimeException, std::exception)
|
||||||
{
|
{
|
||||||
Sequence< OUString > aNames { "com.sun.star.awt.AccessibleTabPage" };
|
return { "com.sun.star.awt.AccessibleTabPage" };
|
||||||
return aNames;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user