Kaydet (Commit) e77bb87b authored tarafından Chris Sherlock's avatar Chris Sherlock

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
üst f797e6c4
......@@ -515,7 +515,7 @@ public:
protected:
virtual void CopyAreaFinal( SalTwoRect& aPosAry, sal_uInt32 nFlags);
virtual void CopyDeviceArea( SalTwoRect& aPosAry, sal_uInt32 nFlags);
private:
......
......@@ -643,7 +643,7 @@ protected:
// FIXME: this is a hack to workaround missing layout functionality
SAL_DLLPRIVATE void ImplAdjustNWFSizes();
virtual void CopyAreaFinal( SalTwoRect& aPosAry, sal_uInt32 nFlags) SAL_OVERRIDE;
virtual void CopyDeviceArea( SalTwoRect& aPosAry, sal_uInt32 nFlags) SAL_OVERRIDE;
virtual void ClipToPaintRegion( Rectangle& rDstRect ) SAL_OVERRIDE;
virtual bool UsePolyPolygonForComplexGradient() SAL_OVERRIDE;
......
......@@ -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;
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment