Tag: cws_src680_dba22ui
User: oj      
Date: 2006/12/06 01:39:05

Modified:
   dba/dbaccess/source/core/dataaccess/documentcontainer.cxx

Log:
 #i71613# remove all children when deleted

File Changes:

Directory: /dba/dbaccess/source/core/dataaccess/
================================================

File [changed]: documentcontainer.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/dataaccess/documentcontainer.cxx?r1=1.21&r2=1.21.12.1
Delta lines:  +10 -3
--------------------
--- documentcontainer.cxx       17 Sep 2006 06:40:09 -0000      1.21
+++ documentcontainer.cxx       6 Dec 2006 09:39:02 -0000       1.21.12.1
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: documentcontainer.cxx,v $
  *
- *  $Revision: 1.21 $
+ *  $Revision: 1.21.12.1 $
  *
- *  last change: $Author: obo $ $Date: 2006/09/17 06:40:09 $
+ *  last change: $Author: oj $ $Date: 2006/12/06 09:39:02 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -459,6 +459,13 @@
                
//////////////////////////////////////////////////////////////////
                // delete
                
//////////////////////////////////////////////////////////////////
+               Sequence< ::rtl::OUString> aSeq = getElementNames();
+        const ::rtl::OUString* pIter = aSeq.getConstArray();
+        const ::rtl::OUString* pEnd      = pIter + aSeq.getLength();
+        for(;pIter != pEnd;++pIter)
+            removeByName(*pIter);
+
+        dispose();
        }
        else 
                aRet = OContentHelper::execute(aCommand,CommandId,Environment);




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to