From 3f4e11bd40f60510272df7a285d8a78181af0ccb Mon Sep 17 00:00:00 2001 From: Szymon Kłos Date: Mon, 29 Aug 2022 09:07:33 +0200 Subject: lok: masterpage: use EditMode as parameter in invalidation callback MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I3905fc9e6376ca1cef3e438e7a5f229d3720b1f5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138961 Tested-by: Jenkins CollaboraOffice Reviewed-by: Henry Castro Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142501 Tested-by: Jenkins Reviewed-by: Szymon Kłos --- test/source/lokcallback.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/source/lokcallback.cxx b/test/source/lokcallback.cxx index d7500cb74443..5af844f089ad 100644 --- a/test/source/lokcallback.cxx +++ b/test/source/lokcallback.cxx @@ -59,7 +59,7 @@ void TestLokCallbackWrapper::libreOfficeKitViewCallbackWithViewId(int nType, con } void TestLokCallbackWrapper::libreOfficeKitViewInvalidateTilesCallback( - const tools::Rectangle* pRect, int nPart) + const tools::Rectangle* pRect, int nPart, int nMode) { OStringBuffer buf(64); if (pRect) @@ -70,6 +70,8 @@ void TestLokCallbackWrapper::libreOfficeKitViewInvalidateTilesCallback( { buf.append(", "); buf.append(static_cast(nPart)); + buf.append(", "); + buf.append(static_cast(nMode)); } callCallback(LOK_CALLBACK_INVALIDATE_TILES, buf.makeStringAndClear().getStr(), NO_VIEWID); } -- cgit