diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-29 08:16:54 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-29 07:57:34 +0100 |
commit | caa4c416675f9d5f6e5006b551f8534088c5bdf1 (patch) | |
tree | 10a32469761e7b2d2440d45848a6fbfd0489a9bc /sc/source/filter/excel/xiname.cxx | |
parent | 78fbbc77d0e3318c6490470f8050a5b1e3cae28d (diff) |
remove XclRoot::GetDocRef
duplicate of GetDoc
Change-Id: I4b4d261684cbff4513a797b9b5af76f11737b980
Reviewed-on: https://gerrit.libreoffice.org/81635
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/filter/excel/xiname.cxx')
-rw-r--r-- | sc/source/filter/excel/xiname.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/excel/xiname.cxx b/sc/source/filter/excel/xiname.cxx index 49885050cff0..427e26983dd6 100644 --- a/sc/source/filter/excel/xiname.cxx +++ b/sc/source/filter/excel/xiname.cxx @@ -236,7 +236,7 @@ void XclImpName::ConvertTokens() void XclImpName::InsertName(const ScTokenArray* pArray) { // create the Calc name data - ScRangeData* pData = new ScRangeData(&GetDocRef(), maScName, *pArray, ScAddress(), meNameType); + ScRangeData* pData = new ScRangeData(&GetDoc(), maScName, *pArray, ScAddress(), meNameType); pData->GuessPosition(); // calculate base position for relative refs pData->SetIndex( mnNameIndex ); // used as unique identifier in formulas if (mnXclTab == EXC_NAME_GLOBAL) |