diff options
author | Noel Grandin <noel@peralex.com> | 2015-05-19 12:16:31 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-05-20 09:52:09 +0200 |
commit | 456c379ffd8683cd8c22969268900787cf1ac28e (patch) | |
tree | fe340c60faee4799f9ef7002c16ac822c8596dff /svx | |
parent | 3cbdf64ad5240e6d9a73d4f7e005f7110d5e4002 (diff) |
convert ANTIALIASING constants to scoped enum
Change-Id: I175b8ea4e8bc01c3cdd3dd90506eba01b35e0085
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/sdr/overlay/overlaymanager.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/sdr/overlay/overlaymanager.cxx b/svx/source/sdr/overlay/overlaymanager.cxx index 585e019a472a..f54195f7241a 100644 --- a/svx/source/sdr/overlay/overlaymanager.cxx +++ b/svx/source/sdr/overlay/overlaymanager.cxx @@ -43,7 +43,7 @@ namespace sdr if(nSize) { - const sal_uInt16 nOriginalAA(rDestinationDevice.GetAntialiasing()); + const AntialiasingFlags nOriginalAA(rDestinationDevice.GetAntialiasing()); const bool bIsAntiAliasing(getDrawinglayerOpt().IsAntiAliasing()); // create processor @@ -68,11 +68,11 @@ namespace sdr { if(bIsAntiAliasing && rCandidate.allowsAntiAliase()) { - rDestinationDevice.SetAntialiasing(nOriginalAA | ANTIALIASING_ENABLE_B2DDRAW); + rDestinationDevice.SetAntialiasing(nOriginalAA | AntialiasingFlags::EnableB2dDraw); } else { - rDestinationDevice.SetAntialiasing(nOriginalAA & ~ANTIALIASING_ENABLE_B2DDRAW); + rDestinationDevice.SetAntialiasing(nOriginalAA & ~AntialiasingFlags::EnableB2dDraw); } pProcessor->process(rSequence); |