summaryrefslogtreecommitdiff
path: root/sc/inc/dpobject.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/inc/dpobject.hxx')
-rw-r--r--sc/inc/dpobject.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/sc/inc/dpobject.hxx b/sc/inc/dpobject.hxx
index c31031bad4fb..646817e350dc 100644
--- a/sc/inc/dpobject.hxx
+++ b/sc/inc/dpobject.hxx
@@ -33,6 +33,7 @@
#include <memory>
#include <set>
#include <vector>
+#include <map>
#include <boost/ptr_container/ptr_map.hpp>
@@ -267,9 +268,9 @@ public:
class SheetCaches
{
friend class ScDPCollection;
- typedef boost::ptr_map<size_t, ScDPCache> CachesType;
+ typedef std::map<size_t, std::unique_ptr<ScDPCache>> CachesType;
typedef std::vector<ScRange> RangeIndexType;
- CachesType maCaches;
+ CachesType m_Caches;
RangeIndexType maRanges;
ScDocument* mpDoc;
public: