summaryrefslogtreecommitdiff
path: root/toolkit/source
diff options
context:
space:
mode:
authorBogdan Buzea <buzea.bogdan@libreoffice.org>2024-10-19 19:34:39 +0200
committerDavid Gilbert <freedesktop@treblig.org>2024-11-10 01:09:02 +0100
commit7713d916e06a8388f849a758f928cbcfded6c0ae (patch)
tree65955b051e85cc4fdeec94e7df29b1610a7f449f /toolkit/source
parent0488beff8bdcb1bb4014d28136ed5fda571b46ee (diff)
tdf#163486: PVS: Identical branches
V1037 Two or more case-branches perform the same actions. Check lines: 94, 97 Change-Id: If4eeadad5a9985a2d4e8336ab4cba9188655b6ba Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175227 Tested-by: Jenkins Reviewed-by: David Gilbert <freedesktop@treblig.org>
Diffstat (limited to 'toolkit/source')
-rw-r--r--toolkit/source/controls/roadmapcontrol.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/toolkit/source/controls/roadmapcontrol.cxx b/toolkit/source/controls/roadmapcontrol.cxx
index aec4ac24192e..0c6538bd9c3d 100644
--- a/toolkit/source/controls/roadmapcontrol.cxx
+++ b/toolkit/source/controls/roadmapcontrol.cxx
@@ -91,8 +91,6 @@ namespace toolkit
switch (nPropId)
{
case BASEPROPERTY_COMPLETE:
- aReturn <<= true;
- break;
case BASEPROPERTY_ACTIVATED:
aReturn <<= true;
break;