summaryrefslogtreecommitdiffstats
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-02-08 09:27:06 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-02-08 10:41:06 +0000
commit193ec57c899c6941675a86b7a24d6af60e410938 (patch)
tree4125c4353521a72655935dae074514706db04a40 /vcl
parentcoverity#1400144 Uninitialized pointer field (diff)
downloadcore-193ec57c899c6941675a86b7a24d6af60e410938.tar.gz
core-193ec57c899c6941675a86b7a24d6af60e410938.zip
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.cxx4
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();
}