sw/source/core/doc/DocumentRedlineManager.cxx |    3 ---
 1 file changed, 3 deletions(-)

New commits:
commit 3a513d1ba42e5bf9ac70780d3fb290dd17309365
Author:     Bogdan Buzea <buzea.bog...@libreoffice.org>
AuthorDate: Fri Oct 18 22:19:28 2024 +0200
Commit:     David Gilbert <freedesk...@treblig.org>
CommitDate: Sun Nov 10 22:58:57 2024 +0100

    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 <freedesk...@treblig.org>

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;

Reply via email to