summaryrefslogtreecommitdiff
path: root/unotools/inc
diff options
context:
space:
mode:
authorFridrich Strba <fridrich.strba@bluewin.ch>2011-02-03 16:55:17 -0700
committerFridrich Štrba <fridrich.strba@bluewin.ch>2011-02-04 01:10:15 +0100
commite99fcbe58ef7533da06ee4658a4ee2cde4df58ea (patch)
tree2dffe52eb92af74244d25f19613b1af187d9eab7 /unotools/inc
parentfad7c8f3e0d0518b1a6411d53d5d0a3a43adf119 (diff)
Bulk move libs-gui to boost unordered containers
Diffstat (limited to 'unotools/inc')
-rw-r--r--unotools/inc/unotools/atom.hxx8
-rw-r--r--unotools/inc/unotools/eventcfg.hxx4
-rw-r--r--unotools/inc/unotools/fontcfg.hxx10
3 files changed, 11 insertions, 11 deletions
diff --git a/unotools/inc/unotools/atom.hxx b/unotools/inc/unotools/atom.hxx
index a371c5fa9bb7..9a6acbbbb023 100644
--- a/unotools/inc/unotools/atom.hxx
+++ b/unotools/inc/unotools/atom.hxx
@@ -33,7 +33,7 @@
#include <osl/mutex.hxx>
#include <cppuhelper/implbase1.hxx>
-#include <hash_map>
+#include <boost/unordered_map.hpp>
#include <list>
#include <com/sun/star/util/XAtomServer.hpp>
@@ -50,8 +50,8 @@ namespace utl {
class AtomProvider
{
int m_nAtoms;
- ::std::hash_map< int, ::rtl::OUString, ::std::hash< int > > m_aStringMap;
- ::std::hash_map< ::rtl::OUString, int, ::rtl::OUStringHash > m_aAtomMap;
+ ::boost::unordered_map< int, ::rtl::OUString, ::std::hash< int > > m_aStringMap;
+ ::boost::unordered_map< ::rtl::OUString, int, ::rtl::OUStringHash > m_aAtomMap;
public:
AtomProvider();
~AtomProvider();
@@ -72,7 +72,7 @@ namespace utl {
class UNOTOOLS_DLLPUBLIC MultiAtomProvider
{
- ::std::hash_map< int, AtomProvider*, ::std::hash< int > > m_aAtomLists;
+ ::boost::unordered_map< int, AtomProvider*, ::std::hash< int > > m_aAtomLists;
public:
MultiAtomProvider();
~MultiAtomProvider();
diff --git a/unotools/inc/unotools/eventcfg.hxx b/unotools/inc/unotools/eventcfg.hxx
index ec49bbc3090a..05dec2159595 100644
--- a/unotools/inc/unotools/eventcfg.hxx
+++ b/unotools/inc/unotools/eventcfg.hxx
@@ -35,7 +35,7 @@
#include <com/sun/star/frame/XFrame.hpp>
#include <cppuhelper/weakref.hxx>
#include <cppuhelper/implbase2.hxx>
-#include <hash_map>
+#include <boost/unordered_map.hpp>
#include <vector>
#define STR_EVENT_STARTAPP 0
@@ -67,7 +67,7 @@
#define STR_EVENT_MODECHANGED 26
#define STR_EVENT_STORAGECHANGED 27
-typedef ::std::hash_map< ::rtl::OUString, ::rtl::OUString, ::rtl::OUStringHash, ::std::equal_to< ::rtl::OUString > > EventBindingHash;
+typedef ::boost::unordered_map< ::rtl::OUString, ::rtl::OUString, ::rtl::OUStringHash, ::std::equal_to< ::rtl::OUString > > EventBindingHash;
typedef ::std::vector< ::com::sun::star::uno::WeakReference< ::com::sun::star::frame::XFrame > > FrameVector;
typedef ::std::vector< ::rtl::OUString > SupportedEventsVector;
diff --git a/unotools/inc/unotools/fontcfg.hxx b/unotools/inc/unotools/fontcfg.hxx
index 56c93403197a..5ba0c65552ed 100644
--- a/unotools/inc/unotools/fontcfg.hxx
+++ b/unotools/inc/unotools/fontcfg.hxx
@@ -35,8 +35,8 @@
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/container/XNameAccess.hpp>
-#include <hash_map>
-#include <hash_set>
+#include <boost/unordered_map.hpp>
+#include <boost/unordered_set.hpp>
#include <vector>
namespace com {
@@ -86,7 +86,7 @@ class UNOTOOLS_DLLPUBLIC DefaultFontConfiguration
mutable com::sun::star::uno::Reference< com::sun::star::container::XNameAccess > xAccess;
};
- std::hash_map< com::sun::star::lang::Locale,
+ boost::unordered_map< com::sun::star::lang::Locale,
LocaleAccess,
utl::LocaleHash >
m_aConfig;
@@ -192,8 +192,8 @@ private:
LocaleSubst() : bConfigRead( false ) {}
};
- std::hash_map< com::sun::star::lang::Locale, LocaleSubst, utl::LocaleHash > m_aSubst;
- typedef std::hash_set< rtl::OUString, rtl::OUStringHash > UniqueSubstHash;
+ boost::unordered_map< com::sun::star::lang::Locale, LocaleSubst, utl::LocaleHash > m_aSubst;
+ typedef boost::unordered_set< rtl::OUString, rtl::OUStringHash > UniqueSubstHash;
mutable UniqueSubstHash maSubstHash;