Kaydet (Commit) b93abe9e authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Fix "TODO: remove?"

...from previous 18713e10
"XclExpXct::StoreCell(Range) rToken param is unused", according to Eike's
replies at <https://gerrit.libreoffice.org/#/c/39456/3>

Change-Id: I525b428eb6853bc19be9f9c3cd08a206d031ed51
üst 19c13650
......@@ -1866,11 +1866,6 @@ void XclExpSupbookBuffer::StoreCell( sal_uInt16 nFileId, const OUString& rTabNam
nSupbookId = Append(xSupbook);
}
//TODO: remove?
ScExternalRefCache::TokenRef pToken = pRefMgr->getSingleRefToken(nFileId, rTabName, rCell, nullptr, nullptr);
if (!pToken.get())
return;
sal_uInt16 nSheetId = xSupbook->GetTabIndex(rTabName);
if (nSheetId == EXC_NOTAB)
// specified table name not found in this SUPBOOK.
......@@ -1907,7 +1902,7 @@ void XclExpSupbookBuffer::StoreCellRange( sal_uInt16 nFileId, const OUString& rT
// If this is a multi-table range, get token for each table.
using namespace ::formula;
SCTAB aMatrixListSize = 0; //TODO: remove?
SCTAB aMatrixListSize = 0;
// This is a new'ed instance, so we must manage its life cycle here.
ScExternalRefCache::TokenArrayRef pArray = pRefMgr->getDoubleRefTokens(nFileId, rTabName, rRange, nullptr);
......
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