From ca7accad71b0c91bc935715bb89b935857d6a711 Mon Sep 17 00:00:00 2001 From: Bogdan Buzea Date: Mon, 21 Oct 2024 16:51:17 +0200 Subject: 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 Tested-by: Jenkins --- sd/source/ui/view/drtxtob1.cxx | 3 --- 1 file changed, 3 deletions(-) (limited to 'sd/source') 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 ); -- cgit