User: rt Date: 2006/12/01 09:29:55 Modified: dba/dbaccess/source/ui/app/AppDetailPageHelper.cxx
Log: INTEGRATION: CWS dba22a (1.18.2); FILE MERGED 2006/11/15 08:49:48 fs 1.18.2.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]: AppDetailPageHelper.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/app/AppDetailPageHelper.cxx?r1=1.19&r2=1.20 Delta lines: +2 -2 ------------------- --- AppDetailPageHelper.cxx 6 Nov 2006 14:42:37 -0000 1.19 +++ AppDetailPageHelper.cxx 1 Dec 2006 17:29:53 -0000 1.20 @@ -872,8 +872,8 @@ // ----------------------------------------------------------------------------- IMPL_LINK(OAppDetailPageHelper, OnEntryDoubleClick, SvTreeListBox*, _pTree) { - getBorderWin().getView()->getElementNotification()->onEntryDoubleClick(_pTree); - return 1L; + bool bHandled = getBorderWin().getView()->getElementNotification()->onEntryDoubleClick(_pTree); + return bHandled ? 1L : 0L; } // ----------------------------------------------------------------------------- IMPL_LINK(OAppDetailPageHelper, OnDeSelectHdl, SvTreeListBox*, _pTree) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
