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 /animations | |
parent | 86187c3b33583a920860e265790c2bc878e82f8f (diff) |
Migrating to boost unordered containers
Diffstat (limited to 'animations')
-rw-r--r-- | animations/source/animcore/targetpropertiescreator.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/animations/source/animcore/targetpropertiescreator.cxx b/animations/source/animcore/targetpropertiescreator.cxx index 9386ce316e38..58b132aaba75 100644 --- a/animations/source/animcore/targetpropertiescreator.cxx +++ b/animations/source/animcore/targetpropertiescreator.cxx @@ -50,7 +50,7 @@ #include <animations/animationnodehelper.hxx> #include <vector> -#include <hash_map> +#include <boost/unordered_map.hpp> using namespace ::com::sun::star; @@ -142,7 +142,7 @@ namespace animcore */ sal_Int16 mnParagraphIndex; - /// Comparison needed for hash_map + /// Comparison needed for boost::unordered_map bool operator==( const ShapeHashKey& rRHS ) const { return mxRef == rRHS.mxRef && mnParagraphIndex == rRHS.mnParagraphIndex; @@ -150,7 +150,7 @@ namespace animcore }; // A hash map which maps a XShape to the corresponding vector of initial properties - typedef ::std::hash_map< ShapeHashKey, + typedef ::boost::unordered_map< ShapeHashKey, VectorOfNamedValues, ::std::size_t (*)(const ShapeHashKey&) > XShapeHash; |