boost::hash (and I think std::hash in c++0x at least) with
hash<const char*>(str) will hash the *pointer* str, not the
contents of str.

Which is why fontwork disappeared recently for me. So I've now greped
for and fixed any hash with a char* and fixed them to use
rtl_str_hashCode which does a hash on the contents.

C.

_______________________________________________
LibreOffice mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to