diff options
author | Joseph Powers <jpowers27@cox.net> | 2010-12-28 21:50:36 -0800 |
---|---|---|
committer | Joseph Powers <jpowers27@cox.net> | 2010-12-31 06:57:20 -0800 |
commit | 0e5c03764b8433cc0454aaa0058eef5e1e063031 (patch) | |
tree | 31e90689273c61ee58427615ca51a0829641ae73 /idl/source/cmptools | |
parent | 3d23bcf8ae7645cd9752cbb66fb046e4b0913107 (diff) |
Remove DECLARE_LIST(SvStringHashList,SvStringHashEntry *)
Diffstat (limited to 'idl/source/cmptools')
-rw-r--r-- | idl/source/cmptools/hash.cxx | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/idl/source/cmptools/hash.cxx b/idl/source/cmptools/hash.cxx index f03e8e1133bb..b8a6d0464fa1 100644 --- a/idl/source/cmptools/hash.cxx +++ b/idl/source/cmptools/hash.cxx @@ -101,9 +101,6 @@ BOOL SvHashTable::Test_Insert( const void * pElement, BOOL bInsert, nHash = HashFunc( pElement ); nIndex = nHash % nMax; -// const char* s = ((ByteString*) pElement)->GetStr(); -// fprintf(stderr,"### Hash: %lu , Name: %s\n",nIndex,s ); - nLoop = 0; // divide to range while( (nMax != nLoop) && IsEntry( nIndex ) ) { // is place occupied @@ -180,14 +177,7 @@ SvStringHashTable::~SvStringHashTable() } #endif -#ifdef MPW - // der MPW-Compiler ruft sonst keine Dtoren! - for ( USHORT n = 0; n < GetMax(); ++n ) - (pEntries+n)->SvStringHashEntry::~SvStringHashEntry(); - delete (void*) pEntries; -#else delete [] pEntries; -#endif } /************************************************************************* @@ -326,7 +316,7 @@ void SvStringHashTable::FillHashList( SvStringHashList * pList ) const for( UINT32 n = 0; n < GetMax(); n++ ) { if( IsEntry( n ) ) - pList->Insert( Get( n ), LIST_APPEND ); + pList->push_back( Get( n ) ); } // Hash Reihenfolge, jetzt sortieren } |