summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/namemgrtable.hxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-11-02 18:38:48 +0100
committerMichael Stahl <mstahl@redhat.com>2015-11-02 21:11:43 +0100
commitf462cd39b990929bc71615f7f04d561d64c1039d (patch)
treef3a713fe4746846ccb4e2fe3ce3fc6c86d03e2f5 /sc/source/ui/inc/namemgrtable.hxx
parent9939a89c1e39e5c350600b6bea795743ddb780fb (diff)
sc: replace boost::ptr_vector with std::vector<std::unique_ptr>
Change-Id: I51d87693bdb3d57c36d8cafb851fdad10cd93589
Diffstat (limited to 'sc/source/ui/inc/namemgrtable.hxx')
-rw-r--r--sc/source/ui/inc/namemgrtable.hxx9
1 files changed, 6 insertions, 3 deletions
diff --git a/sc/source/ui/inc/namemgrtable.hxx b/sc/source/ui/inc/namemgrtable.hxx
index aec3cb2e4240..9d5f4e1958cd 100644
--- a/sc/source/ui/inc/namemgrtable.hxx
+++ b/sc/source/ui/inc/namemgrtable.hxx
@@ -16,8 +16,9 @@
#include "scresid.hxx"
#include "address.hxx"
+#include <memory>
#include <vector>
-#include <boost/ptr_container/ptr_map.hpp>
+#include <map>
class ScRangeName;
class ScRangeData;
@@ -47,7 +48,7 @@ private:
OUString maGlobalString;
// should be const because we should not modify it here
- const boost::ptr_map<OUString, ScRangeName>& mrRangeMap;
+ const std::map<OUString, std::unique_ptr<ScRangeName>>& m_RangeMap;
// for performance, save which entries already have the formula entry
// otherwise opening the dialog with a lot of range names is extremelly slow because
// we would calculate all formula strings during opening
@@ -64,7 +65,9 @@ private:
void setColWidths();
public:
- ScRangeManagerTable( SvSimpleTableContainer& rParent, boost::ptr_map<OUString, ScRangeName>& aTabRangeNames, const ScAddress& rPos );
+ ScRangeManagerTable(SvSimpleTableContainer& rParent,
+ std::map<OUString, std::unique_ptr<ScRangeName>>& rTabRangeNames,
+ const ScAddress& rPos);
virtual ~ScRangeManagerTable();
virtual void dispose() override;