summaryrefslogtreecommitdiff
path: root/vcl/headless/svpgdi.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-03-01 09:05:19 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-03-01 09:05:46 +0200
commite3e5e291e4e27d71a0688da4b9cf7fa90aba17e1 (patch)
tree7f847cb2ab68b7bc9fb0e577784c8c0c54346ecb /vcl/headless/svpgdi.cxx
parent94fd925acc1d15ef2e164950fb4814481b8013a3 (diff)
loplugin:redundantfcast
Change-Id: Ia696f0eda9f87cb449c149b0650a2cb7ca9cafb1
Diffstat (limited to 'vcl/headless/svpgdi.cxx')
-rw-r--r--vcl/headless/svpgdi.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/headless/svpgdi.cxx b/vcl/headless/svpgdi.cxx
index bc89f4b84698..3618a185ce12 100644
--- a/vcl/headless/svpgdi.cxx
+++ b/vcl/headless/svpgdi.cxx
@@ -1212,12 +1212,12 @@ namespace
rPalette.GetEntryCount() < 2 ||
(rPalette.GetEntryCount() == 2 &&
- rPalette[0] == Color(COL_BLACK) &&
- rPalette[1] == Color(COL_WHITE) ) ||
+ rPalette[0] == COL_BLACK &&
+ rPalette[1] == COL_WHITE ) ||
(rPalette.GetEntryCount() == 2 &&
- rPalette[1] == Color(COL_BLACK) &&
- rPalette[0] == Color(COL_WHITE) )
+ rPalette[1] == COL_BLACK &&
+ rPalette[0] == COL_WHITE )
);
}
}