summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-12-18 10:46:03 +0000
committerCaolán McNamara <caolanm@redhat.com>2020-12-18 21:39:05 +0100
commit2a91637ed9a312471afe7a2201371eb9ae7f33c7 (patch)
treef5b0aae15bab1392bcaaad7f59fdb79bb36f4ebc /svx
parent0d6063a61c15688998c1a7f865b090fd9b1f8fff (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 'svx')
-rw-r--r--svx/source/dialog/weldeditview.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/svx/source/dialog/weldeditview.cxx b/svx/source/dialog/weldeditview.cxx
index d14afb6dfec4..376b4cfba9e2 100644
--- a/svx/source/dialog/weldeditview.cxx
+++ b/svx/source/dialog/weldeditview.cxx
@@ -232,8 +232,7 @@ bool WeldEditView::Command(const CommandEvent& rCEvt)
EditView* pEditView = GetEditView();
if (!pEditView)
return false;
- pEditView->Command(rCEvt);
- return true;
+ return pEditView->Command(rCEvt);
}
class WeldEditAccessible;