Bin leftover dead code

Change-Id: Ie0583d52b01bba92e6fc41f0fee3fd4732f1d479
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151054
Tested-by: Jenkins
Reviewed-by: Tor Lillqvist <tml@collabora.com>
This commit is contained in:
Tor Lillqvist
2023-04-26 14:58:48 +02:00
parent 09834f2d6d
commit 4348f87828
-20
View File
@@ -7868,26 +7868,6 @@ static void lo_destroy(LibreOfficeKit* pThis)
SAL_INFO("lok", "LO Destroy Done");
}
#ifdef IOS
// Used by the unmaintained LibreOfficeLight app. Once that has been retired, get rid of this, too.
__attribute__((visibility("default")))
void temporaryHackToInvokeCallbackHandlers(LibreOfficeKitDocument* pThis)
{
SolarMutexGuard aGuard;
LibLODocument_Impl* pDocument = static_cast<LibLODocument_Impl*>(pThis);
int nOrigViewId = doc_getView(pThis);
if (nOrigViewId >= 0 && pDocument->mpCallbackFlushHandlers[nOrigViewId])
{
pDocument->mpCallbackFlushHandlers[nOrigViewId]->Invoke();
}
}
#endif
} // extern "C"
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */