summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell/impex.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-12-12 16:49:19 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-12-13 07:04:49 +0100
commitafad9ccb381a02b90654a5fa302480e46f38a1fc (patch)
tree805e39b189c25d8dbd8ab932baca0fc0d7482d06 /sc/source/ui/docshell/impex.cxx
parentd755b2d4a3340f42a90d15d4795cc947a0b18e4a (diff)
sc: rowcol: tdf#50916 pass ScDocument* around in data/
Change-Id: Ifa99d1c8d593e2a5dd81a3aaf4cd702d3ba96b89 Reviewed-on: https://gerrit.libreoffice.org/85060 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/docshell/impex.cxx')
-rw-r--r--sc/source/ui/docshell/impex.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/docshell/impex.cxx b/sc/source/ui/docshell/impex.cxx
index 5b115f5bd276..bfa4447b3d73 100644
--- a/sc/source/ui/docshell/impex.cxx
+++ b/sc/source/ui/docshell/impex.cxx
@@ -2192,7 +2192,7 @@ bool ScImportExport::Doc2Sylk( SvStream& rStrm )
case ScMatrixMode::Reference :
{ // diff expression with 'I' M$-extension
ScAddress aPos;
- (void)pFCell->GetMatrixOrigin( aPos );
+ (void)pFCell->GetMatrixOrigin( pDoc, aPos );
aPrefix = ";I;R"
+ OUString::number( aPos.Row() - nStartRow + 1 )
+ ";C"