diff options
Diffstat (limited to 'svx/source/sdr/overlay/overlaymanager.cxx')
-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); |