summaryrefslogtreecommitdiff
path: root/basctl/source/basicide/bastype3.cxx
diff options
context:
space:
mode:
authorAllmann-Rahn <allmann-rahn@ubuntu.ubuntu-domain>2011-08-22 11:39:37 +0200
committerMichael Meeks <michael.meeks@novell.com>2011-08-23 17:36:50 +0100
commitfbc30846acc2391a4c323c07ea04b308a685ce46 (patch)
tree83da7330222d751cfed20898f79f3b7a8d9b4ebe /basctl/source/basicide/bastype3.cxx
parentc02eaf4bb94b2c81f6f27d7af665b344c2e1370a (diff)
Translated German comments and removed the redundant ones in the directories accessibility to (incl.) basebmp.
Diffstat (limited to 'basctl/source/basicide/bastype3.cxx')
-rw-r--r--basctl/source/basicide/bastype3.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/basctl/source/basicide/bastype3.cxx b/basctl/source/basicide/bastype3.cxx
index 6f49212dd2c1..267ff9457863 100644
--- a/basctl/source/basicide/bastype3.cxx
+++ b/basctl/source/basicide/bastype3.cxx
@@ -147,14 +147,13 @@ void BasicTreeListBox::ExpandedHdl()
{
SvLBoxEntry* pEntry = GetHdlEntry();
DBG_ASSERT( pEntry, "Was wurde zugeklappt?" );
- // Die OnDemand erzeugten Childs loeschen,
- // SubChilds werden automatisch geloescht.
+
if ( !IsExpanded( pEntry ) && pEntry->HasChildsOnDemand() )
{
SvLBoxEntry* pChild = FirstChild( pEntry );
while ( pChild )
{
- GetModel()->Remove( pChild ); // Ruft auch den DTOR
+ GetModel()->Remove( pChild ); // does also call the DTOR
pChild = FirstChild( pEntry );
}
}