summaryrefslogtreecommitdiff
path: root/vcl/source/outdev/rect.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/outdev/rect.cxx')
-rw-r--r--vcl/source/outdev/rect.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/outdev/rect.cxx b/vcl/source/outdev/rect.cxx
index c4bf57cfff2e..61cbeaa4f4af 100644
--- a/vcl/source/outdev/rect.cxx
+++ b/vcl/source/outdev/rect.cxx
@@ -217,7 +217,7 @@ void OutputDevice::DrawCheckered(const Point& rPos, const Size& rSize, sal_uInt3
{
const sal_uInt32 nBottom(std::min(nMaxY, nY + nLen));
- SetFillColor((x & 0x0001) ^ (y & 0x0001) ? aStart : aEnd);
+ SetFillColor(((x & 0x0001) ^ (y & 0x0001)) ? aStart : aEnd);
DrawRect(Rectangle(nX, nY, nRight, nBottom));
}
}