diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-09-27 00:43:47 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-09-27 13:45:20 -0400 |
commit | f930a02c4b6bfd19da7ae18264eca066117541db (patch) | |
tree | bf29490124b30abcd37331072b9aa5be90bc08cf /svtools | |
parent | ae99d0ce6081d54373b06c618c64567fa03ba028 (diff) |
Let's use std::vector directly.
Change-Id: Ie725c554d0ec8b3b505212d47c76b70e6ecdddd5
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/inc/svtools/treelist.hxx | 8 | ||||
-rw-r--r-- | svtools/source/contnr/treelist.cxx | 2 |
2 files changed, 3 insertions, 7 deletions
diff --git a/svtools/inc/svtools/treelist.hxx b/svtools/inc/svtools/treelist.hxx index b43110af0654..ed1761fba55e 100644 --- a/svtools/inc/svtools/treelist.hxx +++ b/svtools/inc/svtools/treelist.hxx @@ -63,15 +63,11 @@ class SvListEntry; -//============================================================================= - -typedef ::std::vector< SvListEntry* > SvTreeEntryList_impl; - class SVT_DLLPUBLIC SvTreeEntryList { private: - SvTreeEntryList_impl maEntryList; - size_t maCurrent; + std::vector<SvListEntry*> maEntryList; + size_t maCurrent; public: SvTreeEntryList(); diff --git a/svtools/source/contnr/treelist.cxx b/svtools/source/contnr/treelist.cxx index 0d8087917f30..d832f475406b 100644 --- a/svtools/source/contnr/treelist.cxx +++ b/svtools/source/contnr/treelist.cxx @@ -52,7 +52,7 @@ void SvTreeEntryList::insert( SvListEntry* pItem, size_t i ) void SvTreeEntryList::remove( SvListEntry* pItem ) { - for (SvTreeEntryList_impl::iterator it = maEntryList.begin(); it != maEntryList.end(); ++it) + for (std::vector<SvListEntry*>::iterator it = maEntryList.begin(); it != maEntryList.end(); ++it) { if ( *it == pItem ) { |