summaryrefslogtreecommitdiff
path: root/vcl/headless/svpgdi.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-05-10 09:55:14 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-10 12:08:40 +0000
commit9058b06443bb901d39641c47b6d7806eb9055b41 (patch)
treefcf09a77b27ea2871f978038fced53e382ddb908 /vcl/headless/svpgdi.cxx
parent058f84c946debbd9e4acf2641368fa8275c15057 (diff)
Convert SAL_INVERT to scoped enum
Change-Id: If9f725c791f9d01efba098caed8387f21862fa04 Reviewed-on: https://gerrit.libreoffice.org/24825 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
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 7da5c50694bc..2c2408bec8c9 100644
--- a/vcl/headless/svpgdi.cxx
+++ b/vcl/headless/svpgdi.cxx
@@ -1168,7 +1168,7 @@ void SvpSalGraphics::invert(const basegfx::B2DPolygon &rPoly, SalInvert nFlags)
SAL_WARN("vcl.gdi", "SvpSalGraphics::invert, archaic cairo");
}
- if (nFlags & SAL_INVERT_TRACKFRAME)
+ if (nFlags & SalInvert::TrackFrame)
{
cairo_set_line_width(cr, 2.0);
const double dashLengths[2] = { 4.0, 4.0 };
@@ -1184,7 +1184,7 @@ void SvpSalGraphics::invert(const basegfx::B2DPolygon &rPoly, SalInvert nFlags)
cairo_clip(cr);
- if (nFlags & SAL_INVERT_50)
+ if (nFlags & SalInvert::N50)
{
cairo_pattern_t *pattern = create_stipple();
cairo_mask(cr, pattern);