User: rt      
Date: 2006/12/01 09:30:09

Modified:
   dba/dbaccess/source/ui/app/IAppElementNotification.hxx

Log:
 INTEGRATION: CWS dba22a (1.4.210); FILE MERGED
 2006/11/15 08:49:49 fs 1.4.210.1: #142997#
 modified the double-click handling in the DBTreeListBox
 various stack trace reports suggest there are scenarios where a double click
 handler somehow destroys/corrupts the list box and/or its entries, but the
 subsequent default handling in the SvListBox class accesses those corrupted
 entities.
 Since we're not able to reproduce any of those crashs, the handling in the
 DBTreeListBox and its clients now is as follows:
 If a double click is handled, then the DBTreeListBox::DoubleClickHdl will
 return 0, this way causing the SvListBox to *not* process the double
 click event further.

File Changes:

Directory: /dba/dbaccess/source/ui/app/
=======================================

File [changed]: IAppElementNotification.hxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/app/IAppElementNotification.hxx?r1=1.4&r2=1.5
Delta lines:  +4 -1
-------------------
--- IAppElementNotification.hxx 8 Sep 2005 14:23:30 -0000       1.4
+++ IAppElementNotification.hxx 1 Dec 2006 17:30:06 -0000       1.5
@@ -64,8 +64,11 @@
                /** called when the handle 
<method>OApplicationDetailView::OnEntryDoubleClick</method> was called.
                        @param  _pTree
                                The tree list box.
+            @return
+                <TRUE/> if the double click event has been handled by the 
called, and should not
+                be processed further.
                */
-               virtual void onEntryDoubleClick(SvTreeListBox* _pTree) = 0;
+               virtual bool onEntryDoubleClick(SvTreeListBox* _pTree) = 0;
 
                /** called when the handle 
<method>OApplicationSwapWindow::OnContainerSelectHdl</method> was called.
                        @param  _pTree




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

Reply via email to