diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-06-01 13:02:04 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-06-07 14:05:59 +0200 |
commit | 77230756187d8642f08e6b4bb937d279f3483533 (patch) | |
tree | d284d8291f1bb8d130db9893c9e5072a988c98a6 | |
parent | c6c82096301180cfa7942dd9fb9d1cb66c7ecc04 (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>
-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(); } |