diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-02-08 09:27:06 +0000 |
---|---|---|
committer | Ashod Nakashian <ashod.nakashian@collabora.co.uk> | 2017-11-28 00:12:53 -0500 |
commit | aeebd4c4dda37a41552ebdea50ab27a5fd8d7991 (patch) | |
tree | 57d304d5d12bd224ab5269bb759bf7f4361c43bb /vcl | |
parent | af8e50a21ad47aa15fe3773c053735f8321fcf46 (diff) |
coverity#1400143 Missing move assignment operator
by using a vector and let the defaults kick in
Change-Id: I84e6144ab4beeeb316ccb830e7be55e35d942062
(cherry picked from commit 193ec57c899c6941675a86b7a24d6af60e410938)
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 ee4dafdcee92..95560548e547 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(); } |