[Libreoffice-commits] core.git: vcl/headless
Noel Grandin
noel.grandin at collabora.co.uk
Thu Mar 1 07:06:16 UTC 2018
vcl/headless/svpgdi.cxx | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
New commits:
commit e3e5e291e4e27d71a0688da4b9cf7fa90aba17e1
Author: Noel Grandin <noel.grandin at collabora.co.uk>
Date: Thu Mar 1 09:05:19 2018 +0200
loplugin:redundantfcast
Change-Id: Ia696f0eda9f87cb449c149b0650a2cb7ca9cafb1
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 )
);
}
}
More information about the Libreoffice-commits
mailing list