summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-22 11:02:48 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-22 11:03:09 +0000
commita88f507bc66cbceb6b82f5ca4ff04dec79eaa276 (patch)
tree3b9ba7a14d6ae9efd967fb5e7818f990a71b31f5 /vcl
parent29556076048e6a0214ba152e345d5f26d12700d8 (diff)
pick a reasonable looking place for a SolarMutexGuard for setting changes
Change-Id: Ibfe88035900fb6aa638d9654b68a8b8b452c6c75
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/app/svapp.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx
index 83f0332693d7..3abd61839acb 100644
--- a/vcl/source/app/svapp.cxx
+++ b/vcl/source/app/svapp.cxx
@@ -513,6 +513,8 @@ bool Application::ValidateSystemFont()
void Application::SetSettings( const AllSettings& rSettings )
{
+ const SolarMutexGuard aGuard;
+
ImplSVData* pSVData = ImplGetSVData();
if ( !pSVData->maAppData.mpSettings )
{