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:51 +0200 |
commit | 833a76113d588b0e7ce375ccdeca0bde516a2647 (patch) | |
tree | cdacd438356d11b55aef31bdb6da91eba9892e47 | |
parent | 45aefcf77233ae01ff71e6649e8df396a2a7e7f5 (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/55181
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(); } |