diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-10-10 10:17:55 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-10-10 12:50:18 +0100 |
commit | 04301686969bc244dd21a4d41906617e2e95b47e (patch) | |
tree | 9b81a3f71025ac65c9c1e5181a62f3fa3fd625ac /vcl/source | |
parent | a1b7164742f6e31bd977328417522343b4a237d6 (diff) |
drop unused ImplBlendLines template
Change-Id: Id680f6031d40f086e74472d14fbf70cbf8cc43a1
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/gdi/bmpfast.cxx | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/vcl/source/gdi/bmpfast.cxx b/vcl/source/gdi/bmpfast.cxx index 7bfb28b7139e..84004bfd16c3 100644 --- a/vcl/source/gdi/bmpfast.cxx +++ b/vcl/source/gdi/bmpfast.cxx @@ -314,26 +314,6 @@ inline void ImplBlendLines( const TrueColorPixelPtr<DSTFMT>& rDst, } } -template <unsigned ALPHABITS, sal_uLong SRCFMT, sal_uLong DSTFMT> -inline void ImplBlendLines( const TrueColorPixelPtr<DSTFMT>& rDst, - const TrueColorPixelPtr<SRCFMT>& rSrc, unsigned nAlphaVal, - int nPixelCount ) -{ - if( nAlphaVal == ~(~0 << ALPHABITS) ) - ImplConvertLine( rDst, rSrc, nPixelCount ); - else if( nAlphaVal ) - { - TrueColorPixelPtr<SRCFMT> aSrc( rSrc ); - TrueColorPixelPtr<DSTFMT> aDst( rDst ); - while( --nPixelCount >= 0 ) - { - ImplBlendPixels<ALPHABITS>( aDst, aSrc, nAlphaVal ); - ++aDst; - ++aSrc; - } - } -} - static bool ImplCopyImage( BitmapBuffer& rDstBuffer, const BitmapBuffer& rSrcBuffer ) { const int nSrcLinestep = rSrcBuffer.mnScanlineSize; |