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:
Arnold Dumas 2016-07-01 15:51:51 +02:00 committed by Stephan Bergmann
parent e4532e9d14
commit 85aa807316
15 changed files with 15 additions and 30 deletions

View File

@ -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;
} }

View File

@ -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;
} }

View File

@ -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;
} }

View File

@ -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;
} }

View File

@ -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;
} }

View File

@ -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;
} }

View File

@ -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;
} }

View File

@ -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;
} }

View File

@ -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;
} }

View File

@ -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;
} }

View File

@ -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;
} }

View File

@ -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;
} }

View File

@ -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;
} }

View File

@ -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;
} }

View File

@ -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;
} }