diff options
author | Philipp Lohmann <pl@openoffice.org> | 2000-11-14 10:23:12 +0000 |
---|---|---|
committer | Philipp Lohmann <pl@openoffice.org> | 2000-11-14 10:23:12 +0000 |
commit | e2957abfd3b153eb9fdbbf65434b5e926ee54d73 (patch) | |
tree | abb46fab72bb36061391008d8b148b5dfcc4efab /unotools/source/misc | |
parent | 7a3e337e6b43c9f2ecb123ead70226f3983ae827 (diff) |
changed hash_map to use new OUStringHash from rtl/ustring
Diffstat (limited to 'unotools/source/misc')
-rw-r--r-- | unotools/source/misc/atom.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/unotools/source/misc/atom.cxx b/unotools/source/misc/atom.cxx index 1900020c3daa..e4fa26396659 100644 --- a/unotools/source/misc/atom.cxx +++ b/unotools/source/misc/atom.cxx @@ -2,9 +2,9 @@ * * $RCSfile: atom.cxx,v $ * - * $Revision: 1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: pl $ $Date: 2000-10-27 15:18:39 $ + * last change: $Author: pl $ $Date: 2000-11-14 11:23:12 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -77,7 +77,7 @@ AtomProvider::~AtomProvider() int AtomProvider::getAtom( const ::rtl::OUString& rString, sal_Bool bCreate ) { - ::std::hash_map< ::rtl::OUString, int, ::std::hash< ::rtl::OUString > >::iterator it = m_aAtomMap.find( rString ); + ::std::hash_map< ::rtl::OUString, int, OUStringHash >::iterator it = m_aAtomMap.find( rString ); if( it != m_aAtomMap.end() ) return it->second; if( ! bCreate ) @@ -91,7 +91,7 @@ int AtomProvider::getAtom( const ::rtl::OUString& rString, sal_Bool bCreate ) void AtomProvider::getAll( ::std::list< ::utl::AtomDescription >& atoms ) { atoms.clear(); - ::std::hash_map< ::rtl::OUString, int, ::std::hash< ::rtl::OUString > >::const_iterator it = m_aAtomMap.begin(); + ::std::hash_map< ::rtl::OUString, int, OUStringHash >::const_iterator it = m_aAtomMap.begin(); ::utl::AtomDescription aDesc; while( it != m_aAtomMap.end() ) @@ -107,7 +107,7 @@ void AtomProvider::getRecent( int atom, ::std::list< ::utl::AtomDescription >& a { atoms.clear(); - ::std::hash_map< ::rtl::OUString, int, ::std::hash< ::rtl::OUString > >::const_iterator it = m_aAtomMap.begin(); + ::std::hash_map< ::rtl::OUString, int, OUStringHash >::const_iterator it = m_aAtomMap.begin(); ::utl::AtomDescription aDesc; while( it != m_aAtomMap.end() ) |