From df3ed9c8432359f6d539e2e4a1819dc68d885fdf Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Thu, 5 Nov 2015 22:59:20 +0100 Subject: sc: replace boost::ptr_map with std::map Change-Id: Id4f24d8aa3db4e569f3eafa6d4ab32b0a95bf3c9 --- sc/inc/rangenam.hxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sc/inc') diff --git a/sc/inc/rangenam.hxx b/sc/inc/rangenam.hxx index 812af42c5744..426329a1818f 100644 --- a/sc/inc/rangenam.hxx +++ b/sc/inc/rangenam.hxx @@ -26,9 +26,9 @@ #include "scdllapi.h" #include "calcmacros.hxx" +#include #include #include -#include class ScDocument; class ScTokenArray; @@ -170,8 +170,8 @@ class ScRangeName { private: typedef std::vector IndexDataType; - typedef ::boost::ptr_map DataType; - DataType maData; + typedef ::std::map> DataType; + DataType m_Data; IndexDataType maIndexToData; public: @@ -208,7 +208,7 @@ public: bool empty() const; /** Insert object into set. - @ATTENTION: The underlying ::boost::ptr_map_adapter::insert(p) takes + @ATTENTION: The underlying ::std::map::insert(p) takes ownership of p and if it can't insert it deletes the object! So, if this insert here returns false the object where p pointed to is gone! */ -- cgit