accessibility/source/extended/accessibletablistboxtable.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 8e1f198ae521c4b99ce5e8b03bf2c72849badbd2
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Sat Dec 8 17:43:14 2018 +0100
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Sat Dec 8 20:38:20 2018 +0100

    Use switch with init-statement
    
    Change-Id: Iac45bd7f50e9f9e82c5dad25983f4b32515c4816
    Reviewed-on: https://gerrit.libreoffice.org/64815
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

diff --git a/accessibility/source/extended/accessibletablistboxtable.cxx 
b/accessibility/source/extended/accessibletablistboxtable.cxx
index 8c8dd1156b2f..11c926aa3cf1 100644
--- a/accessibility/source/extended/accessibletablistboxtable.cxx
+++ b/accessibility/source/extended/accessibletablistboxtable.cxx
@@ -65,8 +65,7 @@ namespace accessibility
     {
         if ( isAlive() )
         {
-            VclEventId nEventId = rVclWindowEvent.GetId();
-            switch ( nEventId )
+            switch ( VclEventId nEventId = rVclWindowEvent.GetId(); nEventId )
             {
                 case  VclEventId::ObjectDying :
                 {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to