diff options
author | Tor Lillqvist <tml@collabora.com> | 2023-04-26 13:03:16 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2023-04-27 12:04:15 +0200 |
commit | a7039218f3df28cf0d7d32b34b0eb9aaa68e85b6 (patch) | |
tree | 483e46710a77739e5efcb51f097c01be44730e48 /desktop | |
parent | 29014b2d883d4b94039bfba697606b9b87b905aa (diff) |
Bin leftover dead code
Change-Id: Ie0583d52b01bba92e6fc41f0fee3fd4732f1d479
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151080
Tested-by: Tor Lillqvist <tml@collabora.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/lib/init.cxx | 20 |
1 files changed, 0 insertions, 20 deletions
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: */ |