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, ...@@ -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 ...@@ -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 ...@@ -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 ...@@ -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 ...@@ -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, ...@@ -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 ...@@ -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 ...@@ -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 ...@@ -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 ...@@ -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 ...@@ -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 ...@@ -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 ...@@ -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 ...@@ -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 ) ...@@ -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;
} }
......
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