vcl/source/control/imivctl1.cxx | 6 ------ 1 file changed, 6 deletions(-)
New commits: commit eff1137fd2a5a48bea44a05f7891c5a31fffda7f Author: Bogdan Buzea <[email protected]> AuthorDate: Mon Oct 21 17:24:11 2024 +0200 Commit: Xisco Fauli <[email protected]> CommitDate: Tue Oct 22 12:05:35 2024 +0200 tdf#163486: PVS: Identical branches V1037 Two or more case-branches perform the same actions. Check lines: 627, 632, 636 Change-Id: If0f4f4da0d51389c12607770af58f4e34f3caafc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175353 Tested-by: Jenkins Reviewed-by: Xisco Fauli <[email protected]> diff --git a/vcl/source/control/imivctl1.cxx b/vcl/source/control/imivctl1.cxx index 0f6f59385ddb..c2c12162dfdc 100644 --- a/vcl/source/control/imivctl1.cxx +++ b/vcl/source/control/imivctl1.cxx @@ -624,14 +624,8 @@ bool SvxIconChoiceCtrl_Impl::KeyInput( const KeyEvent& rKEvt ) case KEY_ADD: case KEY_DIVIDE : case KEY_A: - bKeyUsed = false; - break; - case KEY_SUBTRACT: case KEY_COMMA : - bKeyUsed = false; - break; - case KEY_RETURN: bKeyUsed = false; break;
