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

Michael Meeks michael at kemper.freedesktop.org
Mon Feb 20 03:57:20 PST 2012


 unusedcode.easy                                 |    1 -
 xmloff/inc/xmloff/XMLTextListAutoStylePool.hxx  |    1 -
 xmloff/source/text/XMLTextListAutoStylePool.cxx |    5 -----
 3 files changed, 7 deletions(-)

New commits:
commit 9846e25d94d6029f3a0726ae35e96db342506c80
Author: Santiago Martinez <smvarela at gmail.com>
Date:   Sun Feb 19 19:01:09 2012 +0100

    Remove unused code in XMLTextListAutoStylePool.

diff --git a/unusedcode.easy b/unusedcode.easy
index 8a32c46..5b2416e 100755
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -535,7 +535,6 @@ XMLPropertyBackpatcher<short>::XMLPropertyBackpatcher(char const*)
 XMLPropertyBackpatcher<short>::XMLPropertyBackpatcher(char const*, char const*, unsigned char, short)
 XMLPropertyBackpatcher<short>::XMLPropertyBackpatcher(rtl::OUString const&, rtl::OUString const&, unsigned char, short)
 XMLTextFieldExport::ProcessDate(xmloff::token::XMLTokenEnum, com::sun::star::util::Date const&, unsigned short)
-XMLTextListAutoStylePool::HasName(rtl::OUString const&) const
 XMLTextListAutoStylePoolNames_Impl::GetPos(rtl::OUString const*) const
 XMLTextListAutoStylePoolNames_Impl::Remove(rtl::OUString*)
 XMLTextListAutoStylePool_Impl::GetPos(XMLTextListAutoStylePoolEntry_Impl const*) const
diff --git a/xmloff/inc/xmloff/XMLTextListAutoStylePool.hxx b/xmloff/inc/xmloff/XMLTextListAutoStylePool.hxx
index b1dbb67..8c39819 100644
--- a/xmloff/inc/xmloff/XMLTextListAutoStylePool.hxx
+++ b/xmloff/inc/xmloff/XMLTextListAutoStylePool.hxx
@@ -67,7 +67,6 @@ public:
     ~XMLTextListAutoStylePool();
 
     void RegisterName( const ::rtl::OUString& rName );
-    sal_Bool HasName( const ::rtl::OUString& rName ) const;
 
     ::rtl::OUString Add(
             const ::com::sun::star::uno::Reference <
diff --git a/xmloff/source/text/XMLTextListAutoStylePool.cxx b/xmloff/source/text/XMLTextListAutoStylePool.cxx
index f7bc70f..8becfb7 100644
--- a/xmloff/source/text/XMLTextListAutoStylePool.cxx
+++ b/xmloff/source/text/XMLTextListAutoStylePool.cxx
@@ -203,11 +203,6 @@ void XMLTextListAutoStylePool::RegisterName( const OUString& rName )
         delete pName;
 }
 
-sal_Bool XMLTextListAutoStylePool::HasName( const OUString& rName ) const
-{
-    return pNames->Seek_Entry( &rName, 0 );
-}
-
 sal_uInt32 XMLTextListAutoStylePool::Find( XMLTextListAutoStylePoolEntry_Impl* pEntry ) const
 {
     sal_uLong nPos;


More information about the Libreoffice-commits mailing list