[Libreoffice-commits] core.git: Branch 'feature/fixes10' - vcl/source
Tomaž Vajngerl
tomaz.vajngerl at collabora.co.uk
Tue Sep 29 06:43:51 PDT 2015
vcl/source/gdi/impimage.cxx | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
New commits:
commit 53501b4b339926485417d670fefcc59c7bc044cf
Author: Tomaž Vajngerl <tomaz.vajngerl at 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: */
More information about the Libreoffice-commits
mailing list