coverity#735452 Logically dead code

Change-Id: If50b62e63160c4a26fe97b6fc59494339a566188
This commit is contained in:
Caolán McNamara
2014-11-03 16:07:29 +00:00
parent 7439af47d1
commit d42c80e534

View File

@@ -924,9 +924,7 @@ void ORptExport::exportContainer(const Reference< XSection>& _xSection)
if ( xReportElement.is() )
exportReportElement(xReportElement);
if ( eToken == XML_GROUP && xSection.is() )
exportContainer(xSection);
else if ( eToken == XML_SUB_DOCUMENT && xReportDefinition.is() )
if (eToken == XML_SUB_DOCUMENT && xReportDefinition.is())
{
SvXMLElementExport aOfficeElement( *this, XML_NAMESPACE_OFFICE, XML_BODY, true, true );
SvXMLElementExport aElem( *this, true,