Kaydet (Commit) d42c80e5 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#735452 Logically dead code

Change-Id: If50b62e63160c4a26fe97b6fc59494339a566188
üst 7439af47
...@@ -924,9 +924,7 @@ void ORptExport::exportContainer(const Reference< XSection>& _xSection) ...@@ -924,9 +924,7 @@ void ORptExport::exportContainer(const Reference< XSection>& _xSection)
if ( xReportElement.is() ) if ( xReportElement.is() )
exportReportElement(xReportElement); exportReportElement(xReportElement);
if ( eToken == XML_GROUP && xSection.is() ) if (eToken == XML_SUB_DOCUMENT && xReportDefinition.is())
exportContainer(xSection);
else if ( eToken == XML_SUB_DOCUMENT && xReportDefinition.is() )
{ {
SvXMLElementExport aOfficeElement( *this, XML_NAMESPACE_OFFICE, XML_BODY, true, true ); SvXMLElementExport aOfficeElement( *this, XML_NAMESPACE_OFFICE, XML_BODY, true, true );
SvXMLElementExport aElem( *this, true, SvXMLElementExport aElem( *this, true,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment