summaryrefslogtreecommitdiff
path: root/canvas/source/vcl/backbuffer.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-05-19 12:16:31 +0200
committerNoel Grandin <noel@peralex.com>2015-05-20 09:52:09 +0200
commit456c379ffd8683cd8c22969268900787cf1ac28e (patch)
treefe340c60faee4799f9ef7002c16ac822c8596dff /canvas/source/vcl/backbuffer.cxx
parent3cbdf64ad5240e6d9a73d4f7e005f7110d5e4002 (diff)
convert ANTIALIASING constants to scoped enum
Change-Id: I175b8ea4e8bc01c3cdd3dd90506eba01b35e0085
Diffstat (limited to 'canvas/source/vcl/backbuffer.cxx')
-rw-r--r--canvas/source/vcl/backbuffer.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/canvas/source/vcl/backbuffer.cxx b/canvas/source/vcl/backbuffer.cxx
index 356caa9254e7..8f3a98054ed7 100644
--- a/canvas/source/vcl/backbuffer.cxx
+++ b/canvas/source/vcl/backbuffer.cxx
@@ -33,12 +33,12 @@ namespace vclcanvas
// #i95645#
#if defined( MACOSX )
// use AA on VCLCanvas for Mac
- maVDev->SetAntialiasing( ANTIALIASING_ENABLE_B2DDRAW | maVDev->GetAntialiasing() );
+ maVDev->SetAntialiasing( AntialiasingFlags::EnableB2dDraw | maVDev->GetAntialiasing() );
#else
// switch off AA for WIN32 and UNIX, the VCLCanvas does not look good with it and
// is not required to do AA. It would need to be adapted to use it correctly
// (especially gradient painting). This will need extra work.
- maVDev->SetAntialiasing( maVDev->GetAntialiasing() & ~ANTIALIASING_ENABLE_B2DDRAW);
+ maVDev->SetAntialiasing( maVDev->GetAntialiasing() & ~AntialiasingFlags::EnableB2dDraw);
#endif
}
}