summaryrefslogtreecommitdiff
path: root/vcl/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-11-03 15:20:36 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-11-03 15:42:41 +0000
commit33a49504779cae71e079bc13f71ff2a77352b116 (patch)
treee391228eab62297e3a328eaf3da4ee5ed946ece3 /vcl/inc
parentd0d1cd58cf0e51ba1dcb60291abe623c504c3c18 (diff)
need to assign mbIsGrey in operator=
Diffstat (limited to 'vcl/inc')
-rw-r--r--vcl/inc/vcl/salbtype.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/inc/vcl/salbtype.hxx b/vcl/inc/vcl/salbtype.hxx
index efd981a568bc..8e238be02e94 100644
--- a/vcl/inc/vcl/salbtype.hxx
+++ b/vcl/inc/vcl/salbtype.hxx
@@ -587,6 +587,7 @@ inline BitmapPalette& BitmapPalette::operator=( const BitmapPalette& rBitmapPale
{
delete[] (sal_uInt8*) mpBitmapColor;
mnCount = rBitmapPalette.mnCount;
+ mbIsGrey = rBitmapPalette.mbIsGrey;
if( mnCount )
{