diff options
Diffstat (limited to 'drawinglayer')
-rw-r--r-- | drawinglayer/source/processor2d/helperwrongspellrenderer.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drawinglayer/source/processor2d/helperwrongspellrenderer.cxx b/drawinglayer/source/processor2d/helperwrongspellrenderer.cxx index d690a77b6728..c359b3485bc6 100644 --- a/drawinglayer/source/processor2d/helperwrongspellrenderer.cxx +++ b/drawinglayer/source/processor2d/helperwrongspellrenderer.cxx @@ -22,10 +22,9 @@ #include <tools/gen.hxx> #include <vcl/outdev.hxx> #include <basegfx/color/bcolormodifier.hxx> +#include <vcl/outdev/ScopedStates.hxx> - -using namespace com::sun::star; - +using namespace css; namespace drawinglayer { @@ -55,6 +54,7 @@ namespace drawinglayer const basegfx::BColor aProcessedColor(rBColorModifierStack.getModifiedColor(rWrongSpellCandidate.getColor())); const bool bMapModeEnabledState(rOutputDevice.IsMapModeEnabled()); + vcl::ScopedAntialiasing a(rOutputDevice, true); rOutputDevice.EnableMapMode(false); rOutputDevice.SetLineColor(Color(aProcessedColor)); rOutputDevice.SetFillColor(); |