[Libreoffice-commits] core.git: vcl/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Sat Jun 27 16:04:20 UTC 2020


 vcl/source/treelist/iconviewimpl.cxx |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

New commits:
commit a211032bf9893daeee6ce7acb89f1190258a2067
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sat Jun 27 16:04:01 2020 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Sat Jun 27 18:03:44 2020 +0200

    cid#1464969 Unchecked return value
    
    Change-Id: I74c1f2d3e45222be7357e0ded70beeb5437ff892
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97313
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/vcl/source/treelist/iconviewimpl.cxx b/vcl/source/treelist/iconviewimpl.cxx
index c2640dfc0ccd..b0818e94eea1 100644
--- a/vcl/source/treelist/iconviewimpl.cxx
+++ b/vcl/source/treelist/iconviewimpl.cxx
@@ -605,9 +605,7 @@ bool IconViewImpl::KeyInput( const KeyEvent& rKEvt )
 
         case KEY_RETURN:
         {
-            m_pView->aDoubleClickHdl.Call( m_pView );
-            bHandled = true;
-
+            bHandled = !m_pView->aDoubleClickHdl.Call(m_pView);
             break;
         }
 


More information about the Libreoffice-commits mailing list