[Libreoffice-commits] core.git: include/svx svx/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Thu Nov 14 20:15:50 UTC 2019
include/svx/weldeditview.hxx | 1 +
svx/source/dialog/weldeditview.cxx | 6 ++++++
2 files changed, 7 insertions(+)
New commits:
commit 556d4f458d92745a8f95ecb12fefa76e68cb9251
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Nov 14 16:01:53 2019 +0000
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Thu Nov 14 21:14:33 2019 +0100
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 at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
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
More information about the Libreoffice-commits
mailing list