diff options
-rw-r--r-- | vcl/qt5/Qt5Widget.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/qt5/Qt5Widget.cxx b/vcl/qt5/Qt5Widget.cxx index 4b378cd44cb2..27ce382cb349 100644 --- a/vcl/qt5/Qt5Widget.cxx +++ b/vcl/qt5/Qt5Widget.cxx @@ -588,6 +588,7 @@ void Qt5Widget::inputMethodEvent(QInputMethodEvent* pEvent) static bool lcl_retrieveSurrounding(sal_Int32& rPosition, sal_Int32& rAnchor, QString* pText, QString* pSelection) { + SolarMutexGuard aGuard; vcl::Window* pFocusWin = Application::GetFocusWindow(); if (!pFocusWin) return false; |