diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-07-04 17:15:55 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-07-04 17:15:55 +0200 |
commit | b93abe9e724092222b9bfec23c1090cfab0c6f9d (patch) | |
tree | 051edd77913dfaa9f71a888f2236b12707319064 | |
parent | 19c13650c81ae7e0ad6cf0d7b8661f8440ee7892 (diff) |
Fix "TODO: remove?"
...from previous 18713e10451b017784c7a1f783612074c5f84c42
"XclExpXct::StoreCell(Range) rToken param is unused", according to Eike's
replies at <https://gerrit.libreoffice.org/#/c/39456/3>
Change-Id: I525b428eb6853bc19be9f9c3cd08a206d031ed51
-rw-r--r-- | sc/source/filter/excel/xelink.cxx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sc/source/filter/excel/xelink.cxx b/sc/source/filter/excel/xelink.cxx index 1e51bcf160cc..b2e8c329f323 100644 --- a/sc/source/filter/excel/xelink.cxx +++ b/sc/source/filter/excel/xelink.cxx @@ -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); |