Kaydet (Commit) 13787b61 authored tarafından Eike Rathke's avatar Eike Rathke

SYLK import: init nRefCol,nRefRow with start col,row instead of 1,1

So in a malformed document that does not specify ;X;Y;C;R before ;M a 1x1
matrix formula is created at nStartCol,nStartRow instead of 2x2

Change-Id: Idcc0f9d8c65bb142587fa6419af6f4dcb6209a0e
üst e601a2cf
......@@ -1729,8 +1729,8 @@ bool ScImportExport::Sylk2Doc( SvStream& rStrm )
OString aByteLine;
SCCOL nCol = nStartCol;
SCROW nRow = nStartRow;
SCCOL nRefCol = 1;
SCROW nRefRow = 1;
SCCOL nRefCol = nCol;
SCROW nRefRow = nRow;
rStrm.Seek( nOldPos );
for( ;; )
{
......
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