diff options
author | Kai Ahrens <ka@openoffice.org> | 2002-08-21 07:16:13 +0000 |
---|---|---|
committer | Kai Ahrens <ka@openoffice.org> | 2002-08-21 07:16:13 +0000 |
commit | d3ed84e4682de27d5c15b0d15084f7e879366620 (patch) | |
tree | de72fe50d4d9311b8b30b5c174ee1d4206f74f9d /vcl/source/gdi/impimage.cxx | |
parent | 84a91a6ccab014bb7b3555d86af4b05e1061a348 (diff) |
#101527#: decreased black threshold for disbled image
Diffstat (limited to 'vcl/source/gdi/impimage.cxx')
-rw-r--r-- | vcl/source/gdi/impimage.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/gdi/impimage.cxx b/vcl/source/gdi/impimage.cxx index 9244d62df0cf..70182ac88937 100644 --- a/vcl/source/gdi/impimage.cxx +++ b/vcl/source/gdi/impimage.cxx @@ -2,9 +2,9 @@ * * $RCSfile: impimage.cxx,v $ * - * $Revision: 1.8 $ + * $Revision: 1.9 $ * - * last change: $Author: ssa $ $Date: 2002-08-14 10:17:31 $ + * last change: $Author: ka $ $Date: 2002-08-21 08:16:13 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -662,7 +662,7 @@ void ImplImageBmp::ImplUpdateDisaBmp( USHORT nPos ) const BitmapColor aDisBlack( pDis->GetBestMatchingColor( aBlack ) ); long nLeft, nTop, nRight, nBottom; long nCurLeft, nCurRight; - const long nBlackThreshold = aSize.Width() * aSize.Height() / 15; + const long nBlackThreshold = FRound( aSize.Width() * aSize.Height() * 0.10 ); if( DISA_ALL != nPos ) { |