[Libreoffice-commits] core.git: sc/inc sc/source

Stephan Bergmann sbergman at redhat.com
Fri Oct 11 09:40:33 PDT 2013


 sc/inc/externalrefmgr.hxx                |    3 +--
 sc/source/ui/docshell/externalrefmgr.cxx |    4 +---
 2 files changed, 2 insertions(+), 5 deletions(-)

New commits:
commit d58d1719a49c5c25cce8ddfa7fef52b09d0f9957
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Oct 11 18:40:10 2013 +0200

    Unused ScExternalRefCache::mrStrPool
    
    Change-Id: Idc9d05cae6ebee4c5f88dbe53ab182da66781582

diff --git a/sc/inc/externalrefmgr.hxx b/sc/inc/externalrefmgr.hxx
index df794bd..9ade21d 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 302d17c..6ed09cf 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)
 {


More information about the Libreoffice-commits mailing list