[Libreoffice-commits] core.git: Branch 'feature/gsoc14-personas' - cui/source
Jan Holesovsky
kendy at collabora.com
Tue Jun 3 03:24:17 PDT 2014
cui/source/options/personalization.cxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit e28749854b89a596f4da7aa710b2a5daf588c4f7
Author: Jan Holesovsky <kendy at collabora.com>
Date: Sun Jun 1 13:15:02 2014 +0200
Acquire the solar mutex, otherwise we cannot access vcl in the thread.
Change-Id: I02fdbbfd4c9516597df395163e28f1d616aa390d
diff --git a/cui/source/options/personalization.cxx b/cui/source/options/personalization.cxx
index 9c8d345..c619624 100644
--- a/cui/source/options/personalization.cxx
+++ b/cui/source/options/personalization.cxx
@@ -371,6 +371,10 @@ void SearchAndParseThread::execute()
Bitmap aBmp = aGraphic.GetBitmap();
vResultList.push_back( Image( aBmp ) );
}
+
+ // for VCL to be able to do visual changes in the thread
+ SolarMutexGuard aGuard;
+
m_pPersonaDialog->SetImages( vResultList );
sProgress = "";
m_pPersonaDialog->SetProgress( sProgress );
More information about the Libreoffice-commits
mailing list