Kaydet (Commit) 442b788b authored tarafından Caolán McNamara's avatar Caolán McNamara

Resolves: tdf#90609 SolarMutex assert on threaded load

Change-Id: I81a784ab506d0d3ae266d7341b8ff7a163dcd8d2
üst 288e005e
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
#include <sal/alloca.h> #include <sal/alloca.h>
#include <vcl/outdev.hxx> #include <vcl/outdev.hxx>
#include <vcl/svapp.hxx>
// class VCLXFont // class VCLXFont
...@@ -200,6 +201,7 @@ sal_Bool VCLXFont::hasGlyphs( const OUString& aText ) ...@@ -200,6 +201,7 @@ sal_Bool VCLXFont::hasGlyphs( const OUString& aText )
throw(::com::sun::star::uno::RuntimeException, std::exception) throw(::com::sun::star::uno::RuntimeException, std::exception)
{ {
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
SolarMutexGuard aSolarGuard;
OutputDevice* pOutDev = VCLUnoHelper::GetOutputDevice( mxDevice ); OutputDevice* pOutDev = VCLUnoHelper::GetOutputDevice( mxDevice );
if ( pOutDev ) if ( pOutDev )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment