diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-01-31 23:00:24 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-02-03 12:34:06 +0100 |
commit | 9b9eb2e4f619c63eabdc54b5d749ac55d8eaf333 (patch) | |
tree | 7a4e1aa9e11fd992124bab4713db6bd2545fed74 /svx | |
parent | e034fa4607dfc732eaa82261755193fd781a2aad (diff) |
fdo#73300: sw: don't swap in all images when loading files
(regression from bd55f05b332c1573bd410fd9e21ea7fcf977e1b0)
Change-Id: I55532ac0fe983461e961a61149479343d2b879a1
Diffstat (limited to 'svx')
-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 58688bc3c7c5..949898bf5bc0 100644 --- a/svx/source/svdraw/svdograf.cxx +++ b/svx/source/svdraw/svdograf.cxx @@ -321,6 +321,9 @@ sdr::contact::ViewContact* SdrGrafObj::CreateObjectSpecificViewContact() void SdrGrafObj::onGraphicChanged() { + if (!pGraphic || pGraphic->IsSwappedOut()) // don't force swap-in for this + return; + OUString aName; OUString aTitle; OUString aDesc; |