[Libreoffice-commits] core.git: vcl/ios
jan Iversen
jani at libreoffice.org
Wed May 3 13:02:25 UTC 2017
vcl/ios/iosinst.cxx | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
New commits:
commit 99f23a451050eb24938a5ff5a21b50a3f9a3340a
Author: jan Iversen <jani at libreoffice.org>
Date: Wed May 3 14:59:30 2017 +0200
iOS remove unused parameter
Removed pSys parameter from IosSalFrame
Change-Id: Ib61f09448ef0c6751d4261b11d6a7b9dc45e786b
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
More information about the Libreoffice-commits
mailing list