summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-12-09 14:00:31 +0100
committerMichael Stahl <mstahl@redhat.com>2015-12-15 17:44:34 +0100
commit7086ed59512f359bc62963202a08d41e2e5ceccb (patch)
tree532e74d4b14ada25522d2995a14f30bb182213d7 /sc/inc
parent14a0115b9580d541971440c085220328c5aed92e (diff)
sc: replace boost::ptr_map with std::map<std::unique_ptr>
Change-Id: I800f8d4facaa6dc8eb04b2544ce0e9035af66442
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/callform.hxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/sc/inc/callform.hxx b/sc/inc/callform.hxx
index a883ec518f01..584c1d17634b 100644
--- a/sc/inc/callform.hxx
+++ b/sc/inc/callform.hxx
@@ -22,7 +22,8 @@
#include <rtl/ustring.hxx>
-#include <boost/ptr_container/ptr_map.hpp>
+#include <memory>
+#include <map>
#define MAXFUNCPARAM 16
#define MAXARRSIZE 0xfffe
@@ -86,8 +87,9 @@ public:
class LegacyFuncCollection
{
- typedef boost::ptr_map<OUString, LegacyFuncData> MapType;
- MapType maData;
+ typedef std::map<OUString, std::unique_ptr<LegacyFuncData>> MapType;
+ MapType m_Data;
+
public:
typedef MapType::const_iterator const_iterator;