diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-07-26 23:32:40 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-07-26 23:39:04 +0200 |
commit | bf2373daf50595c02741f63d941fda0462535d62 (patch) | |
tree | 8648bb9d6328a43d5c1e52ca2169097ada413251 /svtools/source/contnr/treelist.cxx | |
parent | bb4b28f3642e6fd86881c0fd4c030b5872cde7fa (diff) |
callcatcher: remove unused methods
Diffstat (limited to 'svtools/source/contnr/treelist.cxx')
-rw-r--r-- | svtools/source/contnr/treelist.cxx | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/svtools/source/contnr/treelist.cxx b/svtools/source/contnr/treelist.cxx index d1f2941a0de3..0b00dc3e15e9 100644 --- a/svtools/source/contnr/treelist.cxx +++ b/svtools/source/contnr/treelist.cxx @@ -1326,31 +1326,6 @@ sal_Bool SvTreeList::Remove( SvListEntry* pEntry ) |* *************************************************************************/ -sal_uLong SvTreeList::SelectChilds(SvListView* pView, SvListEntry* pParent,sal_Bool bSelect ) -{ - DBG_ASSERT(pView&&pParent,"SelChilds:View/Parent?"); - if ( !pParent->pChilds ) - return 0; - if ( pParent->pChilds->empty() ) - return 0; - - sal_uInt16 nRefDepth = GetDepth( pParent ); - sal_uInt16 nDepth = nRefDepth; - sal_uLong nCount = 0; - pParent = Next( pParent ); - do - { - if ( Select( pView, pParent, bSelect ) ) - nCount++; // nur die tatsaechlichen Selektierungen zaehlen - pParent = Next( pParent, &nDepth ); - } - while( pParent && nDepth > nRefDepth ); -#ifdef CHECK_INTEGRITY - CheckIntegrity(); -#endif - return nCount; -} - void SvTreeList::SelectAll( SvListView* pView, sal_Bool bSelect ) { DBG_ASSERT(pView,"SelectAll:NoView"); |