summaryrefslogtreecommitdiff
path: root/svx/source/sdr/contact/viewcontactofgraphic.cxx
diff options
context:
space:
mode:
authorAshod Nakashian <ashod.nakashian@collabora.co.uk>2018-06-20 15:55:07 -0400
committerAshod Nakashian <ashod.nakashian@collabora.co.uk>2018-06-20 15:55:07 -0400
commit1fb42f8e8ecb0696c41c5d80e2d6a4ca521fd24d (patch)
treee081e4c569e717987097c4abb74a9076d1d5666b /svx/source/sdr/contact/viewcontactofgraphic.cxx
parent7be2fd11d068bdea630caad2607e6166b12b9288 (diff)
vcl: remove swapping logic from GraphicObject to support lazy-loadingprivate/Ashod/cd-5.3-3.2_import_unloaded
Change-Id: I286a9b6ee75f07744232771263c26579ad9653e7
Diffstat (limited to 'svx/source/sdr/contact/viewcontactofgraphic.cxx')
-rw-r--r--svx/source/sdr/contact/viewcontactofgraphic.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/svx/source/sdr/contact/viewcontactofgraphic.cxx b/svx/source/sdr/contact/viewcontactofgraphic.cxx
index 89b763deb3ef..9e49fae47d7f 100644
--- a/svx/source/sdr/contact/viewcontactofgraphic.cxx
+++ b/svx/source/sdr/contact/viewcontactofgraphic.cxx
@@ -418,10 +418,6 @@ namespace sdr
// draft when swapped out
const GraphicObject& rGraphicObject = GetGrafObject().GetGraphicObject();
- static bool bAllowReplacements(true);
-
- if(rGraphicObject.IsSwappedOut() && bAllowReplacements)
- return true;
// draft when no graphic
if(GraphicType::NONE == rGraphicObject.GetType() || GraphicType::Default == rGraphicObject.GetType())