diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2014-04-19 21:16:06 +1000 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2014-04-19 21:26:06 +1000 |
commit | 896526dec395e679f4145428328b690b0c81df52 (patch) | |
tree | a051c3b1023b4dd580bf17602a7c576f6ee7732c | |
parent | bde1e4dce3e036d2265e22910156ca6345b596ab (diff) |
fdo#77667 Remove gcc3 workaround
It appears from previous commit log entries that GCC 3.3 and below had
problems handling instantiated objects as parameters. Therefore, we
don't need this aNullPt, so removing it.
Change-Id: I8f88067628078e5b57ed76b8b7dfdb76baa3b2ea
-rw-r--r-- | vcl/source/outdev/bitmap.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/vcl/source/outdev/bitmap.cxx b/vcl/source/outdev/bitmap.cxx index 23d1177726e0..130a2c39cf32 100644 --- a/vcl/source/outdev/bitmap.cxx +++ b/vcl/source/outdev/bitmap.cxx @@ -941,10 +941,9 @@ void OutputDevice::ImplDrawAlpha( const Bitmap& rBmp, const AlphaMask& rAlpha, const Point& rDestPt, const Size& rDestSize, const Point& rSrcPtPixel, const Size& rSrcSizePixel ) { - const Point aNullPt; Point aOutPt( LogicToPixel( rDestPt ) ); Size aOutSz( LogicToPixel( rDestSize ) ); - Rectangle aDstRect( aNullPt, GetOutputSizePixel() ); + Rectangle aDstRect( Point(), GetOutputSizePixel() ); const bool bHMirr = aOutSz.Width() < 0; const bool bVMirr = aOutSz.Height() < 0; @@ -999,7 +998,7 @@ void OutputDevice::ImplDrawAlpha( const Bitmap& rBmp, const AlphaMask& rAlpha, VirtualDevice* pOldVDev = mpAlphaVDev; - Rectangle aBmpRect( aNullPt, rBmp.GetSizePixel() ); + Rectangle aBmpRect( Point(), rBmp.GetSizePixel() ); if( !bNativeAlpha && !aBmpRect.Intersection( Rectangle( rSrcPtPixel, rSrcSizePixel ) ).IsEmpty() ) { |