Kaydet (Commit) da612bad authored tarafından Zolnai Tamás's avatar Zolnai Tamás

DOC import: avoid manual swapout call.

No reason to swapout the image directly after the import
because it will be used for rendering just a second later.

Change-Id: I78c8ef9225c55f306182dc5efd7bcaf0e88521c0
üst f05615df
...@@ -3974,7 +3974,6 @@ SdrObject* SvxMSDffManager::ImportGraphic( SvStream& rSt, SfxItemSet& rSet, cons ...@@ -3974,7 +3974,6 @@ SdrObject* SvxMSDffManager::ImportGraphic( SvStream& rSt, SfxItemSet& rSet, cons
Graphic aGraf(static_cast<SdrGrafObj*>(pRet)->GetGraphic()); Graphic aGraf(static_cast<SdrGrafObj*>(pRet)->GetGraphic());
lcl_ApplyCropping( *this, &rSet, aGraf ); lcl_ApplyCropping( *this, &rSet, aGraf );
} }
static_cast<SdrGrafObj*>(pRet)->ForceSwapOut();
} }
return pRet; return pRet;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment