Kaydet (Commit) 92df7db8 authored tarafından Eike Rathke's avatar Eike Rathke

array formulas do not consist only of multiple rows, tdf#61908 follow-up

For example, {={1,2}*3} is a two columns one row vector, or even a
single cell could hold an array formula.

Change-Id: I14a44ac8356fdffc98b7097f48319755f5f2f317
üst 93cdcfac
...@@ -958,7 +958,7 @@ void XclExpFormulaCell::SaveXml( XclExpXmlStream& rStrm ) ...@@ -958,7 +958,7 @@ void XclExpFormulaCell::SaveXml( XclExpXmlStream& rStrm )
sFmlaCellRange.append(XclXmlUtils::ToOString( rStrm.GetRoot().GetStringBuf(), aMatScRange.aEnd ).getStr()); sFmlaCellRange.append(XclXmlUtils::ToOString( rStrm.GetRoot().GetStringBuf(), aMatScRange.aEnd ).getStr());
} }
if (aMatScRange.aStart.Col() == GetXclPos().mnCol && aMatScRange.aEnd.Row() > static_cast< SCROW >(GetXclPos().mnRow)) if (aMatScRange.aStart.Col() == GetXclPos().mnCol && aMatScRange.aStart.Row() == static_cast<SCROW>(GetXclPos().mnRow))
{ {
rWorksheet->startElement( XML_f, rWorksheet->startElement( XML_f,
XML_aca, XclXmlUtils::ToPsz( (mxTokArr && mxTokArr->IsVolatile()) || (mxAddRec && mxAddRec->IsVolatile()) ), 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