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>
This commit is contained in:
Bogdan Buzea
2024-10-20 08:06:06 +02:00
committed by Xisco Fauli
parent 2005faca8c
commit ff25df1804

View File

@@ -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 ));