From 0488beff8bdcb1bb4014d28136ed5fda571b46ee Mon Sep 17 00:00:00 2001 From: Bogdan Buzea Date: Sat, 19 Oct 2024 19:32:42 +0200 Subject: tdf#163486: PVS: Identical branches V1037 Two or more case-branches perform the same actions. Check lines: 94, 99 Change-Id: I406b94c79426cebbd4813a019389d0cac0616bbf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175226 Tested-by: Jenkins Reviewed-by: David Gilbert --- drawinglayer/source/primitive2d/textlineprimitive2d.cxx | 4 ---- 1 file changed, 4 deletions(-) (limited to 'drawinglayer/source') diff --git a/drawinglayer/source/primitive2d/textlineprimitive2d.cxx b/drawinglayer/source/primitive2d/textlineprimitive2d.cxx index 496af0706520..362c2e9778fb 100644 --- a/drawinglayer/source/primitive2d/textlineprimitive2d.cxx +++ b/drawinglayer/source/primitive2d/textlineprimitive2d.cxx @@ -90,10 +90,6 @@ namespace drawinglayer::primitive2d break; } case TEXT_LINE_SMALLWAVE: - { - bWaveLine = true; - break; - } case TEXT_LINE_WAVE: { bWaveLine = true; -- cgit