summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/source/ui/docshell/impex.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/docshell/impex.cxx b/sc/source/ui/docshell/impex.cxx
index a202ce30b36a..0a68d360fade 100644
--- a/sc/source/ui/docshell/impex.cxx
+++ b/sc/source/ui/docshell/impex.cxx
@@ -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( ;; )
{