summaryrefslogtreecommitdiff
path: root/vcl/headless/svpframe.cxx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-03-24 19:02:37 +0200
committerTor Lillqvist <tml@collabora.com>2014-03-26 10:15:42 +0200
commit628b07cfc0417e87a6f2558543608aba04089d6a (patch)
treefe3d33a445113db8482936e927a8ca8aefaa0f79 /vcl/headless/svpframe.cxx
parent99a79ef856fb6b02196f71e67907a6a45940de01 (diff)
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
Diffstat (limited to 'vcl/headless/svpframe.cxx')
-rw-r--r--vcl/headless/svpframe.cxx6
1 files changed, 6 insertions, 0 deletions
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 );