diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-02-08 09:27:06 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-02-08 10:41:06 +0000 |
commit | 193ec57c899c6941675a86b7a24d6af60e410938 (patch) | |
tree | 4125c4353521a72655935dae074514706db04a40 /vcl | |
parent | d8baaf43b0a5f384c35ea4a7a8cac7ede7d0fb90 (diff) |
coverity#1400143 Missing move assignment operator
by using a vector and let the defaults kick in
Change-Id: I84e6144ab4beeeb316ccb830e7be55e35d942062
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/gdi/bitmap.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/gdi/bitmap.cxx b/vcl/source/gdi/bitmap.cxx index 16aa9adf590d..2ace729f1f0c 100644 --- a/vcl/source/gdi/bitmap.cxx +++ b/vcl/source/gdi/bitmap.cxx @@ -210,8 +210,8 @@ bool BitmapPalette::IsGreyPalette() const // TODO: is it worth to compare the entries for the general case? if (nEntryCount == 2) { - const BitmapColor& rCol0(mpBitmapColor[0]); - const BitmapColor& rCol1(mpBitmapColor[1]); + const BitmapColor& rCol0(maBitmapColor[0]); + const BitmapColor& rCol1(maBitmapColor[1]); bRet = rCol0.GetRed() == rCol0.GetGreen() && rCol0.GetRed() == rCol0.GetBlue() && rCol1.GetRed() == rCol1.GetGreen() && rCol1.GetRed() == rCol1.GetBlue(); } |