summaryrefslogtreecommitdiff
path: root/basegfx/source/polygon
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2006-11-14 13:09:19 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2006-11-14 13:09:19 +0000
commit417f4438b65c0bb8ab982293372891e5f04ab34e (patch)
tree7477c862193da9a3ecc9d39383f33112f64fe327 /basegfx/source/polygon
parentf35059ee747589af6da3d7e40b9ac058e8d8eea6 (diff)
INTEGRATION: CWS aw024 (1.4.24); FILE MERGED
2006/09/21 21:02:27 aw 1.4.24.6: RESYNC: (1.7-1.8); FILE MERGED 2006/08/04 13:34:06 aw 1.4.24.5: adaptions after resync 2006/08/03 16:02:19 aw 1.4.24.4: RESYNC: (1.6-1.7); FILE MERGED 2006/07/07 15:57:56 aw 1.4.24.3: adaptions after resync SRC680m171->SRC680m174 2005/09/19 21:50:27 aw 1.4.24.2: RESYNC: (1.4-1.5); FILE MERGED 2005/05/12 16:35:16 aw 1.4.24.1: #i39529#
Diffstat (limited to 'basegfx/source/polygon')
-rw-r--r--basegfx/source/polygon/b3dpolypolygon.cxx13
1 files changed, 10 insertions, 3 deletions
diff --git a/basegfx/source/polygon/b3dpolypolygon.cxx b/basegfx/source/polygon/b3dpolypolygon.cxx
index 95e700a031cf..2efb40aa10ce 100644
--- a/basegfx/source/polygon/b3dpolypolygon.cxx
+++ b/basegfx/source/polygon/b3dpolypolygon.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: b3dpolypolygon.cxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: obo $ $Date: 2006-09-17 08:04:03 $
+ * last change: $Author: ihi $ $Date: 2006-11-14 14:09:19 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -52,6 +52,10 @@
#include <rtl/instance.hxx>
#endif
+#ifndef _BGFX_MATRIX_B3DHOMMATRIX_HXX
+#include <basegfx/matrix/b3dhommatrix.hxx>
+#endif
+
#include <functional>
#include <vector>
#include <algorithm>
@@ -350,7 +354,10 @@ namespace basegfx
void B3DPolyPolygon::transform(const ::basegfx::B3DHomMatrix& rMatrix)
{
- mpPolyPolygon->transform(rMatrix);
+ if(mpPolyPolygon->count() && !rMatrix.isIdentity())
+ {
+ mpPolyPolygon->transform(rMatrix);
+ }
}
} // end of namespace basegfx