summaryrefslogtreecommitdiff
path: root/include/editeng
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 /include/editeng
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 'include/editeng')
-rw-r--r--include/editeng/editview.hxx2
-rw-r--r--include/editeng/outliner.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/editeng/editview.hxx b/include/editeng/editview.hxx
index 7189f40d63ff..ae6ebd521a2a 100644
--- a/include/editeng/editview.hxx
+++ b/include/editeng/editview.hxx
@@ -228,7 +228,7 @@ public:
bool MouseButtonDown( const MouseEvent& rMouseEvent );
void ReleaseMouse();
bool MouseMove( const MouseEvent& rMouseEvent );
- void Command( const CommandEvent& rCEvt );
+ bool Command(const CommandEvent& rCEvt);
void Cut();
void Copy();
diff --git a/include/editeng/outliner.hxx b/include/editeng/outliner.hxx
index a6bc9fbd7ff2..0ffa5721c203 100644
--- a/include/editeng/outliner.hxx
+++ b/include/editeng/outliner.hxx
@@ -276,7 +276,7 @@ public:
EEAnchorMode GetAnchorMode() const;
PointerStyle GetPointer( const Point& rPosPixel );
- void Command( const CommandEvent& rCEvt );
+ bool Command(const CommandEvent& rCEvt);
void StartSpeller();
EESpellState StartThesaurus();