diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-01-31 23:00:24 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-04 12:27:29 +0000 |
commit | 39892ecb0db10ffa4a9803862264fd6e12d497aa (patch) | |
tree | 0cef429775c3cac74853bf7b19ecff8a79e734c8 /svx/source | |
parent | 5200d19a541b59141d15e3780f5197569b6b135e (diff) |
fdo#73300: sw: don't swap in all images when loading files
(regression from bd55f05b332c1573bd410fd9e21ea7fcf977e1b0)
(cherry picked from commit 9b9eb2e4f619c63eabdc54b5d749ac55d8eaf333)
Conflicts:
svx/source/svdraw/svdograf.cxx
Change-Id: I55532ac0fe983461e961a61149479343d2b879a1
Reviewed-on: https://gerrit.libreoffice.org/7812
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/svdraw/svdograf.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/svx/source/svdraw/svdograf.cxx b/svx/source/svdraw/svdograf.cxx index 46b88dae7de3..d918eaae7c4c 100644 --- a/svx/source/svdraw/svdograf.cxx +++ b/svx/source/svdraw/svdograf.cxx @@ -277,6 +277,9 @@ sdr::contact::ViewContact* SdrGrafObj::CreateObjectSpecificViewContact() void SdrGrafObj::onGraphicChanged() { + if (!pGraphic || pGraphic->IsSwappedOut()) // don't force swap-in for this + return; + String aName; String aTitle; String aDesc; |