sd/source/ui/view/drtxtob1.cxx |    3 ---
 1 file changed, 3 deletions(-)

New commits:
commit ca7accad71b0c91bc935715bb89b935857d6a711
Author:     Bogdan Buzea <buzea.bog...@libreoffice.org>
AuthorDate: Mon Oct 21 16:51:17 2024 +0200
Commit:     David Gilbert <freedesk...@treblig.org>
CommitDate: Wed Oct 30 01:23:54 2024 +0100

    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 <freedesk...@treblig.org>
    Tested-by: Jenkins

diff --git a/sd/source/ui/view/drtxtob1.cxx b/sd/source/ui/view/drtxtob1.cxx
index 2e6f3000d823..5c448c88b756 100644
--- a/sd/source/ui/view/drtxtob1.cxx
+++ b/sd/source/ui/view/drtxtob1.cxx
@@ -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 );

Reply via email to