summaryrefslogtreecommitdiff
path: root/vcl/source/outdev/outdev.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-05-18 14:41:05 +0200
committerNoel Grandin <noel@peralex.com>2015-05-20 09:52:08 +0200
commit953f327818f565969b8de5d9b956bd6b9a7c64b2 (patch)
treecaf761676202ca7bcba8a57a3e34e197ae0831ee /vcl/source/outdev/outdev.cxx
parent25a47c5cd54c73e754de988bde8ec8a202d27717 (diff)
convert COPYAREA constant to bool flag
since there is only value in this flags thing Change-Id: I86d7a3a358c467a9748b00e1ba8c09106f282947
Diffstat (limited to 'vcl/source/outdev/outdev.cxx')
-rw-r--r--vcl/source/outdev/outdev.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/source/outdev/outdev.cxx b/vcl/source/outdev/outdev.cxx
index 85ab4a2528f0..0fb1d342a560 100644
--- a/vcl/source/outdev/outdev.cxx
+++ b/vcl/source/outdev/outdev.cxx
@@ -611,7 +611,7 @@ void OutputDevice::DrawOutDev( const Point& rDestPt, const Size& rDestSize,
void OutputDevice::CopyArea( const Point& rDestPt,
const Point& rSrcPt, const Size& rSrcSize,
- sal_uInt16 nFlags )
+ bool bWindowInvalidate )
{
if ( ImplIsRecordLayout() )
return;
@@ -646,18 +646,18 @@ void OutputDevice::CopyArea( const Point& rDestPt,
AdjustTwoRect( aPosAry, aSrcOutRect );
- CopyDeviceArea ( aPosAry, nFlags );
+ CopyDeviceArea( aPosAry, bWindowInvalidate );
}
SetRasterOp( eOldRop );
if( mpAlphaVDev )
- mpAlphaVDev->CopyArea( rDestPt, rSrcPt, rSrcSize, nFlags );
+ mpAlphaVDev->CopyArea( rDestPt, rSrcPt, rSrcSize, bWindowInvalidate );
}
// Direct OutputDevice drawing protected function
-void OutputDevice::CopyDeviceArea( SalTwoRect& aPosAry, sal_uInt32 /*nFlags*/)
+void OutputDevice::CopyDeviceArea( SalTwoRect& aPosAry, bool /*bWindowInvalidate*/)
{
if (aPosAry.mnSrcWidth == 0 || aPosAry.mnSrcHeight == 0 || aPosAry.mnDestWidth == 0 || aPosAry.mnDestHeight == 0)
return;