diff options
author | Rüdiger Timm <rt@openoffice.org> | 2006-12-01 16:29:41 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2006-12-01 16:29:41 +0000 |
commit | 36cbc4f32e7c26d43bea4cb382fe8ff9daaa8213 (patch) | |
tree | ddbe019fbcdbc50b2087bc81baa032eadb54d9c8 /dbaccess/source/ui/app/AppController.hxx | |
parent | fee5959e36c56a84ea880f7c7b9208c7a3f0df31 (diff) |
INTEGRATION: CWS dba22a (1.15.8); FILE MERGED
2006/11/15 08:49:48 fs 1.15.8.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.
Diffstat (limited to 'dbaccess/source/ui/app/AppController.hxx')
-rw-r--r-- | dbaccess/source/ui/app/AppController.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dbaccess/source/ui/app/AppController.hxx b/dbaccess/source/ui/app/AppController.hxx index 58f551663561..090d151fd65c 100644 --- a/dbaccess/source/ui/app/AppController.hxx +++ b/dbaccess/source/ui/app/AppController.hxx @@ -4,9 +4,9 @@ * * $RCSfile: AppController.hxx,v $ * - * $Revision: 1.15 $ + * $Revision: 1.16 $ * - * last change: $Author: kz $ $Date: 2006-10-05 12:59:20 $ + * last change: $Author: rt $ $Date: 2006-12-01 17:29:41 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -522,7 +522,7 @@ namespace dbaui void refreshTables(); /// @see <method>IApplicationElementNotification::onEntryDoubleClick</method> - virtual void onEntryDoubleClick(SvTreeListBox* _pTree); + virtual bool onEntryDoubleClick(SvTreeListBox* _pTree); /// @see <method>IApplicationElementNotification::onCreationClick</method> virtual void onCreationClick(const ::rtl::OUString& _sCommand); /// @see <method>IApplicationElementNotification::onContainerSelect</method> |