diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-07-11 20:21:19 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-07-11 20:22:49 +0100 |
commit | 27ca06cbca5a483695009089a1107dbf55b3b9f5 (patch) | |
tree | 46536616a3f224c6f8bae45af0b42bd069967a23 /svx | |
parent | 0240927c82822059e2a8e42f29b2766f2ff6c73d (diff) |
Fix a SolarMutex assert
take the document of https://bugs.documentfoundation.org/attachment.cgi?id=125819
select the text shape and use file->edit and the solarmutex assert happens
inside SetTextToSelected_Impl
so move the mutex up a little
Change-Id: I972c4886a200a87ed10f49e36937defdbf5d9525
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/tbxctrls/tbunosearchcontrollers.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/tbxctrls/tbunosearchcontrollers.cxx b/svx/source/tbxctrls/tbunosearchcontrollers.cxx index 77c747416339..dfce497d202c 100644 --- a/svx/source/tbxctrls/tbunosearchcontrollers.cxx +++ b/svx/source/tbxctrls/tbunosearchcontrollers.cxx @@ -1166,10 +1166,10 @@ void SAL_CALL FindbarDispatcher::dispatch( const css::util::URL& aURL, const css vcl::Window* pItemWin = pToolBox->GetItemWindow( i ); if ( pItemWin ) { + SolarMutexGuard aSolarMutexGuard; FindTextFieldControl* pFindTextFieldControl = dynamic_cast<FindTextFieldControl*>(pItemWin); if ( pFindTextFieldControl ) pFindTextFieldControl->SetTextToSelected_Impl(); - SolarMutexGuard aSolarMutexGuard; pItemWin->GrabFocus(); return; } |