summaryrefslogtreecommitdiff
path: root/l10ntools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-12-30 20:49:53 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-12-30 20:49:53 +0000
commitd9518cb445ff9656ea704a9c0fccb43946e48d37 (patch)
tree69a6d1d32e54b2068e152746259d90aeac660458 /l10ntools
parente6dc7e718e8128a345ec99e2f36727ae480cefdc (diff)
that hash isn't guaranteed to do what you want it to do
Diffstat (limited to 'l10ntools')
-rw-r--r--l10ntools/inc/export.hxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/l10ntools/inc/export.hxx b/l10ntools/inc/export.hxx
index 887ce700f9fc..e9f396f5d9c2 100644
--- a/l10ntools/inc/export.hxx
+++ b/l10ntools/inc/export.hxx
@@ -80,8 +80,7 @@ struct lessByteString{
struct hashByteString{
size_t operator()( const ByteString& rName ) const{
- std::hash< const char* > myHash;
- return myHash( rName.GetBuffer() );
+ return rtl_str_hashCode_WithLength(rName.GetBuffer(), rName.Len() );
}
};