summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vcl/ios/iosinst.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/ios/iosinst.cxx b/vcl/ios/iosinst.cxx
index e71b71156035..92cd91ada51b 100644
--- a/vcl/ios/iosinst.cxx
+++ b/vcl/ios/iosinst.cxx
@@ -89,9 +89,9 @@ public:
SalFrame *pParent,
SalFrameStyleFlags nSalFrameStyle,
SystemParentData *pSysParent )
- : SvpSalFrame( pInstance, pParent, nSalFrameStyle,
- pSysParent )
+ : SvpSalFrame( pInstance, pParent, nSalFrameStyle )
{
+ pSysParent = NULL;
if (pParent == NULL && viewWidth > 1 && viewHeight > 1)
SetPosSize(0, 0, viewWidth, viewHeight, SAL_FRAME_POSSIZE_WIDTH | SAL_FRAME_POSSIZE_HEIGHT);
}