From 8851524e49922cd64d387015cdcc9aa4fcede151 Mon Sep 17 00:00:00 2001 From: Fridrich Štrba Date: Sat, 5 Feb 2011 21:40:28 +0100 Subject: Migrating to boost unordered containers --- sd/inc/CustomAnimationPreset.hxx | 8 ++++---- sd/inc/TransitionPreset.hxx | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'sd/inc') diff --git a/sd/inc/CustomAnimationPreset.hxx b/sd/inc/CustomAnimationPreset.hxx index 2105589991f9..b350a7f81c91 100644 --- a/sd/inc/CustomAnimationPreset.hxx +++ b/sd/inc/CustomAnimationPreset.hxx @@ -36,12 +36,12 @@ #include #include -#include +#include namespace sd { -typedef std::hash_map< rtl::OUString, CustomAnimationEffectPtr, comphelper::UStringHash, comphelper::UStringEqual > EffectsSubTypeMap; -typedef std::hash_map< rtl::OUString, rtl::OUString, comphelper::UStringHash, comphelper::UStringEqual > UStringMap; +typedef boost::unordered_map< rtl::OUString, CustomAnimationEffectPtr, comphelper::UStringHash, comphelper::UStringEqual > EffectsSubTypeMap; +typedef boost::unordered_map< rtl::OUString, rtl::OUString, comphelper::UStringHash, comphelper::UStringEqual > UStringMap; typedef std::vector< rtl::OUString > UStringList; class CustomAnimationPreset @@ -80,7 +80,7 @@ private: }; typedef boost::shared_ptr< CustomAnimationPreset > CustomAnimationPresetPtr; -typedef std::hash_map EffectDescriptorMap; +typedef boost::unordered_map EffectDescriptorMap; typedef std::vector< CustomAnimationPresetPtr > EffectDescriptorList; struct PresetCategory diff --git a/sd/inc/TransitionPreset.hxx b/sd/inc/TransitionPreset.hxx index 51d909ebe57f..56570b0161c4 100644 --- a/sd/inc/TransitionPreset.hxx +++ b/sd/inc/TransitionPreset.hxx @@ -35,7 +35,7 @@ #include #include -#include +#include namespace com { namespace sun { namespace star { namespace animations { class XAnimationNode; } @@ -50,7 +50,7 @@ namespace sd { class TransitionPreset; typedef boost::shared_ptr< TransitionPreset > TransitionPresetPtr; typedef std::list< TransitionPresetPtr > TransitionPresetList; -typedef std::hash_map< rtl::OUString, rtl::OUString, comphelper::UStringHash, comphelper::UStringEqual > UStringMap; +typedef boost::unordered_map< rtl::OUString, rtl::OUString, comphelper::UStringHash, comphelper::UStringEqual > UStringMap; class TransitionPreset { -- cgit