vcl/qt5/QtTimer.cxx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)
New commits: commit ec0e34b115c9b882881ca2f2edaa13b1e0856b39 Author: Michael Weghorn <[email protected]> AuthorDate: Fri Feb 27 10:38:19 2026 +0100 Commit: Michael Weghorn <[email protected]> CommitDate: Sat Feb 28 09:10:14 2026 +0100 qt: Use existing GetQtInstance() Change-Id: I018e869ed1ff5daf32a36c1d863d274ef77de941 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/200575 Tested-by: Jenkins Reviewed-by: Michael Weghorn <[email protected]> diff --git a/vcl/qt5/QtTimer.cxx b/vcl/qt5/QtTimer.cxx index 690a3920341d..586ada5bacf3 100644 --- a/vcl/qt5/QtTimer.cxx +++ b/vcl/qt5/QtTimer.cxx @@ -49,11 +49,7 @@ void QtTimer::timeoutActivated() SolarMutexGuard aGuard; #endif if (Application::IsUseSystemEventLoop()) - { - const ImplSVData* pSVData = ImplGetSVData(); - assert(pSVData && pSVData->mpDefInst); - static_cast<QtInstance*>(pSVData->mpDefInst)->DispatchUserEvents(true); - } + GetQtInstance().DispatchUserEvents(true); CallCallback(); }
