diff options
author | Aron Budea <aron.budea@collabora.com> | 2019-10-25 08:21:38 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-25 12:43:11 +0200 |
commit | 1bca91f086be08c41e51f5f7cc7616ce8c5cb799 (patch) | |
tree | d2f00b0cdfee0ddc60c5823ace15fea49b25a39d /sc/source/filter/excel/xeformula.cxx | |
parent | c8067df2fe03056c67bb1805e52b60b45dc3363b (diff) |
sc: rowcol: tdf#50916 convert filter/excel for the most part
Change-Id: I8ae255de6fcd9d7fd379a48fb7e84adcbf7fa4ff
TODO: pieces in frmbase.cxx, xestream.cxx and xistyle.cxx
Reviewed-on: https://gerrit.libreoffice.org/81486
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/filter/excel/xeformula.cxx')
-rw-r--r-- | sc/source/filter/excel/xeformula.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/excel/xeformula.cxx b/sc/source/filter/excel/xeformula.cxx index 57c2d71585ca..0068d9bda709 100644 --- a/sc/source/filter/excel/xeformula.cxx +++ b/sc/source/filter/excel/xeformula.cxx @@ -596,7 +596,7 @@ void XclExpFmlaCompImpl::Init( XclFormulaType eType, const ScTokenArray& rScTokA { // clone the passed token array, convert references relative to current cell position mxData->mxOwnScTokArr = rScTokArr.Clone(); - ScCompiler::MoveRelWrap( *mxData->mxOwnScTokArr, &GetDocRef(), *pScBasePos, MAXCOL, MAXROW ); + ScCompiler::MoveRelWrap( *mxData->mxOwnScTokArr, &GetDocRef(), *pScBasePos, GetDocRef().MaxCol(), GetDocRef().MaxRow() ); // don't remember pScBasePos in mxData->mpScBasePos, shared formulas use real relative refs } break; |