[Libreoffice-commits] .: 2 commits - unotools/inc unotools/source unusedcode.easy

Caolán McNamara caolan at kemper.freedesktop.org
Wed Sep 28 07:13:16 PDT 2011


 unotools/inc/unotools/atom.hxx |    4 ----
 unotools/source/misc/atom.cxx  |   34 ----------------------------------
 unusedcode.easy                |    1 +
 3 files changed, 1 insertion(+), 38 deletions(-)

New commits:
commit f0c8204127e7b90a7e622f95396709a010985481
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Sep 28 14:47:33 2011 +0100

    regenerate list

diff --git a/unusedcode.easy b/unusedcode.easy
index 23aea03..fb29748 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -1926,7 +1926,6 @@ 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)
@@ -1935,7 +1934,6 @@ 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&)
@@ -1983,7 +1981,6 @@ binfilter::SwXRedlinePortionArr::Insert(binfilter::SwXRedlinePortion_Impl* const
 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)
commit 946bfb2bf804672e5ce1ccd20623ba67c460e9b7
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Sep 28 14:40:29 2011 +0100

    callcatcher: another round of unused methods

diff --git a/unotools/inc/unotools/atom.hxx b/unotools/inc/unotools/atom.hxx
index 5bccb22..6ad53ea 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 ade01ae..61c0d52 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 fddbbdb..23aea03 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)


More information about the Libreoffice-commits mailing list