summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-06-19 16:06:15 +0300
committerTor Lillqvist <tml@iki.fi>2013-06-19 16:11:30 +0300
commit97cd0f38a53f97034442de57d48006d30c4a94db (patch)
tree7a9087f813bb36bcbc9fe3f45e0f9fcaab9c4aa5 /vcl
parentdbb0703272c55c74a150ec4b6a60463e6212d585 (diff)
Call CheckContext() on OS X, too
Change-Id: I093586b0c979e492ea2a09dca9525b808de3ce70
Diffstat (limited to 'vcl')
-rw-r--r--vcl/coretext/ctlayout.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/vcl/coretext/ctlayout.cxx b/vcl/coretext/ctlayout.cxx
index 721d7708afab..183309361165 100644
--- a/vcl/coretext/ctlayout.cxx
+++ b/vcl/coretext/ctlayout.cxx
@@ -433,10 +433,8 @@ bool CTLayout::GetBoundRect( SalGraphics& rGraphics, Rectangle& rVCLRect ) const
AquaSalGraphics& rAquaGraphics = static_cast<AquaSalGraphics&>(rGraphics);
-#ifdef IOS
if( !rAquaGraphics.CheckContext() )
return false;
-#endif
CGContextSaveGState( rAquaGraphics.mrContext );
CGContextScaleCTM( rAquaGraphics.mrContext, 1.0, -1.0 );