desktop/source/lib/init.cxx | 20 -------------------- 1 file changed, 20 deletions(-)
New commits: commit a7039218f3df28cf0d7d32b34b0eb9aaa68e85b6 Author: Tor Lillqvist <[email protected]> AuthorDate: Wed Apr 26 13:03:16 2023 +0300 Commit: Tor Lillqvist <[email protected]> CommitDate: Thu Apr 27 12:04:15 2023 +0200 Bin leftover dead code Change-Id: Ie0583d52b01bba92e6fc41f0fee3fd4732f1d479 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151080 Tested-by: Tor Lillqvist <[email protected]> Reviewed-by: Tor Lillqvist <[email protected]> diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index 918a4fe04368..31477dd7588c 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -7913,26 +7913,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: */
