diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-12-18 10:46:03 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-12-18 21:39:05 +0100 |
commit | 2a91637ed9a312471afe7a2201371eb9ae7f33c7 (patch) | |
tree | f5b0aae15bab1392bcaaad7f59fdb79bb36f4ebc /editeng/source/editeng/editview.cxx | |
parent | 0d6063a61c15688998c1a7f865b090fd9b1f8fff (diff) |
add a return to EditView::Command to indicate if the command was consumed
Change-Id: I971fcfb77d93d7d1146443a8ec30d9159746bd89
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107960
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'editeng/source/editeng/editview.cxx')
-rw-r--r-- | editeng/source/editeng/editview.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editeng/source/editeng/editview.cxx b/editeng/source/editeng/editview.cxx index 7b70f98b6ef7..a17f76d6d492 100644 --- a/editeng/source/editeng/editview.cxx +++ b/editeng/source/editeng/editview.cxx @@ -471,9 +471,9 @@ bool EditView::MouseMove( const MouseEvent& rMouseEvent ) return pImpEditView->MouseMove( rMouseEvent ); } -void EditView::Command( const CommandEvent& rCEvt ) +bool EditView::Command(const CommandEvent& rCEvt) { - pImpEditView->Command( rCEvt ); + return pImpEditView->Command(rCEvt); } void EditView::SetBroadcastLOKViewCursor(bool bSet) |