diff options
author | Noel Grandin <noel@peralex.com> | 2019-07-04 15:05:41 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-07-05 08:46:46 +0200 |
commit | f2c3ea4f54d634ab54702d6fe07ccd4d4d76bdc1 (patch) | |
tree | b914c30b05484afbc4885c229da312e278da4a96 /vcl/source/gdi | |
parent | 7f4fe205c4b1baf01115a9e0d74655818d03ec40 (diff) |
tdf#121740 improve ppt load time on windows, reduce image swapout
Reduces load time of this file by 10%.
This logic is here since
commit 8ab086b6cc054501bfbf7ef6fa509c393691e860
Date: Mon Sep 18 16:07:07 2000 +0000
initial import
and there does not seem to be any good reason to immediately trigger a swapout.
Our balancing logic will perform a swapout as necessary.
Change-Id: I02592dfd3bde1a00bcca2fcbcd4d38aacc8f3de4
Reviewed-on: https://gerrit.libreoffice.org/75086
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/gdi')
-rw-r--r-- | vcl/source/gdi/impgraph.cxx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/vcl/source/gdi/impgraph.cxx b/vcl/source/gdi/impgraph.cxx index 5a621025423f..195e40d1a45a 100644 --- a/vcl/source/gdi/impgraph.cxx +++ b/vcl/source/gdi/impgraph.cxx @@ -1652,9 +1652,6 @@ void ImpGraphic::ImplSetLink(const std::shared_ptr<GfxLink>& rGfxLink) ensureAvailable(); mpGfxLink = rGfxLink; - - if (mpGfxLink && mpGfxLink->IsNative()) - mpGfxLink->SwapOut(); } GfxLink ImpGraphic::ImplGetLink() |