diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-12-08 17:43:14 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-12-08 20:38:20 +0100 |
commit | 8e1f198ae521c4b99ce5e8b03bf2c72849badbd2 (patch) | |
tree | 70414c29fdb9ddd9622670a0a7bf37d85b08ea8b /accessibility | |
parent | 15f0d61206dddee12159b68aeab5c860e3d5aff4 (diff) |
Use switch with init-statement
Change-Id: Iac45bd7f50e9f9e82c5dad25983f4b32515c4816
Reviewed-on: https://gerrit.libreoffice.org/64815
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'accessibility')
-rw-r--r-- | accessibility/source/extended/accessibletablistboxtable.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
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 : { |