diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2011-02-06 14:45:40 +0100 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2011-02-06 14:45:40 +0100 |
commit | 110c79cd4c42d5942fa8144db3e66998b575ece3 (patch) | |
tree | 00cdf9afa1e53149c632e2c9076ac8daf96f73f4 /oox/source | |
parent | a51a98a670dc317832baa144dbe67e3232fd144e (diff) |
use boost::hash instead of std::hash
Diffstat (limited to 'oox/source')
-rw-r--r-- | oox/source/export/shapes.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/oox/source/export/shapes.cxx b/oox/source/export/shapes.cxx index 9c3a56457a3f..3d46dc1a8a5e 100644 --- a/oox/source/export/shapes.cxx +++ b/oox/source/export/shapes.cxx @@ -326,7 +326,7 @@ struct StringCheck } }; -typedef boost::unordered_map< const char*, const char*, std::hash<const char*>, StringCheck> CustomShapeTypeTranslationHashMap; +typedef boost::unordered_map< const char*, const char*, boost::hash<const char*>, StringCheck> CustomShapeTypeTranslationHashMap; static CustomShapeTypeTranslationHashMap* pCustomShapeTypeTranslationHashMap = NULL; static const char* lcl_GetPresetGeometry( const char* sShapeType ) @@ -869,7 +869,7 @@ ShapeExport& ShapeExport::WriteRectangleShape( Reference< XShape > xShape ) } typedef ShapeExport& (ShapeExport::*ShapeConverter)( Reference< XShape > ); -typedef boost::unordered_map< const char*, ShapeConverter, std::hash<const char*>, StringCheck> NameToConvertMapType; +typedef boost::unordered_map< const char*, ShapeConverter, boost::hash<const char*>, StringCheck> NameToConvertMapType; static const NameToConvertMapType& lcl_GetConverters() { |