User: rt Date: 2006/12/01 09:31:14 Modified: dba/dbaccess/source/ui/inc/dbtreelistbox.hxx
Log: INTEGRATION: CWS dba22a (1.7.10); FILE MERGED 2006/11/15 08:49:50 fs 1.7.10.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/inc/ ======================================= File [changed]: dbtreelistbox.hxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/inc/dbtreelistbox.hxx?r1=1.7&r2=1.8 Delta lines: +3 -1 ------------------- --- dbtreelistbox.hxx 5 Oct 2006 13:05:38 -0000 1.7 +++ dbtreelistbox.hxx 1 Dec 2006 17:31:11 -0000 1.8 @@ -164,6 +164,8 @@ virtual BOOL EditingEntry( SvLBoxEntry* pEntry, Selection& ); virtual BOOL EditedEntry( SvLBoxEntry* pEntry, const XubString& rNewText ); + virtual BOOL DoubleClickHdl(); + virtual PopupMenu* CreateContextMenu( void ); virtual void ExcecuteContextMenuAction( USHORT nSelectedPopupEntry ); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
