summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBogdan Buzea <buzea.bogdan@libreoffice.org>2024-10-20 08:06:06 +0200
committerXisco Fauli <xiscofauli@libreoffice.org>2024-10-20 10:28:56 +0200
commitff25df18046af8ea2a038a165b7208e09edd1673 (patch)
treece68c6f667a17142c5bcc7c44d8f90d01849e05e
parent2005faca8c37f665cc5991f821990165df2ead8d (diff)
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 <xiscofauli@libreoffice.org>
-rw-r--r--xmloff/source/transform/DeepTContext.cxx3
1 files changed, 0 insertions, 3 deletions
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 ));