summaryrefslogtreecommitdiff
path: root/toolkit/inc/toolkit/controls/stdtabcontrollermodel.hxx
diff options
context:
space:
mode:
authorJoseph Powers <jpowers27@cox.net>2011-02-10 20:26:00 -0800
committerJoseph Powers <jpowers27@cox.net>2011-02-10 20:29:00 -0800
commit19935f3676014b02f6aee6ed133408d1a2fabbe1 (patch)
tree7e3a4d4517a4dd1dcf400a55153a768ed5615604 /toolkit/inc/toolkit/controls/stdtabcontrollermodel.hxx
parentbabb621d4f347c95902f7197d8e9b6f1fa26683f (diff)
Remove DECLARE_LIST( UnoControlModelEntryListBase, UnoControlModelEntry* )
Diffstat (limited to 'toolkit/inc/toolkit/controls/stdtabcontrollermodel.hxx')
-rw-r--r--toolkit/inc/toolkit/controls/stdtabcontrollermodel.hxx12
1 files changed, 9 insertions, 3 deletions
diff --git a/toolkit/inc/toolkit/controls/stdtabcontrollermodel.hxx b/toolkit/inc/toolkit/controls/stdtabcontrollermodel.hxx
index 170e46f838a4..436a8d1d0361 100644
--- a/toolkit/inc/toolkit/controls/stdtabcontrollermodel.hxx
+++ b/toolkit/inc/toolkit/controls/stdtabcontrollermodel.hxx
@@ -43,14 +43,16 @@
#include <tools/list.hxx>
#include <tools/gen.hxx>
+#include <vector>
struct UnoControlModelEntry;
-DECLARE_LIST( UnoControlModelEntryListBase, UnoControlModelEntry* )
+typedef ::std::vector< UnoControlModelEntry* > UnoControlModelEntryListBase;
-class UnoControlModelEntryList : public UnoControlModelEntryListBase
+class UnoControlModelEntryList
{
private:
+ UnoControlModelEntryListBase maList;
::rtl::OUString maGroupName;
public:
@@ -61,7 +63,11 @@ public:
void SetName( const ::rtl::OUString& rName ) { maGroupName = rName; }
void Reset();
- void DestroyEntry( sal_uInt32 nEntry );
+ void DestroyEntry( size_t nEntry );
+ size_t size() const;
+ UnoControlModelEntry* operator[]( size_t i ) const;
+ void push_back( UnoControlModelEntry* item );
+ void insert( size_t i, UnoControlModelEntry* item );
};
struct UnoControlModelEntry