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 | |
parent | 37fd0d9884b41491bc14d9b4e00ad1f9a00dd712 (diff) |
callcatcher: another round of unused methods
-rw-r--r-- | unotools/inc/unotools/atom.hxx | 4 | ||||
-rw-r--r-- | unotools/source/misc/atom.cxx | 34 | ||||
-rw-r--r-- | unusedcode.easy | 4 |
3 files changed, 4 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; diff --git a/unusedcode.easy b/unusedcode.easy index fddbbdbbcf25..23aea03eca89 100644 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -1926,6 +1926,7 @@ binfilter::SwBookmarks::Insert(binfilter::SwBookmarks const*, unsigned short, un binfilter::SwBookmarks::Remove(binfilter::SwBookmark* const&, unsigned short) binfilter::SwChartBoxes::DeleteAndDestroy(unsigned short, unsigned short) binfilter::SwChartLines::DeleteAndDestroy(unsigned short, unsigned short) +binfilter::SwCntntNode::IsAnyCondition(binfilter::SwCollCondition&) const binfilter::SwDependentFields::DeleteAndDestroy(unsigned short, unsigned short) binfilter::SwDestroyList::DeleteAndDestroy(unsigned short, unsigned short) binfilter::SwDestroyList::Insert(binfilter::SwDestroyList const*, unsigned short, unsigned short) @@ -1934,6 +1935,7 @@ binfilter::SwDestroyList::Insert(binfilter::SwSectionFrm* const&, unsigned short binfilter::SwDestroyList::Insert(binfilter::SwSectionFrm* const*, unsigned short) binfilter::SwDestroyList::Remove(binfilter::SwSectionFrm* const&, unsigned short) binfilter::SwDestroyList::Remove(unsigned short, unsigned short) +binfilter::SwFmDrawPage::GetInterface(binfilter::SdrObject*) binfilter::SwInsHardBlankSoftHyph::~SwInsHardBlankSoftHyph() binfilter::SwOLELRUCache::Remove(binfilter::SwOLEObj&) binfilter::SwOutlineNodes::Insert(binfilter::SwNode* const&, unsigned short&) @@ -1980,6 +1982,8 @@ binfilter::SwXRedlinePortionArr::Insert(binfilter::SwXRedlinePortionArr const*, binfilter::SwXRedlinePortionArr::Insert(binfilter::SwXRedlinePortion_Impl* const&, unsigned short&) binfilter::SwXRedlinePortionArr::Insert(binfilter::SwXRedlinePortion_Impl* const*, unsigned short) binfilter::SwXRedlinePortionArr::Remove(binfilter::SwXRedlinePortion_Impl* const&, unsigned short) +binfilter::SwXTextCursor::SwXTextCursor(com::sun::star::uno::Reference<com::sun::star::text::XText>, binfilter::SwUnoCrsr*, binfilter::CursorType) +binfilter::SwXTextRanges::SwXTextRanges(binfilter::SwPaM*) binfilter::SwpHtEnd::Insert(binfilter::SwTxtAttr const*&, unsigned short&) binfilter::SwpHtEnd::Insert(binfilter::SwTxtAttr const**, unsigned short) binfilter::SwpHtEnd::Insert(binfilter::SwpHtEnd const*, unsigned short, unsigned short) |