diff options
-rw-r--r-- | vcl/headless/svpframe.cxx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/vcl/headless/svpframe.cxx b/vcl/headless/svpframe.cxx index 7eac6b3a6740..0ce76cf119d1 100644 --- a/vcl/headless/svpframe.cxx +++ b/vcl/headless/svpframe.cxx @@ -26,7 +26,9 @@ #include <basegfx/vector/b2ivector.hxx> +#ifndef IOS #include <cairo.h> +#endif using namespace basegfx; @@ -44,7 +46,9 @@ SvpSalFrame::SvpSalFrame( SvpSalInstance* pInstance, m_pParent( static_cast<SvpSalFrame*>(pParent) ), m_nStyle( nSalFrameStyle ), m_bVisible( false ), +#ifndef IOS m_pSurface( nullptr ), +#endif m_nMinWidth( 0 ), m_nMinHeight( 0 ), m_nMaxWidth( 0 ), @@ -55,7 +59,7 @@ SvpSalFrame::SvpSalFrame( SvpSalInstance* pInstance, memset( static_cast<void *>(&m_aSystemChildData), 0, sizeof( SystemEnvData ) ); m_aSystemChildData.nSize = sizeof( SystemEnvData ); #ifdef IOS - (void) nScanlineFormat; + // Nothing #elif defined ANDROID // Nothing #else @@ -111,8 +115,10 @@ SvpSalFrame::~SvpSalFrame() } } } +#ifndef IOS if (m_pSurface) cairo_surface_destroy(m_pSurface); +#endif } void SvpSalFrame::GetFocus() |