summaryrefslogtreecommitdiff
path: root/desktop/inc
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2016-06-09 14:17:57 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2016-06-09 13:17:21 +0000
commitd368560882e8a4567f3328ce877b6e5242d18620 (patch)
treee69f544d90ed6fb07275b105e96cf057c99ab9ac /desktop/inc
parent8561f8bfccb73ce4ac834598c4c32ac5c81774e5 (diff)
desktop lok: implement per-view CallbackFlushHandler
With this, per-view cursor callbacks work again, as they did after commit 32f419fee5f9df4facb7a9b3ec910471d2a20247 (sw: implement per-view LOK_CALLBACK_CURSOR_VISIBLE, 2015-09-18). Change-Id: Ic589276f99164a1a8d46f7a029d1a59ab6e971f3 Reviewed-on: https://gerrit.libreoffice.org/26102 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'desktop/inc')
-rw-r--r--desktop/inc/lib/init.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/inc/lib/init.hxx b/desktop/inc/lib/init.hxx
index 3a5c5b7333c9..2f18223793cc 100644
--- a/desktop/inc/lib/init.hxx
+++ b/desktop/inc/lib/init.hxx
@@ -54,7 +54,7 @@ namespace desktop {
{
css::uno::Reference<css::lang::XComponent> mxComponent;
std::shared_ptr< LibreOfficeKitDocumentClass > m_pDocumentClass;
- std::shared_ptr<CallbackFlushHandler> mpCallbackFlushHandler;
+ std::map<size_t, std::shared_ptr<CallbackFlushHandler>> mpCallbackFlushHandlers;
explicit LibLODocument_Impl(const css::uno::Reference <css::lang::XComponent> &xComponent);
~LibLODocument_Impl();