From 9590e8d0a2194b36d5a025a21dc2e71f37f4f54b Mon Sep 17 00:00:00 2001 From: Marco Cecchetti Date: Wed, 10 Jul 2019 10:32:07 +0200 Subject: lok: handling a single msg for deleting multiple characters also includes: lok: fixing testABI failure Change-Id: I4df662a0df49a864c4b307efdd963b857bb77792 lok: missing removeTextContext implementation for Document class Change-Id: I884ad07f330afc19dfe759c08c8a17bdb4f9dcf3 Change-Id: I045d89f9fa478f37fc2917e159e044eee7e1ab31 Reviewed-on: https://gerrit.libreoffice.org/79879 Tested-by: Jenkins Reviewed-by: Michael Meeks --- sfx2/source/view/lokhelper.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sfx2') diff --git a/sfx2/source/view/lokhelper.cxx b/sfx2/source/view/lokhelper.cxx index 39e0bc1f9899..f5d182ffcfbe 100644 --- a/sfx2/source/view/lokhelper.cxx +++ b/sfx2/source/view/lokhelper.cxx @@ -375,7 +375,7 @@ namespace } void SfxLokHelper::postKeyEventAsync(const VclPtr &xWindow, - int nType, int nCharCode, int nKeyCode) + int nType, int nCharCode, int nKeyCode, int nRepeat) { LOKAsyncEventData* pLOKEv = new LOKAsyncEventData; switch (nType) @@ -389,7 +389,7 @@ void SfxLokHelper::postKeyEventAsync(const VclPtr &xWindow, default: assert(false); } - pLOKEv->maKeyEvent = KeyEvent(nCharCode, nKeyCode, 0); + pLOKEv->maKeyEvent = KeyEvent(nCharCode, nKeyCode, nRepeat); pLOKEv->mpWindow = xWindow; postEventAsync(pLOKEv); } -- cgit