[Libreoffice-commits] core.git: Branch 'libreoffice-6-3' - include/svx svx/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Mon Nov 18 12:22:13 UTC 2019
include/svx/weldeditview.hxx | 1 +
svx/source/dialog/weldeditview.cxx | 6 ++++++
2 files changed, 7 insertions(+)
New commits:
commit 070bb33d301daeb8767d31847c0eeaa19165d761
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Nov 14 16:01:53 2019 +0000
Commit: Xisco Faulí <xiscofauli at libreoffice.org>
CommitDate: Mon Nov 18 13:21:25 2019 +0100
Resolves: 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/82720
Tested-by: Jenkins
Reviewed-by: Xisco Faulí <xiscofauli at libreoffice.org>
diff --git a/include/svx/weldeditview.hxx b/include/svx/weldeditview.hxx
index f5e0183d194d..d4e015ce6568 100644
--- a/include/svx/weldeditview.hxx
+++ b/include/svx/weldeditview.hxx
@@ -39,6 +39,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 1f6e0332cfe5..764f933c256c 100644
--- a/svx/source/dialog/weldeditview.cxx
+++ b/svx/source/dialog/weldeditview.cxx
@@ -132,6 +132,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