diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2011-02-05 18:49:26 +0100 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2011-02-06 01:00:47 +0100 |
commit | 7685200dc1f5c6408cda8c89eedf275ca05708fd (patch) | |
tree | 1a0a04d4debcb79ca0a540af78b65f5df56d6841 /crashrep/source/win32 | |
parent | 37823fe2b4474eca6e8a775668af6bca21e2af55 (diff) |
move components to boost unordered containers
Diffstat (limited to 'crashrep/source/win32')
-rw-r--r-- | crashrep/source/win32/soreport.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/crashrep/source/win32/soreport.cpp b/crashrep/source/win32/soreport.cpp index 003055aeea47..4e8db7c20afd 100644 --- a/crashrep/source/win32/soreport.cpp +++ b/crashrep/source/win32/soreport.cpp @@ -70,7 +70,7 @@ #include <io.h> #include <fcntl.h> #include <string> -#include <hash_map> +#include <boost/unordered_map.hpp> #include <winsock.h> #include <malloc.h> #include <process.h> @@ -1700,7 +1700,7 @@ static sal_uInt32 calc_md5_checksum( const char *filename, sal_uInt8 *pChecksum, #endif //*************************************************************************** -static bool WriteStackFile( FILE *fout, hash_map< string, string >& rLibraries, DWORD dwProcessId, PEXCEPTION_POINTERS pExceptionPointers ) +static bool WriteStackFile( FILE *fout, boost::unordered_map< string, string >& rLibraries, DWORD dwProcessId, PEXCEPTION_POINTERS pExceptionPointers ) { bool fSuccess = false; @@ -1823,7 +1823,7 @@ static bool WriteStackFile( FILE *fout, hash_map< string, string >& rLibraries, return fSuccess; } -bool WriteChecksumFile( FILE *fchksum, const hash_map< string, string >& rLibraries ) +bool WriteChecksumFile( FILE *fchksum, const boost::unordered_map< string, string >& rLibraries ) { bool success = false; @@ -1831,7 +1831,7 @@ bool WriteChecksumFile( FILE *fchksum, const hash_map< string, string >& rLibrar { fprintf( fchksum, "<errormail:Checksums type=\"MD5\">\n" ); - hash_map< string, string >::const_iterator iter; + boost::unordered_map< string, string >::const_iterator iter; for ( iter = rLibraries.begin(); iter != rLibraries.end(); @@ -2883,7 +2883,7 @@ int WINAPI _tWinMain( HINSTANCE hInstance, HINSTANCE, LPTSTR /*lpCmdLine*/, int if( bGotDumpFile ) { - hash_map< string, string > aLibraries; + boost::unordered_map< string, string > aLibraries; if ( g_bLoadReport ) { |