Kaydet (Commit) 97cd0f38 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Call CheckContext() on OS X, too

Change-Id: I093586b0c979e492ea2a09dca9525b808de3ce70
üst dbb07032
...@@ -433,10 +433,8 @@ bool CTLayout::GetBoundRect( SalGraphics& rGraphics, Rectangle& rVCLRect ) const ...@@ -433,10 +433,8 @@ bool CTLayout::GetBoundRect( SalGraphics& rGraphics, Rectangle& rVCLRect ) const
AquaSalGraphics& rAquaGraphics = static_cast<AquaSalGraphics&>(rGraphics); AquaSalGraphics& rAquaGraphics = static_cast<AquaSalGraphics&>(rGraphics);
#ifdef IOS
if( !rAquaGraphics.CheckContext() ) if( !rAquaGraphics.CheckContext() )
return false; return false;
#endif
CGContextSaveGState( rAquaGraphics.mrContext ); CGContextSaveGState( rAquaGraphics.mrContext );
CGContextScaleCTM( rAquaGraphics.mrContext, 1.0, -1.0 ); CGContextScaleCTM( rAquaGraphics.mrContext, 1.0, -1.0 );
......
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