summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-11-14 16:01:53 +0000
committerCaolán McNamara <caolanm@redhat.com>2019-11-14 21:14:33 +0100
commit556d4f458d92745a8f95ecb12fefa76e68cb9251 (patch)
tree2032c9d6d8e0ad65a0c8c358e96eaa8a998ad352
parent746fb9401af4178d4d227783026bed9aa2f398ac (diff)
tdf#128104 Input Engine events are delivered via Command
so editengine needs to get those events too. Change-Id: I528065ef804f0a2dfa98e49034c86e9483bade2d Reviewed-on: https://gerrit.libreoffice.org/82718 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--include/svx/weldeditview.hxx1
-rw-r--r--svx/source/dialog/weldeditview.cxx6
2 files changed, 7 insertions, 0 deletions
diff --git a/include/svx/weldeditview.hxx b/include/svx/weldeditview.hxx
index 1b77491421a2..071a8f50d852 100644
--- a/include/svx/weldeditview.hxx
+++ b/include/svx/weldeditview.hxx
@@ -51,6 +51,7 @@ protected:
virtual bool MouseButtonDown(const MouseEvent& rMEvt) override;
virtual bool MouseButtonUp(const MouseEvent& rMEvt) override;
virtual bool KeyInput(const KeyEvent& rKEvt) override;
+ virtual bool Command(const CommandEvent& rCEvt) override;
virtual void GetFocus() override;
virtual void LoseFocus() override;
virtual void Resize() override;
diff --git a/svx/source/dialog/weldeditview.cxx b/svx/source/dialog/weldeditview.cxx
index 56f179dba98c..c7de008f28d2 100644
--- a/svx/source/dialog/weldeditview.cxx
+++ b/svx/source/dialog/weldeditview.cxx
@@ -170,6 +170,12 @@ bool WeldEditView::KeyInput(const KeyEvent& rKEvt)
return true;
}
+bool WeldEditView::Command(const CommandEvent& rCEvt)
+{
+ m_xEditView->Command(rCEvt);
+ return true;
+}
+
class WeldEditAccessible;
class WeldViewForwarder : public SvxViewForwarder