summaryrefslogtreecommitdiff
path: root/padmin
diff options
context:
space:
mode:
Diffstat (limited to 'padmin')
-rw-r--r--padmin/source/adddlg.cxx4
-rw-r--r--padmin/source/fontentry.cxx6
-rw-r--r--padmin/source/fontentry.hxx4
-rw-r--r--padmin/source/prtsetup.cxx4
4 files changed, 9 insertions, 9 deletions
diff --git a/padmin/source/adddlg.cxx b/padmin/source/adddlg.cxx
index a2d845704e26..d746e0455334 100644
--- a/padmin/source/adddlg.cxx
+++ b/padmin/source/adddlg.cxx
@@ -38,7 +38,7 @@
#include "osl/thread.h"
-#include <hash_set>
+#include <boost/unordered_set.hpp>
using namespace rtl;
@@ -1073,7 +1073,7 @@ String AddPrinterDialog::uniquePrinterName( const String& rBase )
int nVersion = 1;
list< OUString > aPrinterList;
rManager.listPrinters( aPrinterList );
- hash_set< OUString, OUStringHash > aPrinters;
+ boost::unordered_set< OUString, OUStringHash > aPrinters;
for( list< OUString >::const_iterator it = aPrinterList.begin(); it != aPrinterList.end(); ++it )
aPrinters.insert( *it );
while( aPrinters.find( aResult ) != aPrinters.end() )
diff --git a/padmin/source/fontentry.cxx b/padmin/source/fontentry.cxx
index 3323360aa0e7..b1f73862a7bf 100644
--- a/padmin/source/fontentry.cxx
+++ b/padmin/source/fontentry.cxx
@@ -174,7 +174,7 @@ void FontNameDlg::init()
m_aRemoveButton.Enable( FALSE );
m_aRenameButton.Enable( FALSE );
- ::std::hash_map< OUString, int, OUStringHash > aFamilies;
+ ::boost::unordered_map< OUString, int, OUStringHash > aFamilies;
::std::list< fontID >::iterator font_it;
for( font_it = aFonts.begin(); font_it != aFonts.end(); ++font_it )
{
@@ -491,8 +491,8 @@ void FontImportDialog::fillFontBox()
rtl_TextEncoding aEncoding = osl_getThreadTextEncoding();
m_aNewFontsBox.Clear();
- ::std::hash_map< OUString, int, OUStringHash > aFamilies;
- ::std::hash_map< OString, ::std::list< FastPrintFontInfo >, OStringHash >::iterator it;
+ ::boost::unordered_map< OUString, int, OUStringHash > aFamilies;
+ ::boost::unordered_map< OString, ::std::list< FastPrintFontInfo >, OStringHash >::iterator it;
for( it = m_aNewFonts.begin(); it != m_aNewFonts.end(); ++it )
{
const OUString& rFamily( it->second.front().m_aFamilyName );
diff --git a/padmin/source/fontentry.hxx b/padmin/source/fontentry.hxx
index 087927078098..262134ac8eb4 100644
--- a/padmin/source/fontentry.hxx
+++ b/padmin/source/fontentry.hxx
@@ -74,7 +74,7 @@ namespace padmin {
String m_aNoWritableFontsDirText;
String m_aFontsImportedText;
- ::std::hash_map< ::rtl::OString, ::std::list< ::psp::FastPrintFontInfo >, ::rtl::OStringHash >
+ ::boost::unordered_map< ::rtl::OString, ::std::list< ::psp::FastPrintFontInfo >, ::rtl::OStringHash >
m_aNewFonts;
Timer m_aRefreshTimer;
@@ -119,7 +119,7 @@ namespace padmin {
::psp::PrintFontManager& m_rFontManager;
// maps fontID to XLFD
- ::std::hash_map< ::psp::fontID, String >
+ ::boost::unordered_map< ::psp::fontID, String >
m_aFonts;
void init();
public:
diff --git a/padmin/source/prtsetup.cxx b/padmin/source/prtsetup.cxx
index 3d9b4e51b0cb..af4223240460 100644
--- a/padmin/source/prtsetup.cxx
+++ b/padmin/source/prtsetup.cxx
@@ -614,7 +614,7 @@ RTSFontSubstPage::RTSFontSubstPage( RTSDialog* pParent ) :
::std::list< FastPrintFontInfo > aFonts;
rFontManager.getFontListWithFastInfo( aFonts, m_pParent->m_aJobData.m_pParser, false );
::std::list< FastPrintFontInfo >::const_iterator it;
- ::std::hash_map< OUString, int, OUStringHash > aToMap, aFromMap;
+ ::boost::unordered_map< OUString, int, OUStringHash > aToMap, aFromMap;
for( it = aFonts.begin(); it != aFonts.end(); ++it )
{
if( it->m_eType == fonttype::Builtin )
@@ -666,7 +666,7 @@ void RTSFontSubstPage::update()
m_aSubstitutionsBox.Clear();
m_aRemoveButton.Enable( FALSE );
// fill substitutions box
- ::std::hash_map< OUString, OUString, OUStringHash >::const_iterator it;
+ ::boost::unordered_map< OUString, OUString, OUStringHash >::const_iterator it;
for( it = m_pParent->m_aJobData.m_aFontSubstitutes.begin();
it != m_pParent->m_aJobData.m_aFontSubstitutes.end(); ++it )
{