diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2014-05-20 00:45:49 +1000 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2014-05-20 00:45:49 +1000 |
commit | e77bb87b419567660e0a666b5b016e856f53242b (patch) | |
tree | 16ded88ee70ed5ed51cf4e0c5bfd9db2ab01a286 /vcl | |
parent | f797e6c4676a69b862a1db316fafa591ebe269f3 (diff) |
vcl: rename CopyAreaFinal to CopyDeviceArea
The name I gave this makes no sense. Basically, this function calls on
the SalGraphics function to copy the area, so really this name is much
more clear.
Change-Id: I842e6f2b81014a8222c39a62c5437bd53d66141c
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/outdev/outdev.cxx | 4 | ||||
-rw-r--r-- | vcl/source/window/window.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/vcl/source/outdev/outdev.cxx b/vcl/source/outdev/outdev.cxx index 3d5241c7486c..7be114ac1ee3 100644 --- a/vcl/source/outdev/outdev.cxx +++ b/vcl/source/outdev/outdev.cxx @@ -679,7 +679,7 @@ void OutputDevice::CopyArea( const Point& rDestPt, AdjustTwoRect( aPosAry, aSrcOutRect ); - CopyAreaFinal ( aPosAry, nFlags ); + CopyDeviceArea ( aPosAry, nFlags ); } SetRasterOp( eOldRop ); @@ -690,7 +690,7 @@ void OutputDevice::CopyArea( const Point& rDestPt, // Direct OutputDevice drawing protected function -void OutputDevice::CopyAreaFinal( SalTwoRect& aPosAry, sal_uInt32 /*nFlags*/) +void OutputDevice::CopyDeviceArea( SalTwoRect& aPosAry, sal_uInt32 /*nFlags*/) { 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 063a7f5d7cad..ce8f7df8d63b 100644 --- a/vcl/source/window/window.cxx +++ b/vcl/source/window/window.cxx @@ -403,7 +403,7 @@ void Window::EnableRTL ( bool bEnable ) OutputDevice::EnableRTL(bEnable); } -void Window::CopyAreaFinal( SalTwoRect& aPosAry, sal_uInt32 nFlags ) +void Window::CopyDeviceArea( SalTwoRect& aPosAry, sal_uInt32 nFlags ) { if (aPosAry.mnSrcWidth == 0 || aPosAry.mnSrcHeight == 0 || aPosAry.mnDestWidth == 0 || aPosAry.mnDestHeight == 0) return; @@ -426,7 +426,7 @@ void Window::CopyAreaFinal( SalTwoRect& aPosAry, sal_uInt32 nFlags ) return; } - OutputDevice::CopyAreaFinal(aPosAry, nFlags); + OutputDevice::CopyDeviceArea(aPosAry, nFlags); } bool Window::HasMirroredGraphics() const |