summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2022-08-29 09:07:33 +0200
committerSzymon Kłos <szymon.klos@collabora.com>2022-11-10 10:15:46 +0100
commit3f4e11bd40f60510272df7a285d8a78181af0ccb (patch)
treed3f2ad594143dad546a12d6b5d4e18a360157115 /test
parent652df8c733f381cac4e22286acd12a2ec72d41ae (diff)
lok: masterpage: use EditMode as parameter in invalidation callback
Change-Id: I3905fc9e6376ca1cef3e438e7a5f229d3720b1f5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138961 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Henry Castro <hcastro@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142501 Tested-by: Jenkins Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Diffstat (limited to 'test')
-rw-r--r--test/source/lokcallback.cxx4
1 files changed, 3 insertions, 1 deletions
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<sal_Int32>(nPart));
+ buf.append(", ");
+ buf.append(static_cast<sal_Int32>(nMode));
}
callCallback(LOK_CALLBACK_INVALIDATE_TILES, buf.makeStringAndClear().getStr(), NO_VIEWID);
}