[Libreoffice-commits] core.git: accessibility/source

Arnold Dumas arnold at dumas.at
Fri Jul 1 15:27:31 UTC 2016


 accessibility/source/standard/vclxaccessiblebutton.cxx        |    3 +--
 accessibility/source/standard/vclxaccessiblecheckbox.cxx      |    3 +--
 accessibility/source/standard/vclxaccessibleedit.cxx          |    3 +--
 accessibility/source/standard/vclxaccessiblefixedtext.cxx     |    3 +--
 accessibility/source/standard/vclxaccessiblemenu.cxx          |    3 +--
 accessibility/source/standard/vclxaccessiblemenubar.cxx       |    3 +--
 accessibility/source/standard/vclxaccessiblemenuitem.cxx      |    3 +--
 accessibility/source/standard/vclxaccessiblemenuseparator.cxx |    3 +--
 accessibility/source/standard/vclxaccessiblepopupmenu.cxx     |    3 +--
 accessibility/source/standard/vclxaccessibleradiobutton.cxx   |    3 +--
 accessibility/source/standard/vclxaccessiblescrollbar.cxx     |    3 +--
 accessibility/source/standard/vclxaccessiblestatusbar.cxx     |    3 +--
 accessibility/source/standard/vclxaccessiblestatusbaritem.cxx |    3 +--
 accessibility/source/standard/vclxaccessibletabcontrol.cxx    |    3 +--
 accessibility/source/standard/vclxaccessibletabpage.cxx       |    3 +--
 15 files changed, 15 insertions(+), 30 deletions(-)

New commits:
commit 85aa807316f32415d4e53656a20249617a22785c
Author: Arnold Dumas <arnold at dumas.at>
Date:   Fri Jul 1 15:51:51 2016 +0200

    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 at redhat.com>
    Tested-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/accessibility/source/standard/vclxaccessiblebutton.cxx b/accessibility/source/standard/vclxaccessiblebutton.cxx
index 99c8c6b..8b0faab 100644
--- a/accessibility/source/standard/vclxaccessiblebutton.cxx
+++ b/accessibility/source/standard/vclxaccessiblebutton.cxx
@@ -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" };
 }
 
 
diff --git a/accessibility/source/standard/vclxaccessiblecheckbox.cxx b/accessibility/source/standard/vclxaccessiblecheckbox.cxx
index e66e236..c50c827 100644
--- a/accessibility/source/standard/vclxaccessiblecheckbox.cxx
+++ b/accessibility/source/standard/vclxaccessiblecheckbox.cxx
@@ -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" };
 }
 
 
diff --git a/accessibility/source/standard/vclxaccessibleedit.cxx b/accessibility/source/standard/vclxaccessibleedit.cxx
index 5d48aea..68e91f0 100644
--- a/accessibility/source/standard/vclxaccessibleedit.cxx
+++ b/accessibility/source/standard/vclxaccessibleedit.cxx
@@ -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" };
 }
 
 
diff --git a/accessibility/source/standard/vclxaccessiblefixedtext.cxx b/accessibility/source/standard/vclxaccessiblefixedtext.cxx
index 3a87448..f7adece 100644
--- a/accessibility/source/standard/vclxaccessiblefixedtext.cxx
+++ b/accessibility/source/standard/vclxaccessiblefixedtext.cxx
@@ -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" };
 }
 
 
diff --git a/accessibility/source/standard/vclxaccessiblemenu.cxx b/accessibility/source/standard/vclxaccessiblemenu.cxx
index 7fc9659..536e2a9 100644
--- a/accessibility/source/standard/vclxaccessiblemenu.cxx
+++ b/accessibility/source/standard/vclxaccessiblemenu.cxx
@@ -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" };
 }
 
 
