From 3a513d1ba42e5bf9ac70780d3fb290dd17309365 Mon Sep 17 00:00:00 2001 From: Bogdan Buzea Date: Fri, 18 Oct 2024 22:19:28 +0200 Subject: tdf#163486: PVS: Identical branches Change-Id: If68fa2c871472a21d9404370351828753db37ee4 V1037: Two or more case-branches perform the same actions. Check lines: 727, 731 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175159 Tested-by: Jenkins Reviewed-by: David Gilbert --- sw/source/core/doc/DocumentRedlineManager.cxx | 3 --- 1 file changed, 3 deletions(-) (limited to 'sw/source') diff --git a/sw/source/core/doc/DocumentRedlineManager.cxx b/sw/source/core/doc/DocumentRedlineManager.cxx index 642bf2c5a25b..ed7978fc33e5 100644 --- a/sw/source/core/doc/DocumentRedlineManager.cxx +++ b/sw/source/core/doc/DocumentRedlineManager.cxx @@ -724,9 +724,6 @@ namespace break; case RedlineType::FmtColl: - rArr.DeleteAndDestroy( rPos-- ); - break; - case RedlineType::ParagraphFormat: rArr.DeleteAndDestroy( rPos-- ); break; -- cgit