openoffice-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r1503699 - /openoffice/branches/AOO400/main/svx/source/svdraw/svdxcgv.cxx
Date Tue, 16 Jul 2013 12:57:35 GMT
Author: alg
Date: Tue Jul 16 12:57:35 2013
New Revision: 1503699

URL: http://svn.apache.org/r1503699
Log:
i122753 integrated fix from trunk

Modified:
    openoffice/branches/AOO400/main/svx/source/svdraw/svdxcgv.cxx

Modified: openoffice/branches/AOO400/main/svx/source/svdraw/svdxcgv.cxx
URL: http://svn.apache.org/viewvc/openoffice/branches/AOO400/main/svx/source/svdraw/svdxcgv.cxx?rev=1503699&r1=1503698&r2=1503699&view=diff
==============================================================================
--- openoffice/branches/AOO400/main/svx/source/svdraw/svdxcgv.cxx (original)
+++ openoffice/branches/AOO400/main/svx/source/svdraw/svdxcgv.cxx Tue Jul 16 12:57:35 2013
@@ -574,8 +574,17 @@ BitmapEx SdrExchangeView::GetMarkedObjBi
 
                 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



Mime
View raw message