diff options
author | jan Iversen <jani@libreoffice.org> | 2017-05-03 14:59:30 +0200 |
---|---|---|
committer | jan Iversen <jani@libreoffice.org> | 2017-05-03 15:01:12 +0200 |
commit | 99f23a451050eb24938a5ff5a21b50a3f9a3340a (patch) | |
tree | dc93a8252c631c9b91a36ee4292c449b075771f5 /vcl/ios | |
parent | a585b3cce140d78af05b051e2ed199eca088e535 (diff) |
iOS remove unused parameter
Removed pSys parameter from IosSalFrame
Change-Id: Ib61f09448ef0c6751d4261b11d6a7b9dc45e786b
Diffstat (limited to 'vcl/ios')
-rw-r--r-- | vcl/ios/iosinst.cxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/vcl/ios/iosinst.cxx b/vcl/ios/iosinst.cxx index 92cd91ada51b..b2b090834d87 100644 --- a/vcl/ios/iosinst.cxx +++ b/vcl/ios/iosinst.cxx @@ -87,11 +87,9 @@ class IosSalFrame : public SvpSalFrame public: IosSalFrame( IosSalInstance *pInstance, SalFrame *pParent, - SalFrameStyleFlags nSalFrameStyle, - SystemParentData *pSysParent ) + SalFrameStyleFlags nSalFrameStyle) : 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); } @@ -131,12 +129,13 @@ public: SalFrame *IosSalInstance::CreateChildFrame( SystemParentData* pParent, SalFrameStyleFlags nStyle ) { - return new IosSalFrame( this, NULL, nStyle, pParent ); + pParent = NULL; + return new IosSalFrame( this, NULL, nStyle ); } SalFrame *IosSalInstance::CreateFrame( SalFrame* pParent, SalFrameStyleFlags nStyle ) { - return new IosSalFrame( this, pParent, nStyle, NULL ); + return new IosSalFrame( this, pParent, nStyle ); } // All the interesting stuff is slaved from the IosSalInstance |