summaryrefslogtreecommitdiffstats
path: root/sw/inc/numrule.hxx
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2011-02-06 00:58:27 +0100
committerFridrich Štrba <fridrich.strba@bluewin.ch>2011-02-06 00:58:27 +0100
commitef0c79d924c5715cfb9adebe9fb1c3a2503d7fef (patch)
tree224eab9425a8b1a504451bdbabcdf356517c3f79 /sw/inc/numrule.hxx
parentfix for bnc#659631 (diff)
downloadcore-ef0c79d924c5715cfb9adebe9fb1c3a2503d7fef.tar.gz
core-ef0c79d924c5715cfb9adebe9fb1c3a2503d7fef.zip
port repository writer to boost unordered containers
Diffstat (limited to 'sw/inc/numrule.hxx')
-rw-r--r--sw/inc/numrule.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/inc/numrule.hxx b/sw/inc/numrule.hxx
index 21fc2abf5a63..4fc80b4e6962 100644
--- a/sw/inc/numrule.hxx
+++ b/sw/inc/numrule.hxx
@@ -39,7 +39,7 @@
#include <errhdl.hxx> // Fuer die inline ASSERT
#include <error.h> // Fuer die inline ASSERT
#include <hints.hxx>
-#include <hash_map>
+#include <boost/unordered_map.hpp>
#include <stringhash.hxx>
class SwNodeNum;
#include <SwNumberTreeTypes.hxx>
@@ -127,8 +127,8 @@ private:
/** container for associated paragraph styles */
tParagraphStyleList maParagraphStyleList;
- /** hash_map containing "name->rule" relation */
- std::hash_map<String, SwNumRule *, StringHash> * pNumRuleMap;
+ /** boost::unordered_map containing "name->rule" relation */
+ boost::unordered_map<String, SwNumRule *, StringHash> * pNumRuleMap;
String sName;
SwNumRuleType eRuleType;
@@ -206,7 +206,7 @@ public:
@param pNumRuleMap map to register in
*/
void SetNumRuleMap(
- std::hash_map<String, SwNumRule *, StringHash>* pNumRuleMap );
+ boost::unordered_map<String, SwNumRule *, StringHash>* pNumRuleMap );
static char* GetOutlineRuleName() { return pDefOutlineName; }