summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorAshod Nakashian <ashod.nakashian@collabora.co.uk>2023-07-18 21:23:13 -0400
committerCaolán McNamara <caolan.mcnamara@collabora.com>2023-10-10 20:50:09 +0200
commit27b05720c99b933a6cbb7a881433a70766962195 (patch)
tree501c6c8615c5a284cd065c141a728731d22fa1f8 /vcl
parentd4f1db07753396efee9b59cffed79adde141293c (diff)
vcl: swap out the BinaryDataContainer too
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk> Change-Id: I2e6ac88ff95903acf2df2070a7c23f4fc135c253 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154606 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com> (cherry picked from commit 896fc921cd72b5f0198772f2d4c569b59f51222c) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154615 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/gdi/impgraph.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/source/gdi/impgraph.cxx b/vcl/source/gdi/impgraph.cxx
index 35a2145aa8e4..f3f877d3b939 100644
--- a/vcl/source/gdi/impgraph.cxx
+++ b/vcl/source/gdi/impgraph.cxx
@@ -1308,6 +1308,8 @@ bool ImpGraphic::swapOut()
// reset the swap file
mpSwapFile.reset();
+ mpGfxLink->getDataContainer().swapOut();
+
// mark as swapped out
mbSwapOut = true;