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 /svx | |
parent | 545a55895acfe15a454ca701eff7197eb8dbc3f3 (diff) |
Remove unused code.
Diffstat (limited to 'svx')
-rw-r--r-- | svx/inc/svx/xtable.hxx | 1 | ||||
-rw-r--r-- | svx/source/xoutdev/xtable.cxx | 15 |
2 files changed, 0 insertions, 16 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 ) |