diff --git a/accessibility/source/standard/vclxaccessiblemenubar.cxx b/accessibility/source/standard/vclxaccessiblemenubar.cxx
index fead9be..ae0c21c 100644
--- a/accessibility/source/standard/vclxaccessiblemenubar.cxx
+++ b/accessibility/source/standard/vclxaccessiblemenubar.cxx
@@ -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" };
 }
 
 
diff --git a/accessibility/source/standard/vclxaccessiblemenuitem.cxx b/accessibility/source/standard/vclxaccessiblemenuitem.cxx
index 533def4..a303782 100644
--- a/accessibility/source/standard/vclxaccessiblemenuitem.cxx
+++ b/accessibility/source/standard/vclxaccessiblemenuitem.cxx
@@ -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" };
 }
 
 
diff --git a/accessibility/source/standard/vclxaccessiblemenuseparator.cxx b/accessibility/source/standard/vclxaccessiblemenuseparator.cxx
index a7d9cdd..6c26952 100644
--- a/accessibility/source/standard/vclxaccessiblemenuseparator.cxx
+++ b/accessibility/source/standard/vclxaccessiblemenuseparator.cxx
@@ -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" };
 }
 
 
diff --git a/accessibility/source/standard/vclxaccessiblepopupmenu.cxx b/accessibility/source/standard/vclxaccessiblepopupmenu.cxx
index a3c77b2..6f0730d 100644
--- a/accessibility/source/standard/vclxaccessiblepopupmenu.cxx
+++ b/accessibility/source/standard/vclxaccessiblepopupmenu.cxx
@@ -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" };
 }
 
 
diff --git a/accessibility/source/standard/vclxaccessibleradiobutton.cxx b/accessibility/source/standard/vclxaccessibleradiobutton.cxx
index 1951db4..131cd03 100644
--- a/accessibility/source/standard/vclxaccessibleradiobutton.cxx
+++ b/accessibility/source/standard/vclxaccessibleradiobutton.cxx
@@ -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" };
 }
 
 
diff --git a/accessibility/source/standard/vclxaccessiblescrollbar.cxx b/accessibility/source/standard/vclxaccessiblescrollbar.cxx
index 8da901e..516d41d 100644
--- a/accessibility/source/standard/vclxaccessiblescrollbar.cxx
+++ b/accessibility/source/standard/vclxaccessiblescrollbar.cxx
@@ -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" };
 }
 
 
diff --git a/accessibility/source/standard/vclxaccessiblestatusbar.cxx b/accessibility/source/standard/vclxaccessiblestatusbar.cxx
index 5499e62..3f4c0ae 100644
--- a/accessibility/source/standard/vclxaccessiblestatusbar.cxx
+++ b/accessibility/source/standard/vclxaccessiblestatusbar.cxx
@@ -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" };
 }
 
 
diff --git a/accessibility/source/standard/vclxaccessiblestatusbaritem.cxx b/accessibility/source/standard/vclxaccessiblestatusbaritem.cxx
index ae8526f..5ae808f 100644
--- a/accessibility/source/standard/vclxaccessiblestatusbaritem.cxx
+++ b/accessibility/source/standard/vclxaccessiblestatusbaritem.cxx
@@ -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" };
 }
 
 
diff --git a/accessibility/source/standard/vclxaccessibletabcontrol.cxx b/accessibility/source/standard/vclxaccessibletabcontrol.cxx
index 2f3be21..12837d6 100644
--- a/accessibility/source/standard/vclxaccessibletabcontrol.cxx
+++ b/accessibility/source/standard/vclxaccessibletabcontrol.cxx
@@ -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" };
 }
 
 
diff --git a/accessibility/source/standard/vclxaccessibletabpage.cxx b/accessibility/source/standard/vclxaccessibletabpage.cxx
index f8dd104..8625928 100644
--- a/accessibility/source/standard/vclxaccessibletabpage.cxx
+++ b/accessibility/source/standard/vclxaccessibletabpage.cxx
@@ -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" };
 }
 
 


More information about the Libreoffice-commits mailing list