summaryrefslogtreecommitdiff
path: root/idl/inc
diff options
context:
space:
mode:
authorJoseph Powers <jpowers27@cox.net>2010-12-28 21:50:36 -0800
committerJoseph Powers <jpowers27@cox.net>2010-12-31 06:57:20 -0800
commit0e5c03764b8433cc0454aaa0058eef5e1e063031 (patch)
tree31e90689273c61ee58427615ca51a0829641ae73 /idl/inc
parent3d23bcf8ae7645cd9752cbb66fb046e4b0913107 (diff)
Remove DECLARE_LIST(SvStringHashList,SvStringHashEntry *)
Diffstat (limited to 'idl/inc')
-rw-r--r--idl/inc/hash.hxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/idl/inc/hash.hxx b/idl/inc/hash.hxx
index 340b00c63522..8f13536265ce 100644
--- a/idl/inc/hash.hxx
+++ b/idl/inc/hash.hxx
@@ -29,10 +29,9 @@
#ifndef _HASH_HXX
#define _HASH_HXX
-
-
#include <tools/ref.hxx>
#include <tools/string.hxx>
+#include <vector>
/****************** H a s h - T a b l e **********************************/
class SvHashTable
@@ -99,11 +98,11 @@ public:
SV_DECL_IMPL_REF(SvStringHashEntry)
/****************** S t r i n g H a s h T a b l e ************************/
-DECLARE_LIST(SvStringHashList,SvStringHashEntry *)
+typedef ::std::vector< SvStringHashEntry* > SvStringHashList;
class SvStringHashTable : public SvHashTable
{
- SvStringHashEntry * pEntries;
+ SvStringHashEntry* pEntries;
protected:
virtual UINT32 HashFunc( const void * pElement ) const;
virtual StringCompare Compare( const void * pElement, UINT32 nIndex ) const;