[Libreoffice-commits] online.git: kit/ChildSession.cpp
Michael Meeks (via logerrit)
logerrit at kemper.freedesktop.org
Wed Sep 25 11:10:38 UTC 2019
kit/ChildSession.cpp | 13 +------------
1 file changed, 1 insertion(+), 12 deletions(-)
New commits:
commit 53cd0a50a6e565c08295acb54f16ec08af7c31af
Author: Michael Meeks <michael.meeks at collabora.com>
AuthorDate: Sat Sep 14 14:11:23 2019 +0200
Commit: Tamás Zolnai <tamas.zolnai at collabora.com>
CommitDate: Wed Sep 25 13:06:31 2019 +0200
Remove invalidations triggered by LOK_CALLBACK_DOCUMENT_SIZE_CHANGED
Change-Id: I337471cdfdaa1f9b49f13bcb05340427f116cac0
diff --git a/kit/ChildSession.cpp b/kit/ChildSession.cpp
index 371bc4cd4..7e5d87c4a 100644
--- a/kit/ChildSession.cpp
+++ b/kit/ChildSession.cpp
@@ -2288,18 +2288,7 @@ void ChildSession::loKitCallback(const int type, const std::string& payload)
sendTextFrame("searchresultselection: " + payload);
break;
case LOK_CALLBACK_DOCUMENT_SIZE_CHANGED:
- {
- //TODO: clenaup and merge.
-
- const int parts = getLOKitDocument()->getParts();
- for (int i = 0; i < parts; ++i)
- {
- sendTextFrame("invalidatetiles: part=" + std::to_string(i) +
- " x=0 y=0 width=1000000000 height=1000000000");
- }
-
- getStatus("", 0);
- }
+ getStatus("", 0);
break;
case LOK_CALLBACK_SET_PART:
sendTextFrame("setpart: " + payload);
More information about the Libreoffice-commits
mailing list