diff options
author | Eike Rathke <erack@redhat.com> | 2015-09-15 13:05:03 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2015-09-15 13:09:44 +0200 |
commit | 92df7db85a3da10f18a5a06fb53a9cb69910e835 (patch) | |
tree | ca6e39a511406a957c46e6601a42ba529ed901c6 | |
parent | 93cdcfac48a3b8cbbd9700ee79f650c6f17d16a4 (diff) |
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
-rw-r--r-- | sc/source/filter/excel/xetable.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/excel/xetable.cxx b/sc/source/filter/excel/xetable.cxx index 02a9d9123d56..9437d8cde5f4 100644 --- a/sc/source/filter/excel/xetable.cxx +++ b/sc/source/filter/excel/xetable.cxx @@ -958,7 +958,7 @@ void XclExpFormulaCell::SaveXml( XclExpXmlStream& rStrm ) 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, XML_aca, XclXmlUtils::ToPsz( (mxTokArr && mxTokArr->IsVolatile()) || (mxAddRec && mxAddRec->IsVolatile()) ), |