diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-09-28 14:40:29 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-09-28 15:12:54 +0100 |
commit | 946bfb2bf804672e5ce1ccd20623ba67c460e9b7 (patch) | |
tree | 286a6481cc831cf12ca534408d8fe31bf4fc9714 /unotools | |
parent | 37fd0d9884b41491bc14d9b4e00ad1f9a00dd712 (diff) |
callcatcher: another round of unused methods
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; |