summaryrefslogtreecommitdiff
path: root/sc/source/ui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-11-07 08:41:21 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-11-07 12:27:31 +0000
commitc9e9b3a36ffd2d2b37fbe7267b4707174e8c6312 (patch)
tree6dbab8890a5124af820fa12858c31a8a4d0d3204 /sc/source/ui
parent75871d9a8c0f22f3d5486023a56175d0d04e66d5 (diff)
callcatcher: update list, drop some newly unused methods
Diffstat (limited to 'sc/source/ui')
-rw-r--r--sc/source/ui/docshell/externalrefmgr.cxx20
1 files changed, 0 insertions, 20 deletions
diff --git a/sc/source/ui/docshell/externalrefmgr.cxx b/sc/source/ui/docshell/externalrefmgr.cxx
index 6f6e64e58dd0..cf3c561e8743 100644
--- a/sc/source/ui/docshell/externalrefmgr.cxx
+++ b/sc/source/ui/docshell/externalrefmgr.cxx
@@ -1011,26 +1011,6 @@ bool ScExternalRefCache::setCacheTableReferenced( sal_uInt16 nFileId, const OUSt
return areAllCacheTablesReferenced();
}
-void ScExternalRefCache::setCacheTableReferencedPermanently( sal_uInt16 nFileId, const OUString& rTabName, size_t nSheets )
-{
- DocItem* pDoc = getDocItem(nFileId);
- if (pDoc)
- {
- size_t nIndex = 0;
- String aTabNameUpper = ScGlobal::pCharClass->upper( rTabName);
- if (lcl_getTableDataIndex( pDoc->maTableNameIndex, aTabNameUpper, nIndex))
- {
- size_t nStop = ::std::min( nIndex + nSheets, pDoc->maTables.size());
- for (size_t i = nIndex; i < nStop; ++i)
- {
- TableTypeRef pTab = pDoc->maTables[i];
- if (pTab.get())
- pTab->setReferencedFlag( Table::REFERENCED_PERMANENT);
- }
- }
- }
-}
-
void ScExternalRefCache::setAllCacheTableReferencedStati( bool bReferenced )
{
if (bReferenced)