From 628b07cfc0417e87a6f2558543608aba04089d6a Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Mon, 24 Mar 2014 19:02:37 +0200 Subject: Seems we don't need any basebmp stuff in AquaSalGraphics on iOS No repeatable visible differences in TiledLibreOffice for my test docs. Probably we should unify the iOS vcl code even harder with the OS X code, get rid of the last remains of the pre-tiled-rendering basebmp bitmap-based stuff. Change-Id: I2484585d3d0ef5ce758d0a654717d23464464c1a --- vcl/headless/svpframe.cxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'vcl/headless/svpframe.cxx') diff --git a/vcl/headless/svpframe.cxx b/vcl/headless/svpframe.cxx index 68aa4d0f603e..6e12d6aeacd1 100644 --- a/vcl/headless/svpframe.cxx +++ b/vcl/headless/svpframe.cxx @@ -170,7 +170,9 @@ void SvpSalFrame::LoseFocus() SalGraphics* SvpSalFrame::AcquireGraphics() { SvpSalGraphics* pGraphics = new SvpSalGraphics(); +#ifndef IOS pGraphics->setDevice( m_aFrame ); +#endif m_aGraphics.push_back( pGraphics ); return pGraphics; } @@ -293,7 +295,11 @@ void SvpSalFrame::SetPosSize( long nX, long nY, long nWidth, long nHeight, sal_u // update device in existing graphics for( std::list< SvpSalGraphics* >::iterator it = m_aGraphics.begin(); it != m_aGraphics.end(); ++it ) + { +#ifndef IOS (*it)->setDevice( m_aFrame ); +#endif + } } if( m_bVisible ) m_pInstance->PostEvent( this, NULL, SALEVENT_RESIZE ); -- cgit