Kaydet (Commit) 0c7dd40e authored tarafından Kohei Yoshida's avatar Kohei Yoshida

Fix import of negative relative row reference from xls.

Change-Id: Ibaa325396a8a06c45cf59af9809ed5cbff6d10d0
üst 6775874b
......@@ -1417,7 +1417,7 @@ void ExcelToSc8::ExcRelToScRel8( sal_uInt16 nRow, sal_uInt16 nC, ScSingleRefData
// R O W
if( bRowRel )
rSRD.SetRelRow(nRow);
rSRD.SetRelRow(static_cast<sal_Int16>(nRow));
else
rSRD.SetAbsRow(std::min( static_cast<SCROW>(nRow), MAXROW));
}
......
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