vcl/source/gdi/impimage.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
New commits: commit 53501b4b339926485417d670fefcc59c7bc044cf Author: Tomaž Vajngerl <tomaz.vajng...@collabora.co.uk> Date: Tue Sep 29 15:43:14 2015 +0200 don't create "disabled" image - only to measure perf. impact Change-Id: Ic5541dfcb381fe1200cf47bd0cf8803f5348b2a7 diff --git a/vcl/source/gdi/impimage.cxx b/vcl/source/gdi/impimage.cxx index 067b6e8..220d08f 100644 --- a/vcl/source/gdi/impimage.cxx +++ b/vcl/source/gdi/impimage.cxx @@ -349,7 +349,9 @@ pOutDev void ImplImageBmp::ImplUpdateDisabledBmpEx( int nPos ) { - const Size aTotalSize( maBmpEx.GetSizePixel() ); + maDisabledBmpEx = maBmpEx; + + /*const Size aTotalSize( maBmpEx.GetSizePixel() ); if( maDisabledBmpEx.IsEmpty() ) { @@ -397,7 +399,7 @@ void ImplImageBmp::ImplUpdateDisabledBmpEx( int nPos ) Bitmap::ReleaseAccess( pGrey ); aGreyAlphaMask.ReleaseAccess( pGreyAlphaMask ); - maDisabledBmpEx = BitmapEx( aGrey, aGreyAlphaMask ); + maDisabledBmpEx = BitmapEx( aGrey, aGreyAlphaMask );*/ } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits