diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-06-01 13:02:04 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2018-06-11 15:16:35 +0200 |
commit | bfb912a5d9c0292c4c8b9571ebb58a96085d2391 (patch) | |
tree | dc72a7d552cadbf8e8c1f07ed36f9c7209cbdd3b /vcl/unx/generic/gdi | |
parent | 8986c227a87bd29ab96b41df250e086e1f4b099b (diff) |
Resolves: tdf#101798 ResetClipRegion needs to affect cairo drawing too
regression since...
commit cb382034b061b4acd4f0fd490f42af34517a7b8d
Date: Fri Jul 1 14:00:00 2016 +0200
tdf#50613 speedup fat line drawing on linux using cairo
Change-Id: I2f1a70f102786228d52199df9960336218c6f9f9
Reviewed-on: https://gerrit.libreoffice.org/55182
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
(cherry picked from commit 77230756187d8642f08e6b4bb937d279f3483533)
Diffstat (limited to 'vcl/unx/generic/gdi')
-rw-r--r-- | vcl/unx/generic/gdi/salgdi.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/unx/generic/gdi/salgdi.cxx b/vcl/unx/generic/gdi/salgdi.cxx index 1ac940050077..78a08bf59960 100644 --- a/vcl/unx/generic/gdi/salgdi.cxx +++ b/vcl/unx/generic/gdi/salgdi.cxx @@ -349,6 +349,9 @@ long X11SalGraphics::GetGraphicsWidth() const void X11SalGraphics::ResetClipRegion() { +#if ENABLE_CAIRO_CANVAS + maClipRegion.SetNull(); +#endif mxImpl->ResetClipRegion(); } |