diff options
author | Santiago Martinez <smvarela@gmail.com> | 2012-02-19 19:01:09 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-02-20 11:56:00 +0000 |
commit | 9846e25d94d6029f3a0726ae35e96db342506c80 (patch) | |
tree | 748315131454b2a851d081e78c5f0654f3cc83a6 /xmloff | |
parent | aafcf8c84c42f6b5dd079eb38f588dd8a21ec05d (diff) |
Remove unused code in XMLTextListAutoStylePool.
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/inc/xmloff/XMLTextListAutoStylePool.hxx | 1 | ||||
-rw-r--r-- | xmloff/source/text/XMLTextListAutoStylePool.cxx | 5 |
2 files changed, 0 insertions, 6 deletions
diff --git a/xmloff/inc/xmloff/XMLTextListAutoStylePool.hxx b/xmloff/inc/xmloff/XMLTextListAutoStylePool.hxx index b1dbb673c1a5..8c398193d3e7 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 f7bc70f70288..8becfb762b3e 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; |