summaryrefslogtreecommitdiff
path: root/svx/source
diff options
context:
space:
mode:
authorBogdan Buzea <buzea.bogdan@libreoffice.org>2024-10-20 20:56:56 +0200
committerDavid Gilbert <freedesktop@treblig.org>2024-11-03 13:16:59 +0100
commit7455410b07183a843566d3ad8e8f66c564cd0a73 (patch)
treef80a5a2dd85e9db39f2ac40f16d7a8aafca725e7 /svx/source
parentc83f22357212e434d759a7fa9905bae1691b066c (diff)
tdf#163486: PVS: Identical branches
V1037 Two or more case-branches perform the same actions. Check lines: 843, 850 Change-Id: I82df65a66b98e115bebfccc6ca1c9567533bd651 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175267 Tested-by: Jenkins Reviewed-by: David Gilbert <freedesktop@treblig.org>
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/svdraw/svdhdl.cxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/svx/source/svdraw/svdhdl.cxx b/svx/source/svdraw/svdhdl.cxx
index 5666c1c03993..aba506b0e463 100644
--- a/svx/source/svdraw/svdhdl.cxx
+++ b/svx/source/svdraw/svdhdl.cxx
@@ -838,14 +838,10 @@ std::unique_ptr<sdr::overlay::OverlayObject> SdrHdl::CreateOverlayObject(
case BitmapMarkerKind::Elli_9x11: eNextBigger = BitmapMarkerKind::Elli_11x9; break;
case BitmapMarkerKind::Elli_11x9: eNextBigger = BitmapMarkerKind::Elli_9x11; break;
case BitmapMarkerKind::RectPlus_11x11: eNextBigger = BitmapMarkerKind::Rect_13x13; break;
-
- case BitmapMarkerKind::Crosshair:
- eNextBigger = BitmapMarkerKind::Glue;
- break;
-
case BitmapMarkerKind::Glue:
eNextBigger = BitmapMarkerKind::Crosshair;
break;
+ case BitmapMarkerKind::Crosshair:
case BitmapMarkerKind::Glue_Deselected:
eNextBigger = BitmapMarkerKind::Glue;
break;