diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-11-07 08:41:21 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-11-07 12:27:31 +0000 |
commit | c9e9b3a36ffd2d2b37fbe7267b4707174e8c6312 (patch) | |
tree | 6dbab8890a5124af820fa12858c31a8a4d0d3204 /sc | |
parent | 75871d9a8c0f22f3d5486023a56175d0d04e66d5 (diff) |
callcatcher: update list, drop some newly unused methods
Diffstat (limited to 'sc')
-rw-r--r-- | sc/inc/externalrefmgr.hxx | 6 | ||||
-rw-r--r-- | sc/inc/pivot.hxx | 1 | ||||
-rw-r--r-- | sc/inc/queryentry.hxx | 1 | ||||
-rw-r--r-- | sc/source/core/data/pivot2.cxx | 8 | ||||
-rw-r--r-- | sc/source/core/tool/queryentry.cxx | 5 | ||||
-rw-r--r-- | sc/source/ui/docshell/externalrefmgr.cxx | 20 |
6 files changed, 0 insertions, 41 deletions
diff --git a/sc/inc/externalrefmgr.hxx b/sc/inc/externalrefmgr.hxx index 15d5b924b5c2..0904871c17c8 100644 --- a/sc/inc/externalrefmgr.hxx +++ b/sc/inc/externalrefmgr.hxx @@ -277,12 +277,6 @@ public: void setAllCacheTableReferencedStati( bool bReferenced ); bool areAllCacheTablesReferenced() const; - /** - * Set a table as permanently referenced, to be called if not in - * mark-during-store-to-file cycle. - */ - void setCacheTableReferencedPermanently( sal_uInt16 nFileId, const ::rtl::OUString& rTabName, size_t nSheets ); - private: struct ReferencedStatus { diff --git a/sc/inc/pivot.hxx b/sc/inc/pivot.hxx index 01bb7be646d2..705f794a1fa7 100644 --- a/sc/inc/pivot.hxx +++ b/sc/inc/pivot.hxx @@ -110,7 +110,6 @@ struct ScPivotParam ScPivotParam& operator= ( const ScPivotParam& r ); bool operator== ( const ScPivotParam& r ) const; - void ClearPivotArrays(); void SetLabelData (const ::std::vector<ScDPLabelDataRef>& r); }; diff --git a/sc/inc/queryentry.hxx b/sc/inc/queryentry.hxx index 463618e2872a..48f7637c97d8 100644 --- a/sc/inc/queryentry.hxx +++ b/sc/inc/queryentry.hxx @@ -65,7 +65,6 @@ struct ScQueryEntry bool IsQueryStringEmpty() const; bool MatchByString(const rtl::OUString& rStr, bool bCaseSens) const; - void SwapQueryStrings(QueryStringsType& rStrings); void SortQueryStrings(bool bCaseSens); SC_DLLPUBLIC void SetQueryString(const rtl::OUString& rStr); SC_DLLPUBLIC rtl::OUString GetQueryString() const; diff --git a/sc/source/core/data/pivot2.cxx b/sc/source/core/data/pivot2.cxx index 68033dca3ecb..d69efe657a01 100644 --- a/sc/source/core/data/pivot2.cxx +++ b/sc/source/core/data/pivot2.cxx @@ -148,14 +148,6 @@ ScPivotParam::~ScPivotParam() { } -void ScPivotParam::ClearPivotArrays() -{ - maPageFields.clear(); - maColFields.clear(); - maRowFields.clear(); - maDataFields.clear(); -} - void ScPivotParam::SetLabelData(const vector<ScDPLabelDataRef>& r) { vector<ScDPLabelDataRef> aNewArray; diff --git a/sc/source/core/tool/queryentry.cxx b/sc/source/core/tool/queryentry.cxx index c69354b34191..641bcd024ad7 100644 --- a/sc/source/core/tool/queryentry.cxx +++ b/sc/source/core/tool/queryentry.cxx @@ -122,11 +122,6 @@ bool ScQueryEntry::MatchByString(const rtl::OUString& rStr, bool bCaseSens) cons return pTransliteration->isEqual(rStr, *itr); } -void ScQueryEntry::SwapQueryStrings(QueryStringsType& rStrings) -{ - maQueryStrings.swap(rStrings); -} - void ScQueryEntry::SortQueryStrings(bool bCaseSens) { std::sort(maQueryStrings.begin(), maQueryStrings.end(), CompareString(bCaseSens)); 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) |