summaryrefslogtreecommitdiff
path: root/basegfx/source/polygon
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2006-11-14 13:08:49 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2006-11-14 13:08:49 +0000
commitf35059ee747589af6da3d7e40b9ac058e8d8eea6 (patch)
treef79a819e3c26c1d03a3bb5b6baf952e393f8b9a8 /basegfx/source/polygon
parentbdc4aa1fd3ebb8196b2150968ebc076720b9f00b (diff)
INTEGRATION: CWS aw024 (1.7.6); FILE MERGED
2006/09/21 21:02:11 aw 1.7.6.4: RESYNC: (1.8-1.9); FILE MERGED 2006/08/04 13:34:05 aw 1.7.6.3: adaptions after resync 2006/08/03 16:02:11 aw 1.7.6.2: RESYNC: (1.7-1.8); FILE MERGED 2006/07/07 15:57:56 aw 1.7.6.1: adaptions after resync SRC680m171->SRC680m174
Diffstat (limited to 'basegfx/source/polygon')
-rw-r--r--basegfx/source/polygon/b3dpolygon.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/basegfx/source/polygon/b3dpolygon.cxx b/basegfx/source/polygon/b3dpolygon.cxx
index ade4c155fff7..f328e723539a 100644
--- a/basegfx/source/polygon/b3dpolygon.cxx
+++ b/basegfx/source/polygon/b3dpolygon.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: b3dpolygon.cxx,v $
*
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: obo $ $Date: 2006-09-17 08:03:36 $
+ * last change: $Author: ihi $ $Date: 2006-11-14 14:08:49 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -542,8 +542,10 @@ namespace basegfx
void B3DPolygon::transform(const ::basegfx::B3DHomMatrix& rMatrix)
{
- if(count())
+ if(mpPolygon->count() && !rMatrix.isIdentity())
+ {
mpPolygon->transform(rMatrix);
+ }
}
} // end of namespace basegfx