summaryrefslogtreecommitdiff
path: root/idl
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 09:40:18 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 09:40:18 +0000
commit2c5ac94737a1e3b0b0c0af2fcffe37c3555828d2 (patch)
tree4121bf314b95c7beb025efcc4aa4f30d0a2f1f73 /idl
parentc957572a2d456b860dffb1a9e38cdcb981af0df7 (diff)
INTEGRATION: CWS warnings01 (1.3.8); FILE MERGED
2005/10/14 11:27:19 sb 1.3.8.1: #i53898# Made code warning-free.
Diffstat (limited to 'idl')
-rw-r--r--idl/inc/hash.hxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/idl/inc/hash.hxx b/idl/inc/hash.hxx
index 09196241b8ea..6fe38784abb9 100644
--- a/idl/inc/hash.hxx
+++ b/idl/inc/hash.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: hash.hxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: rt $ $Date: 2005-09-07 17:46:02 $
+ * last change: $Author: hr $ $Date: 2006-06-19 10:40:18 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -62,7 +62,7 @@ protected:
virtual UINT32 HashFunc( const void * ) const = 0;
public:
SvHashTable( UINT32 nMaxEntries );
- ~SvHashTable();
+ virtual ~SvHashTable();
UINT32 GetMax() const { return nMax; }
@@ -83,8 +83,8 @@ public:
SvStringHashEntry( const ByteString & rName, UINT32 nIdx )
: aName( rName )
, nHashId( nIdx )
- , bHasId( TRUE )
- , nValue( 0 ) {}
+ , nValue( 0 )
+ , bHasId( TRUE ) {}
~SvStringHashEntry();
const ByteString & GetName() const { return aName; }
@@ -121,7 +121,7 @@ protected:
virtual StringCompare Compare( const void * pElement, UINT32 nIndex ) const;
public:
SvStringHashTable( UINT32 nMaxEntries ); // max size of hash-tabel
- ~SvStringHashTable();
+ virtual ~SvStringHashTable();
ByteString GetNearString( const ByteString & rName ) const;
virtual BOOL IsEntry( UINT32 nIndex ) const;