summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 )
);
}
}