summaryrefslogtreecommitdiff
path: root/drawinglayer/source
diff options
context:
space:
mode:
authorBogdan Buzea <buzea.bogdan@libreoffice.org>2024-10-19 19:32:42 +0200
committerDavid Gilbert <freedesktop@treblig.org>2024-11-10 01:07:48 +0100
commit0488beff8bdcb1bb4014d28136ed5fda571b46ee (patch)
tree4e949e6d91d7b26fae5627dd98c717830f5610e9 /drawinglayer/source
parentcd398f3e740ef68221520f7947a361ddd66c8f2a (diff)
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 <freedesktop@treblig.org>
Diffstat (limited to 'drawinglayer/source')
-rw-r--r--drawinglayer/source/primitive2d/textlineprimitive2d.cxx4
1 files changed, 0 insertions, 4 deletions
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;