diff options
author | melikeyurtoglu <aysemelikeyurtoglu@gmail.com> | 2016-01-31 11:39:20 +0200 |
---|---|---|
committer | jan iversen <jani@documentfoundation.org> | 2016-06-09 11:31:11 +0000 |
commit | 258301879bcd20397c38bbd522dea2c923bd9fc2 (patch) | |
tree | 01ee1fe2d3f8df727039c97025e3577575a53e93 /vcl/headless/svpgdi.cxx | |
parent | e420a335f783bb4d2ee9d74d56f91e16d189566f (diff) |
tdf#96971 SetXORMode - remove un-needed parameter
Change-Id: I901e5de3e4e25f0cae5c71d6e83fd94459fe7b7e
Signed-off-by: melikeyurtoglu <aysemelikeyurtoglu@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/21951
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Reviewed-by: jan iversen <jani@documentfoundation.org>
Diffstat (limited to 'vcl/headless/svpgdi.cxx')
-rw-r--r-- | vcl/headless/svpgdi.cxx | 4 |
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 ) |