summaryrefslogtreecommitdiff
path: root/vcl/quartz/salbmp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/quartz/salbmp.cxx')
-rw-r--r--vcl/quartz/salbmp.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/quartz/salbmp.cxx b/vcl/quartz/salbmp.cxx
index c47151f137b7..12daa7567f42 100644
--- a/vcl/quartz/salbmp.cxx
+++ b/vcl/quartz/salbmp.cxx
@@ -421,7 +421,7 @@ public:
// Caution(!) rPalette.GetEntryCount() may be != (depth^^2)-1 (!)
if(nIndex < mnPaletteCount)
- return mrPalette[nIndex].GetColor();
+ return mrPalette[nIndex];
else
return COL_BLACK;
}
@@ -471,7 +471,7 @@ public:
mnShift ^= 4;
if(nIndex < mnPaletteCount)
- return mrPalette[nIndex].GetColor();
+ return mrPalette[nIndex];
else
return COL_BLACK;
}
@@ -516,7 +516,7 @@ public:
mnX++;
if(nIndex < mnPaletteCount)
- return mrPalette[nIndex].GetColor();
+ return mrPalette[nIndex];
else
return COL_BLACK;
}