summaryrefslogtreecommitdiff
path: root/dbaccess/source
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2011-02-05 18:31:11 +0100
committerFridrich Štrba <fridrich.strba@bluewin.ch>2011-02-05 18:31:11 +0100
commit57e8c3fdd47942aee563340b642e817384f8abd6 (patch)
treebfcfa4541656144142e2022945e3b2e6460b6f43 /dbaccess/source
parentcde6136f581c81bc0d94a354fd741e01609fd8d5 (diff)
move to unordered containers
Diffstat (limited to 'dbaccess/source')
-rw-r--r--dbaccess/source/core/inc/column.hxx4
-rw-r--r--dbaccess/source/core/recovery/subcomponents.hxx4
-rw-r--r--dbaccess/source/ui/app/subcomponentmanager.cxx1
-rw-r--r--dbaccess/source/ui/browser/genericcontroller.cxx4
4 files changed, 6 insertions, 7 deletions
diff --git a/dbaccess/source/core/inc/column.hxx b/dbaccess/source/core/inc/column.hxx
index a65e967cc4c4..b6e533a81a35 100644
--- a/dbaccess/source/core/inc/column.hxx
+++ b/dbaccess/source/core/inc/column.hxx
@@ -62,7 +62,7 @@
#include <cppuhelper/propshlp.hxx>
#include <osl/diagnose.h>
-#include <hash_map>
+#include <boost/unordered_map.hpp>
namespace dbaccess
{
@@ -157,7 +157,7 @@ namespace dbaccess
//= general columns map, could be used for readonly access
//= no appending and dropping is supported
//============================================================
- typedef ::std::hash_map<rtl::OUString, OColumn*, ::comphelper::UStringMixHash, ::comphelper::UStringMixEqual> OColumnMap;
+ typedef ::boost::unordered_map<rtl::OUString, OColumn*, ::comphelper::UStringMixHash, ::comphelper::UStringMixEqual> OColumnMap;
typedef ::std::vector<OColumn*> OColumnArray;
class OContainerMediator;
diff --git a/dbaccess/source/core/recovery/subcomponents.hxx b/dbaccess/source/core/recovery/subcomponents.hxx
index 75dd161c09a9..28e751d0693c 100644
--- a/dbaccess/source/core/recovery/subcomponents.hxx
+++ b/dbaccess/source/core/recovery/subcomponents.hxx
@@ -35,7 +35,7 @@
#include <rtl/ustring.hxx>
-#include <hash_map>
+#include <boost/unordered_map.hpp>
#include <map>
//........................................................................
@@ -78,7 +78,7 @@ namespace dbaccess
};
// -------------------------------------------------------------------
- typedef ::std::hash_map< ::rtl::OUString, SubComponentDescriptor, ::rtl::OUStringHash > MapStringToCompDesc;
+ typedef ::boost::unordered_map< ::rtl::OUString, SubComponentDescriptor, ::rtl::OUStringHash > MapStringToCompDesc;
typedef ::std::map< SubComponentType, MapStringToCompDesc > MapCompTypeToCompDescs;
diff --git a/dbaccess/source/ui/app/subcomponentmanager.cxx b/dbaccess/source/ui/app/subcomponentmanager.cxx
index 64fba13191f6..9b6d612b1b4c 100644
--- a/dbaccess/source/ui/app/subcomponentmanager.cxx
+++ b/dbaccess/source/ui/app/subcomponentmanager.cxx
@@ -45,7 +45,6 @@
#include <vcl/svapp.hxx>
#include <osl/mutex.hxx>
-#include <hash_map>
#include <algorithm>
#include <functional>
diff --git a/dbaccess/source/ui/browser/genericcontroller.cxx b/dbaccess/source/ui/browser/genericcontroller.cxx
index 43dbaeb30555..fae4799f73c8 100644
--- a/dbaccess/source/ui/browser/genericcontroller.cxx
+++ b/dbaccess/source/ui/browser/genericcontroller.cxx
@@ -64,7 +64,7 @@
#include <rtl/ustring.hxx>
#include <rtl/logfile.hxx>
#include <algorithm>
-#include <hash_map>
+#include <boost/unordered_map.hpp>
#include <cppuhelper/implbase1.hxx>
#include <limits>
@@ -90,7 +90,7 @@ using namespace ::comphelper;
#define LAST_USER_DEFINED_FEATURE ( ::std::numeric_limits< sal_uInt16 >::max() )
// -------------------------------------------------------------------------
-typedef ::std::hash_map< sal_Int16, sal_Int16 > CommandHashMap;
+typedef ::boost::unordered_map< sal_Int16, sal_Int16 > CommandHashMap;
typedef ::std::list< DispatchInformation > DispatchInfoList;