summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/bitmap.cxx
diff options
context:
space:
mode:
authorThorsten Behrens <thb@openoffice.org>2002-10-22 16:25:33 +0000
committerThorsten Behrens <thb@openoffice.org>2002-10-22 16:25:33 +0000
commit3352637d12aea48cdaa6f3cab8fb70b23b2ee09e (patch)
treea3bcd0b6fedc30f222b3651a34cf92501007c543 /vcl/source/gdi/bitmap.cxx
parentec200732e539b8509eae8e9e8db9bf17f3396f77 (diff)
#104115# Correctly setting the return value
Diffstat (limited to 'vcl/source/gdi/bitmap.cxx')
-rw-r--r--vcl/source/gdi/bitmap.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/vcl/source/gdi/bitmap.cxx b/vcl/source/gdi/bitmap.cxx
index 79bcc481bd79..b20101c4786a 100644
--- a/vcl/source/gdi/bitmap.cxx
+++ b/vcl/source/gdi/bitmap.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: bitmap.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: ka $ $Date: 2002-04-24 14:14:26 $
+ * last change: $Author: thb $ $Date: 2002-10-22 17:25:33 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1521,6 +1521,8 @@ BOOL Bitmap::Replace( const Bitmap& rMask, const Color& rReplaceColor )
for( long nX = 0L; nX < nWidth; nX++ )
if( pMaskAcc->GetPixel( nY, nX ) == aMaskWhite )
pAcc->SetPixel( nY, nX, aReplace );
+
+ bRet = TRUE;
}
( (Bitmap&) rMask ).ReleaseAccess( pMaskAcc );
@@ -1917,6 +1919,8 @@ BOOL Bitmap::CombineSimple( const Bitmap& rMask, BmpCombine eCombine )
}
break;
}
+
+ bRet = TRUE;
}
( (Bitmap&) rMask ).ReleaseAccess( pMaskAcc );