From 2b85f84e40cac465fcbc64a85b97c1854a383750 Mon Sep 17 00:00:00 2001 From: Oliver Bolte Date: Thu, 17 Nov 2005 15:14:06 +0000 Subject: [PATCH] INTEGRATION: CWS canvas03 (1.14.2); FILE MERGED 2005/11/15 19:13:22 thb 1.14.2.1: #i46618# Backed out fix for subset range clipping - we don't have any fixed coordinate system here, in general (instead, fixed that in slideshow's DrawShape) --- cppcanvas/source/mtfrenderer/implrenderer.cxx | 22 +++---------------- 1 file changed, 3 insertions(+), 19 deletions(-) diff --git a/cppcanvas/source/mtfrenderer/implrenderer.cxx b/cppcanvas/source/mtfrenderer/implrenderer.cxx index 86b5eaa60353..7b9c0c8a01cf 100644 --- a/cppcanvas/source/mtfrenderer/implrenderer.cxx +++ b/cppcanvas/source/mtfrenderer/implrenderer.cxx @@ -4,9 +4,9 @@ * * $RCSfile: implrenderer.cxx,v $ * - * $Revision: 1.14 $ + * $Revision: 1.15 $ * - * last change: $Author: kz $ $Date: 2005-11-02 13:40:15 $ + * last change: $Author: obo $ $Date: 2005-11-17 16:14:06 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -2996,23 +2996,7 @@ namespace cppcanvas nEndIndex, maActions.end() ); - ::basegfx::B2DRange aBounds( - aQuery.getBounds() ); - - OSL_ENSURE( aBounds.getMinX() >= 0.0 && - aBounds.getMinY() >= 0.0 && - aBounds.getMaxX() <= 1.0 && - aBounds.getMaxY() <= 1.0, - "ImplRenderer::getSubsetArea(): bounds larger than original shape - clipping!" ); - - // really make sure no shape appears larger than its - // original bounds (there _are_ some pathologic cases, - // especially when imported from PPT, that have - // e.g. obscenely large polygon bounds) - aBounds.intersect( - ::basegfx::B2DRange( 0.0, 0.0, - 1.0, 1.0 )); - return aBounds; + return aQuery.getBounds(); } bool ImplRenderer::draw() const