diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-08 10:06:35 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-09 07:14:22 +0100 |
commit | ba43b0cb7a62f34fcda214d43122c7c66df2e5a0 (patch) | |
tree | 146d062c82fd942ff06b087390e5901c3eba0cfa /vcl/quartz | |
parent | 612ed5e752a0b317cf63a27ff1bb663a774022ef (diff) |
drop getColor() method of Color
no longer necessary
Change-Id: I9e0fcea1134e8c5e27f9effbb5eb79fe5446e33d
Reviewed-on: https://gerrit.libreoffice.org/50925
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/quartz')
-rw-r--r-- | vcl/quartz/salbmp.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/quartz/salbmp.cxx b/vcl/quartz/salbmp.cxx index dde6470aeb08..f9a10a44020b 100644 --- a/vcl/quartz/salbmp.cxx +++ b/vcl/quartz/salbmp.cxx @@ -465,7 +465,7 @@ public: } virtual Color ReadPixel() override { - return mrPalette[ *pData++ ].GetColor().GetColor(); + return mrPalette[ *pData++ ].GetColor(); } virtual void WritePixel( Color nColor ) override { @@ -508,7 +508,7 @@ public: const BitmapColor& rColor = mrPalette[( pData[mnX >> 1] >> mnShift) & 0x0f]; mnX++; mnShift ^= 4; - return rColor.GetColor().GetColor(); + return rColor.GetColor(); } virtual void WritePixel( Color nColor ) override { @@ -546,7 +546,7 @@ public: { const BitmapColor& rColor = mrPalette[ (pData[mnX >> 3 ] >> ( 7 - ( mnX & 7 ) )) & 1]; mnX++; - return rColor.GetColor().GetColor(); + return rColor.GetColor(); } virtual void WritePixel( Color nColor ) override { |