renaissance1: #i107215# Small fixes.
This commit is contained in:
@@ -53,7 +53,9 @@ public:
|
||||
Representative (const Representative& rOther)
|
||||
: maBitmap(rOther.maBitmap), mbIsExcluded(rOther.mbIsExcluded) {}
|
||||
Representative operator= (Representative& rOther)
|
||||
{ maBitmap = rOther.maBitmap; mbIsExcluded = rOther.mbIsExcluded; }
|
||||
{ if (&rOther != this) {maBitmap = rOther.maBitmap; mbIsExcluded = rOther.mbIsExcluded; }
|
||||
return *this;
|
||||
}
|
||||
|
||||
Bitmap maBitmap;
|
||||
bool mbIsExcluded;
|
||||
|
@@ -110,7 +110,7 @@ void FramePainter::AdaptColor (
|
||||
BitmapReadAccess* pReadAccess = maCenter.maBitmap.GetBitmap().AcquireReadAccess();
|
||||
if (pReadAccess == NULL)
|
||||
return;
|
||||
const Color aSourceColor (pReadAccess->GetColor(0,0));
|
||||
const Color aSourceColor = pReadAccess->GetColor(0,0);
|
||||
maCenter.maBitmap.GetBitmap().ReleaseAccess(pReadAccess);
|
||||
|
||||
// Erase the center bitmap.
|
||||
|
Reference in New Issue
Block a user