V1037 Two or more case-branches perform the same actions. Check lines: 1058, 1064
Change-Id: I9491627220990b6263f2d6320b4bfa5d0759d60a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175430
Tested-by: Jenkins
Reviewed-by: David Gilbert <freedesktop@treblig.org>