diff options
Diffstat (limited to 'idl/inc/hash.hxx')
-rw-r--r-- | idl/inc/hash.hxx | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/idl/inc/hash.hxx b/idl/inc/hash.hxx index 3c2921750e..1518e6f172 100644 --- a/idl/inc/hash.hxx +++ b/idl/inc/hash.hxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -28,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 @@ -98,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; @@ -123,3 +123,5 @@ public: }; #endif // _RSCHASH_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |