diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-10-12 00:44:24 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-10-12 01:33:02 -0400 |
commit | a19b6e4149cf264846d7c67f22f496619b70d65b (patch) | |
tree | 5c987214a89e4f5f4015faa28c1c5b5639a5cf0c /svtools | |
parent | d0f2185477af437cc7220e2a050bed4eb4a13665 (diff) |
No need to keep this method.
Change-Id: I5152c6f2888919a6b495bdcf1da7d797d1b1232e
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/inc/svtools/treelist.hxx | 1 | ||||
-rw-r--r-- | svtools/source/contnr/treelist.cxx | 10 |
2 files changed, 2 insertions, 9 deletions
diff --git a/svtools/inc/svtools/treelist.hxx b/svtools/inc/svtools/treelist.hxx index aad8ee29fb4d..702f24939a39 100644 --- a/svtools/inc/svtools/treelist.hxx +++ b/svtools/inc/svtools/treelist.hxx @@ -386,7 +386,6 @@ class SVT_DLLPUBLIC SvListView sal_Bool bVisPositionsValid; SVT_DLLPRIVATE void InitTable(); - SVT_DLLPRIVATE void ClearTable(); SVT_DLLPRIVATE void RemoveViewData( SvListEntry* pParent ); SvDataTable maDataTable; // Mapping SvListEntry -> ViewData diff --git a/svtools/source/contnr/treelist.cxx b/svtools/source/contnr/treelist.cxx index cb12059a1c61..83bbd58bd6c3 100644 --- a/svtools/source/contnr/treelist.cxx +++ b/svtools/source/contnr/treelist.cxx @@ -1526,7 +1526,7 @@ SvListView::SvListView() SvListView::~SvListView() { DBG_DTOR(SvListView,0); - ClearTable(); + maDataTable.clear(); } void SvListView::InitTable() @@ -1570,15 +1570,9 @@ SvViewData* SvListView::CreateViewData( SvListEntry* ) return new SvViewData; } -void SvListView::ClearTable() -{ - DBG_CHKTHIS(SvListView,0); - maDataTable.clear(); -} - void SvListView::Clear() { - ClearTable(); + maDataTable.clear(); nSelectionCount = 0; nVisibleCount = 0; bVisPositionsValid = sal_False; |