diff options
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/gdi/print.cxx | 2 | ||||
-rw-r--r-- | vcl/source/outdev/outdev.cxx | 8 | ||||
-rw-r--r-- | vcl/source/window/window.cxx | 6 |
3 files changed, 8 insertions, 8 deletions
diff --git a/vcl/source/gdi/print.cxx b/vcl/source/gdi/print.cxx index ebc5f2b34f53..3b0c145f617c 100644 --- a/vcl/source/gdi/print.cxx +++ b/vcl/source/gdi/print.cxx @@ -339,7 +339,7 @@ void Printer::DrawOutDev( const Point& /*rDestPt*/, const Size& /*rDestSize*/, void Printer::CopyArea( const Point& /*rDestPt*/, const Point& /*rSrcPt*/, const Size& /*rSrcSize*/, - sal_uInt16 /*nFlags*/ ) + bool /*bWindowInvalidate*/ ) { DBG_ASSERT( false, "Don't use OutputDevice::CopyArea(...) with printer devices!" ); } 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; diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx index 34aa2856fdac..9893ee41285e 100644 --- a/vcl/source/window/window.cxx +++ b/vcl/source/window/window.cxx @@ -1292,12 +1292,12 @@ ImplWinData* Window::ImplGetWinData() const } -void Window::CopyDeviceArea( SalTwoRect& aPosAry, sal_uInt32 nFlags ) +void Window::CopyDeviceArea( SalTwoRect& aPosAry, bool bWindowInvalidate ) { if (aPosAry.mnSrcWidth == 0 || aPosAry.mnSrcHeight == 0 || aPosAry.mnDestWidth == 0 || aPosAry.mnDestHeight == 0) return; - if (nFlags & COPYAREA_WINDOWINVALIDATE) + if (bWindowInvalidate) { const Rectangle aSrcRect(Point(aPosAry.mnSrcX, aPosAry.mnSrcY), Size(aPosAry.mnSrcWidth, aPosAry.mnSrcHeight)); @@ -1315,7 +1315,7 @@ void Window::CopyDeviceArea( SalTwoRect& aPosAry, sal_uInt32 nFlags ) return; } - OutputDevice::CopyDeviceArea(aPosAry, nFlags); + OutputDevice::CopyDeviceArea(aPosAry, bWindowInvalidate); } SalGraphics* Window::ImplGetFrameGraphics() const |