summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorBogdan Buzea <buzea.bogdan@libreoffice.org>2024-10-18 22:19:28 +0200
committerDavid Gilbert <freedesktop@treblig.org>2024-11-10 22:58:57 +0100
commit3a513d1ba42e5bf9ac70780d3fb290dd17309365 (patch)
treeddc95fab1d2bff1e777d5bbf4fdbec4bfffeda92 /sw/source
parentc57d6827daedb114f76928751788b72cfda16f3e (diff)
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 <freedesktop@treblig.org>
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/core/doc/DocumentRedlineManager.cxx3
1 files changed, 0 insertions, 3 deletions
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;