tdf#163486: PVS: Identical branches

V1037 Two or more case-branches perform the same actions. Check lines: 685, 689

Change-Id: I3c35e7d89699e64693c04da554136f8747fd0dde
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175347
Reviewed-by: David Gilbert <freedesktop@treblig.org>
Tested-by: Jenkins
This commit is contained in:
Bogdan Buzea 2024-10-21 16:51:17 +02:00 committed by David Gilbert
parent 9a23cce372
commit ca7accad71

View file

@ -683,9 +683,6 @@ SET_ADJUST:
// attributes for TextObjectBar
case SID_ATTR_CHAR_FONT:
mpViewShell->GetViewFrame()->GetDispatcher()->
Execute( SID_CHAR_DLG, SfxCallMode::ASYNCHRON );
break;
case SID_ATTR_CHAR_FONTHEIGHT:
mpViewShell->GetViewFrame()->GetDispatcher()->
Execute( SID_CHAR_DLG, SfxCallMode::ASYNCHRON );