diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-10-11 18:40:10 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-10-11 18:40:10 +0200 |
commit | d58d1719a49c5c25cce8ddfa7fef52b09d0f9957 (patch) | |
tree | cd685e9ed00a446a6ffd60bff0ee0de7de436d02 /sc | |
parent | 603b62c618b96e960ed8411626abc02418d5f3cc (diff) |
Unused ScExternalRefCache::mrStrPool
Change-Id: Idc9d05cae6ebee4c5f88dbe53ab182da66781582
Diffstat (limited to 'sc')
-rw-r--r-- | sc/inc/externalrefmgr.hxx | 3 | ||||
-rw-r--r-- | sc/source/ui/docshell/externalrefmgr.cxx | 4 |
2 files changed, 2 insertions, 5 deletions
diff --git a/sc/inc/externalrefmgr.hxx b/sc/inc/externalrefmgr.hxx index df794bd3af23..9ade21dabc30 100644 --- a/sc/inc/externalrefmgr.hxx +++ b/sc/inc/externalrefmgr.hxx @@ -201,7 +201,7 @@ public: typedef ::boost::unordered_map< OUString, size_t, OUStringHash> TableNameIndexMap; - ScExternalRefCache(svl::SharedStringPool& rPool); + ScExternalRefCache(); ~ScExternalRefCache(); const OUString* getRealTableName(sal_uInt16 nFileId, const OUString& rTabName) const; @@ -340,7 +340,6 @@ private: DocItem* getDocItem(sal_uInt16 nFileId) const; private: - svl::SharedStringPool& mrStrPool;; mutable DocDataType maDocs; }; diff --git a/sc/source/ui/docshell/externalrefmgr.cxx b/sc/source/ui/docshell/externalrefmgr.cxx index 302d17c6665c..6ed09cf39c3c 100644 --- a/sc/source/ui/docshell/externalrefmgr.cxx +++ b/sc/source/ui/docshell/externalrefmgr.cxx @@ -488,8 +488,7 @@ ScExternalRefCache::CellFormat::CellFormat() : // ---------------------------------------------------------------------------- -ScExternalRefCache::ScExternalRefCache(svl::SharedStringPool& rPool) : - mrStrPool(rPool) {} +ScExternalRefCache::ScExternalRefCache() {} ScExternalRefCache::~ScExternalRefCache() {} @@ -1503,7 +1502,6 @@ static ScTokenArray* lcl_fillEmptyMatrix(const ScRange& rRange) ScExternalRefManager::ScExternalRefManager(ScDocument* pDoc) : mpDoc(pDoc), - maRefCache(pDoc->GetSharedStringPool()), mbInReferenceMarking(false), mbUserInteractionEnabled(true) { |