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>
This commit is contained in:
Bogdan Buzea 2024-10-19 19:34:39 +02:00 committed by David Gilbert
parent 0488beff8b
commit 7713d916e0

View file

@ -91,8 +91,6 @@ namespace toolkit
switch (nPropId) switch (nPropId)
{ {
case BASEPROPERTY_COMPLETE: case BASEPROPERTY_COMPLETE:
aReturn <<= true;
break;
case BASEPROPERTY_ACTIVATED: case BASEPROPERTY_ACTIVATED:
aReturn <<= true; aReturn <<= true;
break; break;