summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/impgraph.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/gdi/impgraph.cxx')
-rw-r--r--vcl/source/gdi/impgraph.cxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/vcl/source/gdi/impgraph.cxx b/vcl/source/gdi/impgraph.cxx
index cdad0f51e457..d2106041f9cd 100644
--- a/vcl/source/gdi/impgraph.cxx
+++ b/vcl/source/gdi/impgraph.cxx
@@ -1371,14 +1371,7 @@ void ImpGraphic::ImplSetSharedLink(const std::shared_ptr<GfxLink>& pGfxLink)
mpGfxLink = pGfxLink;
if (mpGfxLink->IsNative())
- {
mpGfxLink->SwapOut();
-
- // Swap out the graphic as well.
- //FIXME: move to own function, such as SetPrepared().
- meType = GraphicType::Bitmap;
- ImplSwapOut();
- }
}
GfxLink ImpGraphic::ImplGetLink()