From 8af1b357b1c87c9f3eea7660881b2ffacc133f58 Mon Sep 17 00:00:00 2001 From: Santiago Martinez Date: Mon, 13 Feb 2012 21:52:07 +0100 Subject: Remove unused code. --- svx/inc/svx/xtable.hxx | 1 - svx/source/xoutdev/xtable.cxx | 15 --------------- 2 files changed, 16 deletions(-) (limited to 'svx') 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 ) -- cgit