summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2022-08-29 09:07:33 +0200
committerHenry Castro <hcastro@collabora.com>2022-10-21 15:10:09 +0200
commit2ce5ee9f20ee5bf17ccd0135c1c891bee803e5c1 (patch)
tree2f23fdf3492012c81c1bf95034ca8605bafc63db /test
parentffe011c53dd34f73c41f2a220bbf305c7449f8fe (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>
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);
}