summaryrefslogtreecommitdiff
path: root/sw/inc/dbgoutsw.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/dbgoutsw.hxx
parent848b1a05c5c41b5e7ff19c984f60c297a8143990 (diff)
port repository writer to boost unordered containers
Diffstat (limited to 'sw/inc/dbgoutsw.hxx')
-rw-r--r--sw/inc/dbgoutsw.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/inc/dbgoutsw.hxx b/sw/inc/dbgoutsw.hxx
index db18da0216ef..3b98f9472789 100644
--- a/sw/inc/dbgoutsw.hxx
+++ b/sw/inc/dbgoutsw.hxx
@@ -30,7 +30,7 @@
#ifdef DEBUG
-#include <hash_map>
+#include <boost/unordered_map.hpp>
#include <tox.hxx>
class String;
@@ -95,11 +95,11 @@ SW_DLLPUBLIC const char * dbg_out(const SwNumRuleTbl & rTbl);
SW_DLLPUBLIC const char * dbg_out(const SwNodeRange & rRange);
template<typename tKey, typename tMember, typename fHashFunction>
-String lcl_dbg_out(const std::hash_map<tKey, tMember, fHashFunction> & rMap)
+String lcl_dbg_out(const boost::unordered_map<tKey, tMember, fHashFunction> & rMap)
{
String aResult("[", RTL_TEXTENCODING_ASCII_US);
- typename std::hash_map<tKey, tMember, fHashFunction>::const_iterator aIt;
+ typename boost::unordered_map<tKey, tMember, fHashFunction>::const_iterator aIt;
for (aIt = rMap.begin(); aIt != rMap.end(); aIt++)
{
@@ -119,7 +119,7 @@ String lcl_dbg_out(const std::hash_map<tKey, tMember, fHashFunction> & rMap)
}
template<typename tKey, typename tMember, typename fHashFunction>
-const char * dbg_out(const std::hash_map<tKey, tMember, fHashFunction> & rMap)
+const char * dbg_out(const boost::unordered_map<tKey, tMember, fHashFunction> & rMap)
{
return dbg_out(lcl_dbg_out(rMap));
}