summaryrefslogtreecommitdiff
path: root/sd/source
diff options
context:
space:
mode:
authorBogdan Buzea <buzea.bogdan@libreoffice.org>2024-10-21 16:51:17 +0200
committerDavid Gilbert <freedesktop@treblig.org>2024-10-30 01:23:54 +0100
commitca7accad71b0c91bc935715bb89b935857d6a711 (patch)
treeed19a4c1c0d4602654088e86e4e8e4635f992f48 /sd/source
parent9a23cce372741b08cb8819cf9c71f1cae567c7c4 (diff)
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
Diffstat (limited to 'sd/source')
-rw-r--r--sd/source/ui/view/drtxtob1.cxx3
1 files changed, 0 insertions, 3 deletions
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 );