summaryrefslogtreecommitdiff
path: root/cppcanvas/source/mtfrenderer/implrenderer.cxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2005-11-17 15:14:06 +0000
committerOliver Bolte <obo@openoffice.org>2005-11-17 15:14:06 +0000
commit2b85f84e40cac465fcbc64a85b97c1854a383750 (patch)
tree37fa4d225dfd006afba22315dddd49799e5aaab8 /cppcanvas/source/mtfrenderer/implrenderer.cxx
parente23dc72bb4de08ba8b8939dac1146a178864aaf4 (diff)
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)
Diffstat (limited to 'cppcanvas/source/mtfrenderer/implrenderer.cxx')
-rw-r--r--cppcanvas/source/mtfrenderer/implrenderer.cxx22
1 files 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