summaryrefslogtreecommitdiff
path: root/sfx2/source/view
diff options
context:
space:
mode:
authorMarco Cecchetti <mrcekets@gmail.com>2019-07-10 10:32:07 +0200
committerMichael Meeks <michael.meeks@collabora.com>2019-10-01 10:01:57 +0200
commit9590e8d0a2194b36d5a025a21dc2e71f37f4f54b (patch)
tree76eb45d9a9b27a0bd4f7f0f25693cb2caddb128a /sfx2/source/view
parent0ff8140676877f7a37ceb14d9ba797d6e2a18cf6 (diff)
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 <michael.meeks@collabora.com>
Diffstat (limited to 'sfx2/source/view')
-rw-r--r--sfx2/source/view/lokhelper.cxx4
1 files changed, 2 insertions, 2 deletions
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<vcl::Window> &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<vcl::Window> &xWindow,
default:
assert(false);
}
- pLOKEv->maKeyEvent = KeyEvent(nCharCode, nKeyCode, 0);
+ pLOKEv->maKeyEvent = KeyEvent(nCharCode, nKeyCode, nRepeat);
pLOKEv->mpWindow = xWindow;
postEventAsync(pLOKEv);
}