diff options
Diffstat (limited to 'unotools')
-rw-r--r-- | unotools/inc/unotools/atom.hxx | 4 | ||||
-rw-r--r-- | unotools/source/misc/atom.cxx | 34 |
2 files changed, 0 insertions, 38 deletions
diff --git a/unotools/inc/unotools/atom.hxx b/unotools/inc/unotools/atom.hxx index 5bccb227e2cd..6ad53ea7a439 100644 --- a/unotools/inc/unotools/atom.hxx +++ b/unotools/inc/unotools/atom.hxx @@ -60,10 +60,6 @@ namespace utl { int getLastAtom() const { return m_nAtoms-1; } const ::rtl::OUString& getString( int ) const; - void getAll( ::std::list< AtomDescription >& atoms ); - - void getRecent( int atom, ::std::list< AtomDescription >& atoms ); - void overrideAtom( int atom, const ::rtl::OUString& description ); sal_Bool hasAtom( int atom ) const; diff --git a/unotools/source/misc/atom.cxx b/unotools/source/misc/atom.cxx index ade01ae2ee5c..61c0d52c1ff2 100644 --- a/unotools/source/misc/atom.cxx +++ b/unotools/source/misc/atom.cxx @@ -58,40 +58,6 @@ int AtomProvider::getAtom( const ::rtl::OUString& rString, sal_Bool bCreate ) return m_nAtoms-1; } -void AtomProvider::getAll( ::std::list< ::utl::AtomDescription >& atoms ) -{ - atoms.clear(); - ::boost::unordered_map< ::rtl::OUString, int, ::rtl::OUStringHash >::const_iterator it = m_aAtomMap.begin(); - - ::utl::AtomDescription aDesc; - while( it != m_aAtomMap.end() ) - { - aDesc.atom = it->second; - aDesc.description = it->first; - atoms.push_back( aDesc ); - ++it; - } -} - -void AtomProvider::getRecent( int atom, ::std::list< ::utl::AtomDescription >& atoms ) -{ - atoms.clear(); - - ::boost::unordered_map< ::rtl::OUString, int, ::rtl::OUStringHash >::const_iterator it = m_aAtomMap.begin(); - - ::utl::AtomDescription aDesc; - while( it != m_aAtomMap.end() ) - { - if( it->second > atom ) - { - aDesc.atom = it->second; - aDesc.description = it->first; - atoms.push_back( aDesc ); - } - ++it; - } -} - const ::rtl::OUString& AtomProvider::getString( int nAtom ) const { static ::rtl::OUString aEmpty; |