summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-06-27 16:04:01 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-06-27 18:03:44 +0200
commita211032bf9893daeee6ce7acb89f1190258a2067 (patch)
treecc9c6b3432169f325707220786df10d9ab05c837
parent91c97cbcd553a524224d3f89d6ea17d9864c85dc (diff)
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@redhat.com>
-rw-r--r--vcl/source/treelist/iconviewimpl.cxx4
1 files changed, 1 insertions, 3 deletions
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;
}