summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/print.cxx
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2014-04-11 18:43:10 +1000
committerChris Sherlock <chris.sherlock79@gmail.com>2014-04-11 18:46:04 +1000
commit4f8d667c7075cab08b4a1918bfba2c42811a436d (patch)
treeff0b04be33c2b4a79fa835464c92dbe1531138b6 /vcl/source/gdi/print.cxx
parent78d015849cda869e1ed5411a9cc1db912eab2f57 (diff)
ClipAndDrawGradientToBounds no longer required
Now that we have removed XORClipAndDrawGradient, there is no need for the function ClipAndDrawGradientToBounds because the sole purpose of that function was to work out whether the system should use XOR clipping or not for gradients! Change-Id: Id29b804054dfc30a9cc350bf4958ea3b2420e272
Diffstat (limited to 'vcl/source/gdi/print.cxx')
-rw-r--r--vcl/source/gdi/print.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/vcl/source/gdi/print.cxx b/vcl/source/gdi/print.cxx
index cb8d90345dbb..95fb0f113226 100644
--- a/vcl/source/gdi/print.cxx
+++ b/vcl/source/gdi/print.cxx
@@ -1812,11 +1812,6 @@ bool Printer::UsePolyPolygonForComplexGradient()
return true;
}
-void Printer::ClipAndDrawGradientToBounds ( Gradient &rGradient, const PolyPolygon &rPolyPoly )
-{
- ClipAndDrawGradient ( rGradient, rPolyPoly );
-}
-
void Printer::ClipAndDrawGradientMetafile ( const Gradient &rGradient, const PolyPolygon &rPolyPoly )
{
const Rectangle aBoundRect( rPolyPoly.GetBoundRect() );