Kaydet (Commit) 4dc54d2e authored tarafından Armin Le Grand's avatar Armin Le Grand

i122753 Force SwapIn for BitmapObjects which are part of a conversion to BitmapEx

üst 1898f945
...@@ -574,8 +574,17 @@ BitmapEx SdrExchangeView::GetMarkedObjBitmapEx(bool bNoVDevIfOneBmpMarked) const ...@@ -574,8 +574,17 @@ BitmapEx SdrExchangeView::GetMarkedObjBitmapEx(bool bNoVDevIfOneBmpMarked) const
for(sal_uInt32 a(0); a < nCount; a++) for(sal_uInt32 a(0); a < nCount; a++)
{ {
SdrObject* pCandidate = aSdrObjects[a];
SdrGrafObj* pSdrGrafObj = dynamic_cast< SdrGrafObj* >(pCandidate);
if(pSdrGrafObj)
{
// #122753# To ensure existance of graphic content, force swap in
pSdrGrafObj->ForceSwapIn();
}
xPrimitives[a] = new drawinglayer::primitive2d::GroupPrimitive2D( xPrimitives[a] = new drawinglayer::primitive2d::GroupPrimitive2D(
aSdrObjects[a]->GetViewContact().getViewIndependentPrimitive2DSequence()); pCandidate->GetViewContact().getViewIndependentPrimitive2DSequence());
} }
// get logic range // get logic range
......
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