need to assign mbIsGrey in operator=

This commit is contained in:
Caolán McNamara 2011-11-03 15:20:36 +00:00
parent d0d1cd58cf
commit 33a4950477

View file

@ -587,6 +587,7 @@ inline BitmapPalette& BitmapPalette::operator=( const BitmapPalette& rBitmapPale
{
delete[] (sal_uInt8*) mpBitmapColor;
mnCount = rBitmapPalette.mnCount;
mbIsGrey = rBitmapPalette.mbIsGrey;
if( mnCount )
{