drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx | 20 ------------- 1 file changed, 20 deletions(-)
New commits: commit df99bb3d0de567fa34f7f6edfca4f736abb0efa2 Author: Thorsten Behrens <[email protected]> Date: Thu Oct 11 21:21:40 2012 +0200 Fix fdo#35278 - don't generate hidden primitive rectangles I'm really rather certain we don't need to generate those non-stroked, non-filled rects in metafiles - at least not for the slideshow. The comment states otherwise, alas, there's no further explanation in any referenced bug etc. Change-Id: If7040b46900ea32515f29cf371897a693858b100 diff --git a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx index b592284..5f7d8e7 100644 --- a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx +++ b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx @@ -1704,26 +1704,6 @@ namespace drawinglayer RenderModifiedColorPrimitive2D(static_cast< const primitive2d::ModifiedColorPrimitive2D& >(rCandidate)); break; } - case PRIMITIVE2D_ID_HIDDENGEOMETRYPRIMITIVE2D : - { - // HiddenGeometryPrimitive2D; to rebuilt the old MetaFile creation, it is necessary to - // not ignore them (as it was thought), but to add a MetaFile entry for them. - basegfx::B2DRange aInvisibleRange(rCandidate.getB2DRange(getViewInformation2D())); - - if(!aInvisibleRange.isEmpty()) - { - aInvisibleRange.transform(maCurrentTransformation); - const Rectangle aRectLogic( - (sal_Int32)floor(aInvisibleRange.getMinX()), (sal_Int32)floor(aInvisibleRange.getMinY()), - (sal_Int32)ceil(aInvisibleRange.getMaxX()), (sal_Int32)ceil(aInvisibleRange.getMaxY())); - - mpOutputDevice->SetFillColor(); - mpOutputDevice->SetLineColor(); - mpOutputDevice->DrawRect(aRectLogic); - } - - break; - } case PRIMITIVE2D_ID_UNIFIEDTRANSPARENCEPRIMITIVE2D : { // for metafile: Need to examine what the pure vcl version is doing here actually _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
