summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/alpha.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/gdi/alpha.cxx')
-rw-r--r--vcl/source/gdi/alpha.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/vcl/source/gdi/alpha.cxx b/vcl/source/gdi/alpha.cxx
index 258c2fde9ef5..f76f21304de9 100644
--- a/vcl/source/gdi/alpha.cxx
+++ b/vcl/source/gdi/alpha.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: alpha.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: vg $ $Date: 2004-01-06 13:26:28 $
+ * last change: $Author: rt $ $Date: 2004-11-03 16:04:49 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -134,6 +134,7 @@ const Bitmap& AlphaMask::ImplGetBitmap() const
void AlphaMask::ImplSetBitmap( const Bitmap& rBitmap )
{
+ DBG_ASSERT( ( 8 == rBitmap.GetBitCount() ) && rBitmap.HasGreyPalette(), "AlphaMask::ImplSetBitmap: invalid bitmap" );
*(Bitmap*) this = rBitmap;
}