diff options
author | Michael Stahl <mstahl@redhat.com> | 2016-01-12 11:51:52 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-01-12 12:22:34 +0100 |
commit | e10f7dd302a0cd42cc6fce3972f32bfb7aa33349 (patch) | |
tree | 879b769cfdad15c60863e514c974e00e1a808cd3 /sc/source/ui/inc/undobase.hxx | |
parent | 9ec53cce39f8b337cf6f4b9dd381d1e7ff7b02a2 (diff) |
sc: replace boost::ptr_map with std::map<std::unique_ptr>
Change-Id: I2fbce996afcd7d1dabd7c540272d8877d034cf14
Diffstat (limited to 'sc/source/ui/inc/undobase.hxx')
-rw-r--r-- | sc/source/ui/inc/undobase.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sc/source/ui/inc/undobase.hxx b/sc/source/ui/inc/undobase.hxx index f501f5b305b5..b81af2091f3b 100644 --- a/sc/source/ui/inc/undobase.hxx +++ b/sc/source/ui/inc/undobase.hxx @@ -26,7 +26,8 @@ #include "docsh.hxx" #include <columnspanset.hxx> -#include <boost/ptr_container/ptr_map.hpp> +#include <memory> +#include <map> class ScDocument; class ScDocShell; @@ -39,7 +40,7 @@ class ScSimpleUndo: public SfxUndoAction ScSimpleUndo(const ScSimpleUndo&) = delete; public: - typedef boost::ptr_map<SCTAB,sc::ColumnSpanSet> DataSpansType; + typedef std::map<SCTAB, std::unique_ptr<sc::ColumnSpanSet>> DataSpansType; ScSimpleUndo( ScDocShell* pDocSh ); virtual ~ScSimpleUndo(); |