[Libreoffice-commits] core.git: vcl/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Wed Sep 15 11:48:55 UTC 2021
vcl/source/gdi/virdev.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 7ac3ddefcfcb1d9bd29602fbf9c202da61d96f2c
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Sep 15 10:56:52 2021 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Wed Sep 15 13:48:21 2021 +0200
default Aliasing of secondary mpAlphaVDev to the same as its owner
when its created, as noted in...
commit e1a5bcb20e15400320f926165b6d798fa36c564e
Author: Caolán McNamara <caolanm at 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 at redhat.com>
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;
More information about the Libreoffice-commits
mailing list