diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-06-01 13:02:04 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-06-02 18:01:34 +0200 |
commit | dde1586c5eebe86deeb1126cde539b3932e2d5a1 (patch) | |
tree | 92ebe2712c92ed921ae8dd65a76a7e44bc6fe577 | |
parent | 96df6f558cae3b8a62e694dc5816ed69dee29486 (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/55177
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
-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 80dc7ecad17c..bc31846f0159 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(); } |