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.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/source/gdi/impgraph.cxx b/vcl/source/gdi/impgraph.cxx
index 2b263bcab354..61e062a43467 100644
--- a/vcl/source/gdi/impgraph.cxx
+++ b/vcl/source/gdi/impgraph.cxx
@@ -1535,7 +1535,10 @@ bool ImpGraphic::loadPrepared()
Graphic aGraphic;
if (mpGfxLink->LoadNative(aGraphic))
{
+ GraphicExternalLink aLink = maGraphicExternalLink;
*this = *aGraphic.ImplGetImpGraphic();
+ maGraphicExternalLink = aLink;
+
return true;
}
return false;