diff options
Diffstat (limited to 'sc/inc/dpobject.hxx')
-rw-r--r-- | sc/inc/dpobject.hxx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sc/inc/dpobject.hxx b/sc/inc/dpobject.hxx index cc73fcbee82a..db8ea9222f0f 100644 --- a/sc/inc/dpobject.hxx +++ b/sc/inc/dpobject.hxx @@ -259,12 +259,18 @@ public: class SheetCaches { friend class ScDPCollection; - typedef ::boost::ptr_map<ScRange, ScDPCache> CachesType; + typedef boost::ptr_map<size_t, ScDPCache> CachesType; + typedef std::vector<ScRange> RangeIndexType; CachesType maCaches; + RangeIndexType maRanges; ScDocument* mpDoc; public: SheetCaches(ScDocument* pDoc); const ScDPCache* getCache(const ScRange& rRange); + + void updateReference( + UpdateRefMode eMode, const ScRange& r, SCsCOL nDx, SCsROW nDy, SCsTAB nDz); + private: void removeCache(const ScRange& rRange); }; |