summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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() );
}
};