summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2011-02-05 18:49:26 +0100
committerFridrich Štrba <fridrich.strba@bluewin.ch>2011-02-06 01:00:47 +0100
commit7685200dc1f5c6408cda8c89eedf275ca05708fd (patch)
tree1a0a04d4debcb79ca0a540af78b65f5df56d6841 /cui
parent37823fe2b4474eca6e8a775668af6bca21e2af55 (diff)
move components to boost unordered containers
Diffstat (limited to 'cui')
-rw-r--r--cui/source/customize/cfg.cxx6
-rw-r--r--cui/source/inc/macropg.hxx4
-rw-r--r--cui/source/inc/scriptdlg.hxx4
3 files changed, 7 insertions, 7 deletions
diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx
index 43b9ad6cf4d4..1324be597793 100644
--- a/cui/source/customize/cfg.cxx
+++ b/cui/source/customize/cfg.cxx
@@ -4141,7 +4141,7 @@ bool EntrySort( SvxConfigEntry* a, SvxConfigEntry* b )
SvxEntries* ToolbarSaveInData::GetEntries()
{
- typedef ::std::hash_map< ::rtl::OUString,
+ typedef ::boost::unordered_map< ::rtl::OUString,
bool,
::rtl::OUStringHash,
::std::equal_to< ::rtl::OUString > > ToolbarInfo;
@@ -4202,7 +4202,7 @@ SvxEntries* ToolbarSaveInData::GetEntries()
pEntry->SetStyle( GetSystemStyle( url ) );
- // insert into hash_map to filter duplicates from the parent
+ // insert into boost::unordered_map to filter duplicates from the parent
aToolbarInfo.insert( ToolbarInfo::value_type( systemname, true ));
OUString custom(RTL_CONSTASCII_USTRINGPARAM(CUSTOM_TOOLBAR_STR));
@@ -5290,7 +5290,7 @@ SvxIconSelectorDialog::SvxIconSelectorDialog( Window *pWindow,
{
FreeResource();
- typedef ::std::hash_map< ::rtl::OUString,
+ typedef ::boost::unordered_map< ::rtl::OUString,
bool,
::rtl::OUStringHash,
::std::equal_to< ::rtl::OUString > > ImageInfo;
diff --git a/cui/source/inc/macropg.hxx b/cui/source/inc/macropg.hxx
index eb169352b0e3..3f475dfe818c 100644
--- a/cui/source/inc/macropg.hxx
+++ b/cui/source/inc/macropg.hxx
@@ -39,10 +39,10 @@
#include <vcl/lstbox.hxx>
#include <rtl/ustring.hxx>
-#include <hash_map>
+#include <boost/unordered_map.hpp>
#include <vector>
-typedef ::std::hash_map< ::rtl::OUString, ::std::pair< ::rtl::OUString, ::rtl::OUString >, ::rtl::OUStringHash, ::std::equal_to< ::rtl::OUString > > EventsHash;
+typedef ::boost::unordered_map< ::rtl::OUString, ::std::pair< ::rtl::OUString, ::rtl::OUString >, ::rtl::OUStringHash, ::std::equal_to< ::rtl::OUString > > EventsHash;
struct EventDisplayName
{
diff --git a/cui/source/inc/scriptdlg.hxx b/cui/source/inc/scriptdlg.hxx
index 4182e4c729b0..10c3408481e2 100644
--- a/cui/source/inc/scriptdlg.hxx
+++ b/cui/source/inc/scriptdlg.hxx
@@ -44,7 +44,7 @@
#include <com/sun/star/script/browse/XBrowseNode.hpp>
#include <com/sun/star/frame/XModel.hpp>
-#include <hash_map>
+#include <boost/unordered_map.hpp>
#define OBJTYPE_BASICMANAGER 1L
#define OBJTYPE_METHOD 2L
@@ -61,7 +61,7 @@
#define INPUTMODE_NEWMACRO 2
#define INPUTMODE_RENAME 3
-typedef ::std::hash_map < ::rtl::OUString, ::rtl::OUString ,
+typedef ::boost::unordered_map < ::rtl::OUString, ::rtl::OUString ,
::rtl::OUStringHash, ::std::equal_to< ::rtl::OUString > > Selection_hash;
class SFEntry;