summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorSantiago Martinez <smvarela@gmail.com>2012-02-13 21:52:07 +0100
committerRadek Doulik <rodo@novell.com>2012-02-14 19:02:40 +0100
commit8af1b357b1c87c9f3eea7660881b2ffacc133f58 (patch)
tree745cda08050b64c7de18ffc6c2f08c70daab373b /svx
parent545a55895acfe15a454ca701eff7197eb8dbc3f3 (diff)
Remove unused code.
Diffstat (limited to 'svx')
-rw-r--r--svx/inc/svx/xtable.hxx1
-rw-r--r--svx/source/xoutdev/xtable.cxx15
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 )