From a93217908d12ab9e34052a52dfd59d87fca75e52 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Thu, 16 Jun 2016 15:55:43 +0200 Subject: sw lok: move filtering of callbacks during paint to desktop This will be important when in the per-view case SwViewShell::libreOfficeKitCallback() won't be called anymore; as pointed out by online.git's TileCacheTests::testSimpleCombine() test. Change-Id: Ie68f8c51facdba127763df660e9220f820805ecc Reviewed-on: https://gerrit.libreoffice.org/26372 Reviewed-by: Miklos Vajna Tested-by: Jenkins --- sw/source/core/view/viewsh.cxx | 3 --- 1 file changed, 3 deletions(-) (limited to 'sw/source') diff --git a/sw/source/core/view/viewsh.cxx b/sw/source/core/view/viewsh.cxx index 832283f85ff8..6e500097c31f 100644 --- a/sw/source/core/view/viewsh.cxx +++ b/sw/source/core/view/viewsh.cxx @@ -124,9 +124,6 @@ void SwViewShell::registerLibreOfficeKitCallback(LibreOfficeKitCallback pCallbac void SwViewShell::libreOfficeKitCallback(int nType, const char* pPayload) const { - if (mbInLibreOfficeKitCallback) - return; - getIDocumentDrawModelAccess().GetDrawModel()->libreOfficeKitCallback(nType, pPayload); } -- cgit