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

fix 176 unbalanced XML_f xlsx export failuires

regression from

commit beb8e283
Author: yogesh.bharate001 <yogesh.bharate@synerzip.com>
Date:   Tue Jun 2 16:39:09 2015 +0530

    tdf#61908:XLSX formula cell range is not exported for MMULT.

Change-Id: Ia54ce5ce437e592378fe930b779c518de9670995
üst 9dcd2d11
......@@ -932,6 +932,7 @@ void XclExpFormulaCell::SaveXml( XclExpXmlStream& rStrm )
// OOXTODO: XML_cm, XML_vm, XML_ph
FSEND );
bool bTagStarted = false;
ScAddress aScPos( static_cast< SCCOL >( GetXclPos().mnCol ), static_cast< SCROW >( GetXclPos().mnRow ), rStrm.GetRoot().GetCurrScTab() );
if ( mrScFmlaCell.GetMatrixFlag() == MM_FORMULA)
......@@ -973,9 +974,10 @@ void XclExpFormulaCell::SaveXml( XclExpXmlStream& rStrm )
// OOXTODO: XML_si, uint
// OOXTODO: XML_bx bool
FSEND );
bTagStarted = true;
}
}
else
if (!bTagStarted)
{
rWorksheet->startElement( XML_f,
XML_aca, XclXmlUtils::ToPsz( (mxTokArr && mxTokArr->IsVolatile()) || (mxAddRec && mxAddRec->IsVolatile()) ),
......
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