tdf#131185 Prevent unnecessary SwapIn calls.
commitc5ecde36b8e980cc4a0ca88ccebd95ac3155bdd9
authorGülşah Köse <gulsah.kose@collabora.com>
Fri, 6 Mar 2020 13:12:59 +0000 (6 16:12 +0300)
committerAndras Timar <andras.timar@collabora.com>
Thu, 12 Mar 2020 07:50:55 +0000 (12 08:50 +0100)
treea09599d61d022733ee6f4283c05a155db77eb9b2
parentf3106797c37e301b77c6bab3a61633c55a220dd9
tdf#131185 Prevent unnecessary SwapIn calls.

When the http response is 404 or something like
that we shouldn't retry the download embeded image
constantly. This causes libreoffice to short freezes.

Change-Id: I7381d04f12e9fbea961dd0e3333ea0d39aa93d14
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90102
Tested-by: Jenkins
Reviewed-by: Gülşah Köse <gulsah.kose@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90045
Reviewed-by: Andras Timar <andras.timar@collabora.com>
sw/inc/ndgrf.hxx
sw/source/core/graphic/ndgrf.cxx