svx/source/svdraw/svdhdl.cxx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)
New commits: commit 7455410b07183a843566d3ad8e8f66c564cd0a73 Author: Bogdan Buzea <buzea.bog...@libreoffice.org> AuthorDate: Sun Oct 20 20:56:56 2024 +0200 Commit: David Gilbert <freedesk...@treblig.org> CommitDate: Sun Nov 3 13:16:59 2024 +0100 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 <freedesk...@treblig.org> 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;