diff options
author | Joseph Powers <jpowers27@cox.net> | 2011-02-20 20:13:57 -0800 |
---|---|---|
committer | Joseph Powers <jpowers27@cox.net> | 2011-02-20 20:13:57 -0800 |
commit | f8831277031743e2d6b0d6cf6bd9e13bc9293b8b (patch) | |
tree | 3dcdf574103d0b2a523a1932f01c30067a411ef5 /sw/source/ui/inc | |
parent | 3a918a2aef4bc4c492fc0e51ea3af0aaea38574b (diff) |
Convert std::vector to boost::ptr_vector.
Diffstat (limited to 'sw/source/ui/inc')
-rw-r--r-- | sw/source/ui/inc/swuicnttab.hxx | 37 |
1 files changed, 18 insertions, 19 deletions
diff --git a/sw/source/ui/inc/swuicnttab.hxx b/sw/source/ui/inc/swuicnttab.hxx index d81d2995aeb4..f0c678fe2afc 100644 --- a/sw/source/ui/inc/swuicnttab.hxx +++ b/sw/source/ui/inc/swuicnttab.hxx @@ -28,27 +28,25 @@ #ifndef _SWUI_CNTTAB_HXX #define _SWUI_CNTTAB_HXX -#include <svx/stddlg.hxx> +#include <boost/ptr_container/ptr_vector.hpp> +#include <tools/resary.hxx> +#include <sfx2/tabdlg.hxx> +#include <svtools/svtreebx.hxx> +#include <svx/checklbx.hxx> +#include <svx/langbox.hxx> +#include <svx/stddlg.hxx> #include <vcl/button.hxx> - #include <vcl/edit.hxx> - -#include <vcl/fixed.hxx> - #include <vcl/field.hxx> +#include <vcl/fixed.hxx> #include <vcl/lstbox.hxx> -#include <sfx2/tabdlg.hxx> - -#include "tox.hxx" -#include <toxmgr.hxx> -#include <svx/checklbx.hxx> -#include <tools/resary.hxx> -#include <svtools/svtreebx.hxx> #include <vcl/menubtn.hxx> -#include <svx/langbox.hxx> + #include <cnttab.hxx> -#include <vector> +#include <toxmgr.hxx> + +#include "tox.hxx" class SwWrtShell; class SwTOXMgr; @@ -259,15 +257,16 @@ class SwTOXEntryTabPage; class SwTokenWindow : public Window { - typedef std::vector<Control*>::iterator ctrl_iterator; - typedef std::vector<Control*>::const_iterator ctrl_const_iterator; - typedef std::vector<Control*>::reverse_iterator ctrl_reverse_iterator; - typedef std::vector<Control*>::const_reverse_iterator ctrl_const_reverse_iterator; + typedef boost::ptr_vector<Control> TOXControlList; + typedef TOXControlList::iterator ctrl_iterator; + typedef TOXControlList::const_iterator ctrl_const_iterator; + typedef TOXControlList::reverse_iterator ctrl_reverse_iterator; + typedef TOXControlList::const_reverse_iterator ctrl_const_reverse_iterator; ImageButton aLeftScrollWin; Window aCtrlParentWin; ImageButton aRightScrollWin; - std::vector<Control*> aControlList; + TOXControlList aControlList; SwForm* pForm; USHORT nLevel; BOOL bValid; |