Kaydet (Commit) 8e1f198a authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Use switch with init-statement

Change-Id: Iac45bd7f50e9f9e82c5dad25983f4b32515c4816
Reviewed-on: https://gerrit.libreoffice.org/64815
Tested-by: Jenkins
Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
üst 15f0d612
......@@ -65,8 +65,7 @@ namespace accessibility
{
if ( isAlive() )
{
VclEventId nEventId = rVclWindowEvent.GetId();
switch ( nEventId )
switch ( VclEventId nEventId = rVclWindowEvent.GetId(); nEventId )
{
case VclEventId::ObjectDying :
{
......
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