summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2008-07-07 11:20:47 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2008-07-07 11:20:47 +0000
commitb1196e602b9879d5d80aaef8de81242073194675 (patch)
tree9b651ea21b39ac1b6902c68c5926f01df1ebde03 /basctl
parent9e51ae714da13e152b9715f4c2b0c5d64b24586a (diff)
INTEGRATION: CWS ab53 (1.25.6); FILE MERGED
2008/06/06 13:13:17 ab 1.25.6.1: #i89523# Removed unused code
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/bastype3.cxx30
1 files changed, 1 insertions, 29 deletions
diff --git a/basctl/source/basicide/bastype3.cxx b/basctl/source/basicide/bastype3.cxx
index b8d1fffe3af4..01fbc25feefc 100644
--- a/basctl/source/basicide/bastype3.cxx
+++ b/basctl/source/basicide/bastype3.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: bastype3.cxx,v $
- * $Revision: 1.25 $
+ * $Revision: 1.26 $
*
* This file is part of OpenOffice.org.
*
@@ -172,34 +172,6 @@ void BasicTreeListBox::ScanAllEntries()
}
}
-void BasicTreeListBox::ExpandTree( SvLBoxEntry* pRootEntry )
-{
- DBG_ASSERT( pRootEntry, "Keine Wurzel ?" );
-
- Expand( pRootEntry );
-
- SvLBoxEntry* pLibEntry = FirstChild( pRootEntry );
- while ( pLibEntry )
- {
- // Nur die mit Childs, sonst waere ChildsOnDemand ueberfluessig
- if ( !IsEntryProtected( pLibEntry ) && GetChildCount( pLibEntry ) )
- Expand( pLibEntry );
-
- pLibEntry = NextSibling( pLibEntry );
- }
-}
-
-void BasicTreeListBox::ExpandAllTrees()
-{
- ULONG nRootPos = 0;
- SvLBoxEntry* pRootEntry = GetEntry( nRootPos );
- while ( pRootEntry )
- {
- ExpandTree( pRootEntry );
- pRootEntry = GetEntry( ++nRootPos );
- }
-}
-
SbxVariable* BasicTreeListBox::FindVariable( SvLBoxEntry* pEntry )
{
if ( !pEntry )