diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2011-02-05 21:40:28 +0100 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2011-02-05 21:40:28 +0100 |
commit | 8851524e49922cd64d387015cdcc9aa4fcede151 (patch) | |
tree | e722aee2cfb903653d6616ce38d1f0ecb9c26011 /sd/source/ui/view/ViewShellManager.cxx | |
parent | 86187c3b33583a920860e265790c2bc878e82f8f (diff) |
Migrating to boost unordered containers
Diffstat (limited to 'sd/source/ui/view/ViewShellManager.cxx')
-rw-r--r-- | sd/source/ui/view/ViewShellManager.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/view/ViewShellManager.cxx b/sd/source/ui/view/ViewShellManager.cxx index 255148e96851..cdedb01ee7e0 100644 --- a/sd/source/ui/view/ViewShellManager.cxx +++ b/sd/source/ui/view/ViewShellManager.cxx @@ -40,7 +40,7 @@ #include <svx/svxids.hrc> #include <svx/fmshell.hxx> -#include <hash_map> +#include <boost/unordered_map.hpp> #include <iterator> #undef VERBOSE @@ -177,7 +177,7 @@ private: mutable ::osl::Mutex maMutex; class ShellHash{public: size_t operator()(const SfxShell* p) const { return (size_t)p;} }; - typedef ::std::hash_multimap<const SfxShell*,SharedShellFactory,ShellHash> + typedef ::boost::unordered_multimap<const SfxShell*,SharedShellFactory,ShellHash> FactoryList; FactoryList maShellFactories; @@ -189,7 +189,7 @@ private: ActiveShellList maActiveViewShells; typedef ::std::list<ShellDescriptor> SubShellSubList; - typedef ::std::hash_map<const SfxShell*,SubShellSubList,ShellHash> SubShellList; + typedef ::boost::unordered_map<const SfxShell*,SubShellSubList,ShellHash> SubShellList; SubShellList maActiveSubShells; /** In this member we remember what shells we have pushed on the shell |