diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-11-04 20:57:33 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-11-05 09:50:49 +0100 |
commit | 966227d9d1e6301f3c39c135d966e433f0c83771 (patch) | |
tree | a47ead7f50333d7b5fa1e6f7b08054219796cb97 /vcl/source | |
parent | 780d83771af89e6b27b3618d9c033c3fb29ba803 (diff) |
ofz#18653 slow and uninteresting
Change-Id: I9043de56063caec225850eb1103435b44640781e
Reviewed-on: https://gerrit.libreoffice.org/82043
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/filter/png/pngread.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/source/filter/png/pngread.cxx b/vcl/source/filter/png/pngread.cxx index 286b2680d1df..aa452bf51a01 100644 --- a/vcl/source/filter/png/pngread.cxx +++ b/vcl/source/filter/png/pngread.cxx @@ -867,6 +867,9 @@ void PNGReaderImpl::ImplGetBackground() sal_uInt8 nRed = ImplScaleColor(); sal_uInt8 nGreen = ImplScaleColor(); sal_uInt8 nBlue = ImplScaleColor(); + // ofz#18653 slow and uninteresting + if (!utl::ConfigManager::IsFuzzing()) + return; mxAcc->Erase(Color(nRed, nGreen, nBlue)); } } |