xmloff/source/transform/DeepTContext.cxx |    3 ---
 1 file changed, 3 deletions(-)

New commits:
commit ff25df18046af8ea2a038a165b7208e09edd1673
Author:     Bogdan Buzea <buzea.bog...@libreoffice.org>
AuthorDate: Sun Oct 20 08:06:06 2024 +0200
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Sun Oct 20 10:28:56 2024 +0200

    tdf#163486: PVS: Identical branches
    
    V1037 Two or more case-branches perform the same actions. Check lines: 92, 
96
    
    Change-Id: Ibf8ca692e5d7208d99280c14190bda35a0fd7022
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175231
    Tested-by: Jenkins
    Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org>

diff --git a/xmloff/source/transform/DeepTContext.cxx 
b/xmloff/source/transform/DeepTContext.cxx
index 05a4c9900cf2..d01b6b327c36 100644
--- a/xmloff/source/transform/DeepTContext.cxx
+++ b/xmloff/source/transform/DeepTContext.cxx
@@ -89,9 +89,6 @@ rtl::Reference<XMLTransformerContext> 
XMLPersElemContentTContext::CreateChildCon
         switch( (*aIter).second.m_nActionType )
         {
         case XML_ETACTION_COPY:
-            pContext.set(new XMLPersMixedContentTContext( GetTransformer(),
-                                                       rQName ));
-            break;
         case XML_ETACTION_COPY_TEXT:
             pContext.set(new XMLPersMixedContentTContext( GetTransformer(),
                                                        rQName ));

Reply via email to