summaryrefslogtreecommitdiffstats
path: root/cui/source/customize/cfg.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-01-01 19:58:59 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-01-02 16:14:36 +0000
commitfd1372ba8b1c3eb3c7fad6d9c623176c8071f31b (patch)
tree448f0d04f780007b3eeeb76b7c4c8c54cbfd6d9b /cui/source/customize/cfg.cxx
parentiss is unordered_multimap, so can't rely on order (diff)
downloadcore-fd1372ba8b1c3eb3c7fad6d9c623176c8071f31b.tar.gz
core-fd1372ba8b1c3eb3c7fad6d9c623176c8071f31b.zip
boost::unordered_map->std::unordered_map
you can get debug stl this way Change-Id: Ia70a3e7c7c452390e8bee34975d296c9318e4a19
Diffstat (limited to 'cui/source/customize/cfg.cxx')
-rw-r--r--cui/source/customize/cfg.cxx14
1 files changed, 5 insertions, 9 deletions
diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx
index 328f8bf7207f..c3d32dd96881 100644
--- a/cui/source/customize/cfg.cxx
+++ b/cui/source/customize/cfg.cxx
@@ -3659,10 +3659,8 @@ bool EntrySort( SvxConfigEntry* a, SvxConfigEntry* b )
SvxEntries* ToolbarSaveInData::GetEntries()
{
- typedef ::boost::unordered_map< OUString,
- bool,
- OUStringHash,
- ::std::equal_to< OUString > > ToolbarInfo;
+ typedef std::unordered_map<OUString, bool,
+ OUStringHash, std::equal_to< OUString > > ToolbarInfo;
ToolbarInfo aToolbarInfo;
@@ -3721,7 +3719,7 @@ SvxEntries* ToolbarSaveInData::GetEntries()
pEntry->SetStyle( GetSystemStyle( url ) );
- // insert into boost::unordered_map to filter duplicates from the parent
+ // insert into std::unordered_map to filter duplicates from the parent
aToolbarInfo.insert( ToolbarInfo::value_type( systemname, true ));
OUString custom(CUSTOM_TOOLBAR_STR);
@@ -4741,10 +4739,8 @@ SvxIconSelectorDialog::SvxIconSelectorDialog( vcl::Window *pWindow,
pTbSymbol->set_height_request(aTbSize.Height());
pTbSymbol->SetStyle(pTbSymbol->GetStyle() | WB_SCROLL | WB_LINESPACING);
- typedef ::boost::unordered_map< OUString,
- bool,
- OUStringHash,
- ::std::equal_to< OUString > > ImageInfo;
+ typedef std::unordered_map< OUString, bool,
+ OUStringHash, std::equal_to< OUString > > ImageInfo;
pTbSymbol->SetPageScroll( true );