summaryrefslogtreecommitdiff
path: root/formula
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2011-02-05 13:18:52 +0100
committerFridrich Štrba <fridrich.strba@bluewin.ch>2011-02-05 13:18:52 +0100
commit9b64ddded6e9bc4ba06c215f94c9e27def16ffe9 (patch)
tree5ff1ca8273f8a4e678a6cf021e77baf860bf59bd /formula
parent97b0dbbde926d6b22068c3b69468adba98fe941e (diff)
migrate to use boost unordered containers
Diffstat (limited to 'formula')
-rw-r--r--formula/inc/formula/FormulaCompiler.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/formula/inc/formula/FormulaCompiler.hxx b/formula/inc/formula/FormulaCompiler.hxx
index 75a00f3fb7..f5f1e71174 100644
--- a/formula/inc/formula/FormulaCompiler.hxx
+++ b/formula/inc/formula/FormulaCompiler.hxx
@@ -35,7 +35,7 @@
#include <rtl/ustrbuf.hxx>
#include <boost/shared_ptr.hpp>
-#include <hash_map>
+#include <boost/unordered_map.hpp>
#include <com/sun/star/uno/Sequence.hxx>
@@ -77,8 +77,8 @@ struct FORMULA_DLLPUBLIC StringHashCode
}
};
-typedef ::std::hash_map< String, OpCode, StringHashCode, ::std::equal_to< String > > OpCodeHashMap;
-typedef ::std::hash_map< String, String, StringHashCode, ::std::equal_to< String > > ExternalHashMap;
+typedef ::boost::unordered_map< String, OpCode, StringHashCode, ::std::equal_to< String > > OpCodeHashMap;
+typedef ::boost::unordered_map< String, String, StringHashCode, ::std::equal_to< String > > ExternalHashMap;
class FORMULA_DLLPUBLIC FormulaCompiler
{