summaryrefslogtreecommitdiff
path: root/vcl/headless/svpgdi.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/headless/svpgdi.cxx')
-rw-r--r--vcl/headless/svpgdi.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/headless/svpgdi.cxx b/vcl/headless/svpgdi.cxx
index 2cbfb23360c7..34fa731e7396 100644
--- a/vcl/headless/svpgdi.cxx
+++ b/vcl/headless/svpgdi.cxx
@@ -441,9 +441,9 @@ void SvpSalGraphics::SetFillColor( SalColor nSalColor )
m_aFillColor = nSalColor;
}
-void SvpSalGraphics::SetXORMode(bool bSet, bool bInvert)
+void SvpSalGraphics::SetXORMode(bool bSet )
{
- m_ePaintMode = bInvert ? INVERT : (bSet ? XOR : OVERPAINT);
+ m_ePaintMode = bSet ? XOR : OVERPAINT;
}
void SvpSalGraphics::SetROPLineColor( SalROPColor nROPColor )