[Libreoffice-commits] core.git: Branch 'libreoffice-4-4' - toolkit/source

Caolán McNamara caolanm at redhat.com
Tue Jul 28 08:34:17 PDT 2015


 toolkit/source/awt/vclxfont.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit f7413bed0af236e3a15a5d14ed4045f55dea6d0f
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Jul 24 13:09:28 2015 +0100

    Resolves: tdf#90609 SolarMutex assert on threaded load
    
    Change-Id: I81a784ab506d0d3ae266d7341b8ff7a163dcd8d2
    (cherry picked from commit 442b788bc80e20783bdb881aa0cbbc253f1a47b0)
    Reviewed-on: https://gerrit.libreoffice.org/17328
    Reviewed-by: Eike Rathke <erack at redhat.com>
    Tested-by: Eike Rathke <erack at redhat.com>

diff --git a/toolkit/source/awt/vclxfont.cxx b/toolkit/source/awt/vclxfont.cxx
index d937ad4..150dadd 100644
--- a/toolkit/source/awt/vclxfont.cxx
+++ b/toolkit/source/awt/vclxfont.cxx
@@ -29,6 +29,7 @@
 #include <sal/alloca.h>
 
 #include <vcl/outdev.hxx>
+#include <vcl/svapp.hxx>
 
 
 //  class VCLXFont
@@ -200,6 +201,7 @@ sal_Bool VCLXFont::hasGlyphs( const OUString& aText )
     throw(::com::sun::star::uno::RuntimeException, std::exception)
 {
     ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
+    SolarMutexGuard aSolarGuard;
 
     OutputDevice* pOutDev = VCLUnoHelper::GetOutputDevice( mxDevice );
     if ( pOutDev )


More information about the Libreoffice-commits mailing list