office-gobmx/desktop/source
Miklos Vajna 60a39b8dd8 desktop: fix type of the last argument of lok_preinit_2()
This went wrong in commit 5de22d1e55
(Handle "addfont" from Collabora Online, 2022-03-09), running e.g.
online.git unit-tiff-load with sanitizers complains:

kit/Kit.cpp:2977:9: runtime error: call to function (unknown) through pointer to incorrect function type 'int (*)(const char *, const char *, _LibreOfficeKit **)'

I.e. the type in lok_preinit_2() is LibLibreOffice_Impl**, but the type
in LokHookPreInit2 is LibreOfficeKit**.

Since this is just a pointer, there is no harm in adapting
lok_preinit_2() to match.

Change-Id: Ib80711a5ae7719a9058151f482aca50c43185348
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134941
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2022-05-26 08:25:04 +02:00
..
app Just use Any ctor instead of makeAny in desktop 2022-05-04 19:28:34 +02:00
deployment tdf#149280 modified called after dialog was destroyed 2022-05-25 16:34:27 +02:00
inc
lib desktop: fix type of the last argument of lok_preinit_2() 2022-05-26 08:25:04 +02:00
migration Just use Any ctor instead of makeAny in desktop 2022-05-04 19:28:34 +02:00
minidump
offacc osl::Mutex->std::mutex in desktop::Acceptor 2022-05-09 10:17:38 +02:00
pkgchk/unopkg Just use Any ctor instead of makeAny in desktop 2022-05-04 19:28:34 +02:00
splash use more o3tl::getToken 2022-05-05 12:57:00 +02:00