summaryrefslogtreecommitdiff
path: root/sc/inc/olinetab.hxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-01-12 11:48:56 +0100
committerMichael Stahl <mstahl@redhat.com>2016-01-12 12:22:32 +0100
commit2b396651759db58a96b21b375721d8fefa2ce38e (patch)
treeff86591227c2aba19e8ca18151d503c25f06fb39 /sc/inc/olinetab.hxx
parent2bebf6779024ea0fb1dbac1fe9f10abc9ff128a3 (diff)
sc: replace boost::ptr_map with std::map<std::unique_ptr>
Change-Id: I8301ee6e52c9fc5ae62df662c452e27672612759
Diffstat (limited to 'sc/inc/olinetab.hxx')
-rw-r--r--sc/inc/olinetab.hxx7
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;