summaryrefslogtreecommitdiff
path: root/sc/inc/autoform.hxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-12-09 13:43:27 +0100
committerMichael Stahl <mstahl@redhat.com>2015-12-15 17:44:34 +0100
commit14a0115b9580d541971440c085220328c5aed92e (patch)
tree7cf57e642c2dfd5aa70acd5d4955a1a409a8f410 /sc/inc/autoform.hxx
parent27f5679c84602713e74c947d88e72cfafc02fbc8 (diff)
sc: replace boost::ptr_map with std::map<std::unique_ptr>
Change-Id: I311d3a3e35ae4321e92e1fe2e0651b3b4899c0bd
Diffstat (limited to 'sc/inc/autoform.hxx')
-rw-r--r--sc/inc/autoform.hxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/sc/inc/autoform.hxx b/sc/inc/autoform.hxx
index a290aca170a8..9a03d91c213c 100644
--- a/sc/inc/autoform.hxx
+++ b/sc/inc/autoform.hxx
@@ -59,7 +59,9 @@
#include "zforauto.hxx"
#include <boost/noncopyable.hpp>
-#include <boost/ptr_container/ptr_map.hpp>
+
+#include <memory>
+#include <map>
/**
A binary blob of writer-specific data. This data typically consists of types that are
@@ -313,8 +315,8 @@ struct DefaultFirstEntry {
class SC_DLLPUBLIC ScAutoFormat
{
- typedef boost::ptr_map<OUString, ScAutoFormatData, DefaultFirstEntry> MapType;
- MapType maData;
+ typedef std::map<OUString, std::unique_ptr<ScAutoFormatData>, DefaultFirstEntry> MapType;
+ MapType m_Data;
bool mbSaveLater;
ScAfVersions m_aVersions;