summaryrefslogtreecommitdiff
path: root/vcl/headless
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-03-08 10:51:28 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-03-08 11:45:47 +0000
commit2600220f53f51be2d017b012c56293bf8cf835ef (patch)
tree88bb373d0ecaea1e64c71ca4388e55e593d58aa7 /vcl/headless
parent7f40ed57eb921e491f2fb83c820cb453babd9843 (diff)
loplugin:constantparams in vcl
Change-Id: I2114436f4bef3ac71a3035a206186cefaf88bca1 Reviewed-on: https://gerrit.libreoffice.org/23023 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'vcl/headless')
-rw-r--r--vcl/headless/svpframe.cxx4
-rw-r--r--vcl/headless/svpinst.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/vcl/headless/svpframe.cxx b/vcl/headless/svpframe.cxx
index e8536edc66be..6269b5ea3c35 100644
--- a/vcl/headless/svpframe.cxx
+++ b/vcl/headless/svpframe.cxx
@@ -163,12 +163,12 @@ bool SvpSalFrame::PostEvent(ImplSVEvent* pData)
return true;
}
-void SvpSalFrame::PostPaint(bool bImmediate) const
+void SvpSalFrame::PostPaint() const
{
if( m_bVisible )
{
SalPaintEvent aPEvt(0, 0, maGeometry.nWidth, maGeometry.nHeight);
- aPEvt.mbImmediateUpdate = bImmediate;
+ aPEvt.mbImmediateUpdate = false;
CallCallback( SALEVENT_PAINT, &aPEvt );
}
}
diff --git a/vcl/headless/svpinst.cxx b/vcl/headless/svpinst.cxx
index 8897a1f740a8..ed3159ae543c 100644
--- a/vcl/headless/svpinst.cxx
+++ b/vcl/headless/svpinst.cxx
@@ -291,7 +291,7 @@ SalYieldResult SvpSalInstance::DoYield(bool bWait, bool bHandleAllCurrentEvents,
{
// this would be a good time to post a paint
const SvpSalFrame* pSvpFrame = static_cast<const SvpSalFrame*>(it->m_pFrame);
- pSvpFrame->PostPaint(false);
+ pSvpFrame->PostPaint();
}
}
}