summaryrefslogtreecommitdiff
path: root/vcl/headless
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/headless')
-rw-r--r--vcl/headless/svpframe.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/vcl/headless/svpframe.cxx b/vcl/headless/svpframe.cxx
index dfe96a004004..bf679d9bc5d3 100644
--- a/vcl/headless/svpframe.cxx
+++ b/vcl/headless/svpframe.cxx
@@ -84,15 +84,12 @@ SvpSalFrame::SvpSalFrame( SvpSalInstance* pInstance,
m_aSystemChildData.nSize = sizeof( SystemChildData );
#ifdef IOS
// Nothing
+#elif defined ANDROID
+ // Nothing
#else
m_aSystemChildData.pSalFrame = this;
-#ifdef ANDROID
- // We want 32-bit RGBA bitmaps
- m_aSystemChildData.nDepth = 32;
-#else
m_aSystemChildData.nDepth = 24;
#endif
-#endif
if( m_pParent )
m_pParent->m_aChildren.push_back( this );