diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-09-15 10:56:52 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-09-15 13:48:21 +0200 |
commit | 7ac3ddefcfcb1d9bd29602fbf9c202da61d96f2c (patch) | |
tree | c781492220dc995a918600276c4387d323bdeffb /vcl/source/gdi | |
parent | c09aec4cb6e9bcbbe58999541fb2bdf7f54c3b44 (diff) |
default Aliasing of secondary mpAlphaVDev to the same as its owner
when its created, as noted in...
commit e1a5bcb20e15400320f926165b6d798fa36c564e
Author: Caolán McNamara <caolanm@redhat.com>
Date: Tue Sep 14 20:30:58 2021 +0100
tdf#143831 fix black background appearing on spellchecking wavy lines
...
OutputDevice::SetAntialiasing only mirrors its arg to the secondary
mpAlphaVDev if it exists, and it doesn't exist until the size is set so
move that call down a bit (this is probably another preexisting bug
maybe worth following up on to set that when mpAlphaVDev is created)
Change-Id: I8ef27aae4dcabe529327224bfc6cd7b4bb2a5af5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122141
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/source/gdi')
-rw-r--r-- | vcl/source/gdi/virdev.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/source/gdi/virdev.cxx b/vcl/source/gdi/virdev.cxx index f6b7d443b307..5520ce93c073 100644 --- a/vcl/source/gdi/virdev.cxx +++ b/vcl/source/gdi/virdev.cxx @@ -373,6 +373,8 @@ bool VirtualDevice::ImplSetOutputSizePixel( const Size& rNewSize, bool bErase, mpAlphaVDev->SetFillColor( COL_BLACK ); mpAlphaVDev->SetMapMode( GetMapMode() ); + + mpAlphaVDev->SetAntialiasing( GetAntialiasing() ); } return true; |