diff options
author | Santiago Martinez <smvarela@gmail.com> | 2012-02-13 21:52:07 +0100 |
---|---|---|
committer | Radek Doulik <rodo@novell.com> | 2012-02-14 19:02:40 +0100 |
commit | 8af1b357b1c87c9f3eea7660881b2ffacc133f58 (patch) | |
tree | 745cda08050b64c7de18ffc6c2f08c70daab373b | |
parent | 545a55895acfe15a454ca701eff7197eb8dbc3f3 (diff) |
Remove unused code.
-rw-r--r-- | svx/inc/svx/xtable.hxx | 1 | ||||
-rw-r--r-- | svx/source/xoutdev/xtable.cxx | 15 | ||||
-rwxr-xr-x | unusedcode.easy | 1 |
3 files changed, 0 insertions, 17 deletions
diff --git a/svx/inc/svx/xtable.hxx b/svx/inc/svx/xtable.hxx index a5f21970b6fb..eaca035b81be 100644 --- a/svx/inc/svx/xtable.hxx +++ b/svx/inc/svx/xtable.hxx @@ -238,7 +238,6 @@ protected: XPropertyList( XPropertyListType t, const String& rPath, XOutdevItemPool* pXPool = NULL ); - void Clear(); public: virtual ~XPropertyList(); diff --git a/svx/source/xoutdev/xtable.cxx b/svx/source/xoutdev/xtable.cxx index 1eedd7a4a557..9d18cc08fdb6 100644 --- a/svx/source/xoutdev/xtable.cxx +++ b/svx/source/xoutdev/xtable.cxx @@ -91,21 +91,6 @@ XPropertyList::~XPropertyList() SfxItemPool::Free(pXPool); } -void XPropertyList::Clear() -{ - for( size_t i = 0, n = aList.size(); i < n; ++i ) { - delete aList[ i ]; - } - aList.clear(); - if( pBmpList ) - { - for ( size_t i = 0, n = pBmpList->size(); i < n; ++i ) { - delete (*pBmpList)[ i ]; - } - pBmpList->clear(); - } -} - long XPropertyList::Count() const { if( bListDirty ) diff --git a/unusedcode.easy b/unusedcode.easy index 5142e88cc8fb..95f65eb1cb1e 100755 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -622,7 +622,6 @@ XMLTextListAutoStylePoolNames_Impl::Remove(rtl::OUString*) XMLTextListAutoStylePool_Impl::GetPos(XMLTextListAutoStylePoolEntry_Impl const*) const XMLTextListAutoStylePool_Impl::Remove(XMLTextListAutoStylePoolEntry_Impl*) XMLVisAreaContext::XMLVisAreaContext(SvXMLImport&, unsigned short, rtl::OUString const&, com::sun::star::uno::Reference<com::sun::star::xml::sax::XAttributeList> const&, Rectangle&, short) -XPropertyList::Clear() XWindowItem::XWindowItem(unsigned short, Window*) XWindowItem::XWindowItem(unsigned short, com::sun::star::uno::Reference<com::sun::star::awt::XWindow>&) XclExpFontBuffer::Insert(ScPatternAttr const&, short, XclExpColorType, bool) |