summaryrefslogtreecommitdiff
path: root/svx/source
diff options
context:
space:
mode:
authorArmin Le Grand <alg@apache.org>2013-07-16 10:55:54 +0000
committerArmin Le Grand <alg@apache.org>2013-07-16 10:55:54 +0000
commit4dc54d2ec37bc1595eb85548f5e3c6d2add2b10a (patch)
treed8acc89026497dacfd80d790548d31d75af7cd81 /svx/source
parent1898f94578f266de42f92602a36518fb12bacf5a (diff)
i122753 Force SwapIn for BitmapObjects which are part of a conversion to BitmapEx
Notes
Notes: merged as: c239615ca48a2ca15460a12ac654774ef927bfdc
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/svdraw/svdxcgv.cxx11
1 files changed, 10 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdxcgv.cxx b/svx/source/svdraw/svdxcgv.cxx
index 3629e5439007..b67aca73338a 100644
--- a/svx/source/svdraw/svdxcgv.cxx
+++ b/svx/source/svdraw/svdxcgv.cxx
@@ -574,8 +574,17 @@ BitmapEx SdrExchangeView::GetMarkedObjBitmapEx(bool bNoVDevIfOneBmpMarked) const
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(
- aSdrObjects[a]->GetViewContact().getViewIndependentPrimitive2DSequence());
+ pCandidate->GetViewContact().getViewIndependentPrimitive2DSequence());
}
// get logic range