drawinglayer/source/primitive2d/textlineprimitive2d.cxx | 4 ---- 1 file changed, 4 deletions(-)
New commits: commit 0488beff8bdcb1bb4014d28136ed5fda571b46ee Author: Bogdan Buzea <[email protected]> AuthorDate: Sat Oct 19 19:32:42 2024 +0200 Commit: David Gilbert <[email protected]> CommitDate: Sun Nov 10 01:07:48 2024 +0100 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 <[email protected]> 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;
