diff options
author | Michael Stahl <mstahl@redhat.com> | 2016-01-12 11:48:56 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-01-12 12:22:32 +0100 |
commit | 2b396651759db58a96b21b375721d8fefa2ce38e (patch) | |
tree | ff86591227c2aba19e8ca18151d503c25f06fb39 /sc/inc | |
parent | 2bebf6779024ea0fb1dbac1fe9f10abc9ff128a3 (diff) |
sc: replace boost::ptr_map with std::map<std::unique_ptr>
Change-Id: I8301ee6e52c9fc5ae62df662c452e27672612759
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/olinetab.hxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sc/inc/olinetab.hxx b/sc/inc/olinetab.hxx index c46871ad6740..a6038ff65453 100644 --- a/sc/inc/olinetab.hxx +++ b/sc/inc/olinetab.hxx @@ -23,7 +23,8 @@ #include "scdllapi.h" #include "address.hxx" -#include <boost/ptr_container/ptr_map.hpp> +#include <memory> +#include <map> #define SC_OL_MAXDEPTH 7 @@ -63,7 +64,7 @@ public: class ScOutlineCollection { - typedef boost::ptr_map<SCCOLROW, ScOutlineEntry> MapType; + typedef std::map<SCCOLROW, std::unique_ptr<ScOutlineEntry>> MapType; MapType maEntries; public: @@ -74,7 +75,7 @@ public: size_t size() const; void clear(); - void insert(ScOutlineEntry* pEntry); + void insert(std::unique_ptr<ScOutlineEntry> pEntry); iterator begin(); iterator end(); const_iterator begin() const; |