diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2014-04-08 08:12:49 +1000 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2014-04-08 08:15:02 +1000 |
commit | 97043e70ef96d1fe8f42eb352a97149f77b73ac6 (patch) | |
tree | a431224525d5eb3a9e462af3be8123e9560ceb34 /include | |
parent | 702d79a3f8fd3c5e4b433195908317075c87ad9d (diff) |
Remove unnecessary ImplDrawMask function in OutputDevice
Every DrawMask variant calls on a final DrawMask - we duplicate code
and there is an unnecessary private ImplDrawMask function in
OutputDevice. We should just forward calls to DrawMask.
Change-Id: Ice24598e3a437ca51a047f6006acc5a66198ff22
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/outdev.hxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx index 6d60af5a4596..94805c709168 100644 --- a/include/vcl/outdev.hxx +++ b/include/vcl/outdev.hxx @@ -730,10 +730,6 @@ public: SAL_DLLPRIVATE void ImplDrawBitmapEx ( const Point& rDestPt, const Size& rDestSize, const Point& rSrcPtPixel, const Size& rSrcSizePixel, const BitmapEx& rBitmapEx, const sal_uLong nAction ); - SAL_DLLPRIVATE void ImplDrawMask ( const Point& rDestPt, const Size& rDestSize, - const Point& rSrcPtPixel, const Size& rSrcSizePixel, - const Bitmap& rBitmap, const Color& rMaskColor, - const sal_uLong nAction ); SAL_DLLPRIVATE void ImplDrawAlpha ( const Bitmap& rBmp, const AlphaMask& rAlpha, const Point& rDestPt, const Size& rDestSize, const Point& rSrcPtPixel, const Size& rSrcSizePixel ); @@ -1104,7 +1100,8 @@ public: const Bitmap& rBitmap, const Color& rMaskColor ); void DrawMask( const Point& rDestPt, const Size& rDestSize, const Point& rSrcPtPixel, const Size& rSrcSizePixel, - const Bitmap& rBitmap, const Color& rMaskColor ); + const Bitmap& rBitmap, const Color& rMaskColor, + sal_uLong nAction ); void DrawImage( const Point& rPos, const Image& rImage, sal_uInt16 nStyle = 0 ); |