From f462cd39b990929bc71615f7f04d561d64c1039d Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Mon, 2 Nov 2015 18:38:48 +0100 Subject: sc: replace boost::ptr_vector with std::vector Change-Id: I51d87693bdb3d57c36d8cafb851fdad10cd93589 --- sc/source/ui/inc/namemgrtable.hxx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'sc/source/ui/inc/namemgrtable.hxx') 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 #include -#include +#include 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& mrRangeMap; + const std::map>& 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& aTabRangeNames, const ScAddress& rPos ); + ScRangeManagerTable(SvSimpleTableContainer& rParent, + std::map>& rTabRangeNames, + const ScAddress& rPos); virtual ~ScRangeManagerTable(); virtual void dispose() override; -- cgit