summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorZolnai Tamás <tamas.zolnai@collabora.com>2014-11-16 15:23:54 +0100
committerZolnai Tamás <tamas.zolnai@collabora.com>2014-11-16 20:32:01 +0100
commitb0c97aecb22cfa8d845cdc7d2764a4320b53baf6 (patch)
tree264d2ece21c6b888686dd5629d34fc6820f8cdd5 /sw
parenta6e2e54c7e9ec5b852db3b3be578d79fda666601 (diff)
Set back these lines, later it can be useful
Removed in: 9dc3b49c891fb9fe45c24de4b7e1e88fe400afe0 Change-Id: Id8cee4e17d214ca0eaa5cd11dc25849e5f68851e
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/graphic/ndgrf.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/source/core/graphic/ndgrf.cxx b/sw/source/core/graphic/ndgrf.cxx
index 682546e30d73..ff601f5e5806 100644
--- a/sw/source/core/graphic/ndgrf.cxx
+++ b/sw/source/core/graphic/ndgrf.cxx
@@ -663,6 +663,10 @@ bool SwGrfNode::SavePersistentData()
return true;
}
+ // swap in first if in storage
+ if( HasEmbeddedStreamName() && !SwapIn() )
+ return false;
+
// #i44367#
// Do not delete graphic file in storage, because the graphic file could
// be referenced by other graphic nodes.