summaryrefslogtreecommitdiff
path: root/include/vcl/print.hxx
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2014-04-10 00:33:28 +1000
committerChris Sherlock <chris.sherlock79@gmail.com>2014-04-10 01:11:38 +1000
commit480157e58fe4fe6694c0459d3f9f009d1c0902bf (patch)
tree292d450ad8dbc67b439e92f410595bc67bc6fca0 /include/vcl/print.hxx
parenta420aa90a8ca2c2bf7cc10068d68ae82b946ac6c (diff)
Remove unnecessary bound-box parameter from clipping functions
The bounding rectangle actually comes from the polygon. Therefore, it's not needed. Removed from the following functions in OutputDevice, et al + ClipAndDrawGradient + XORClipAndDrawGradient + ClipAndDrawGradientMetafile Change-Id: I4a87edcddb8895871982f0448854e1c0854124bc
Diffstat (limited to 'include/vcl/print.hxx')
-rw-r--r--include/vcl/print.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/print.hxx b/include/vcl/print.hxx
index 723d734dd18e..1f9b6fd3d14b 100644
--- a/include/vcl/print.hxx
+++ b/include/vcl/print.hxx
@@ -275,7 +275,7 @@ public:
protected:
long ImplGetGradientStepCount( long nMinRect ) SAL_OVERRIDE;
virtual void ClipAndDrawGradientToBounds( Gradient &rGradient, const PolyPolygon &rPolyPoly ) SAL_OVERRIDE;
- virtual void ClipAndDrawGradientMetafile ( const Gradient &rGradient, const PolyPolygon &rPolyPoly, const Rectangle &rBoundRect ) SAL_OVERRIDE;
+ virtual void ClipAndDrawGradientMetafile ( const Gradient &rGradient, const PolyPolygon &rPolyPoly ) SAL_OVERRIDE;
virtual bool UsePolyPolygonForComplexGradient() SAL_OVERRIDE;
void ScaleBitmap ( Bitmap&, SalTwoRect& ) SAL_OVERRIDE { };