diff options
author | Kohei Yoshida <kyoshida@novell.com> | 2011-03-15 14:50:20 -0400 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2011-03-15 23:51:41 -0400 |
commit | 3098641cba6f749f3be091fd70af483aa709f25b (patch) | |
tree | 426f2951e206997c11e523ab83764b124408e79f /sc/inc/rangenam.hxx | |
parent | 225b3351763112756a7fa373230d1bee1f96a6a6 (diff) |
Added skeleton for undo of all range names, global and local.
Diffstat (limited to 'sc/inc/rangenam.hxx')
-rw-r--r-- | sc/inc/rangenam.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sc/inc/rangenam.hxx b/sc/inc/rangenam.hxx index a68404cbca8f..8b9c639fcd04 100644 --- a/sc/inc/rangenam.hxx +++ b/sc/inc/rangenam.hxx @@ -37,6 +37,7 @@ #include <map> #include <boost/ptr_container/ptr_set.hpp> +#include <boost/ptr_container/ptr_map.hpp> //------------------------------------------------------------------------ @@ -184,6 +185,11 @@ private: ScDocument* mpDoc; sal_uInt16 mnSharedMaxIndex; public: + /// Map that manages stored ScRangeName instances. + typedef ::boost::ptr_map<SCTAB, ScRangeName> TabNameMap; + /// Map that stores non-managed pointers to ScRangeName instances. + typedef ::std::map<SCTAB, const ScRangeName*> TabNameCopyMap; + typedef DataType::const_iterator const_iterator; typedef DataType::iterator iterator; |