summaryrefslogtreecommitdiff
path: root/basegfx/source/polygon/b2dpolygon.cxx
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2006-11-14 13:07:41 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2006-11-14 13:07:41 +0000
commit0118acc1674bbc23bae13668fdc2a70d43408629 (patch)
tree87b4dd4d42d183570c2e5319fd288d64ec1b3fb1 /basegfx/source/polygon/b2dpolygon.cxx
parent454bb4b57884b6cc216dfa64c3240e04459aa341 (diff)
INTEGRATION: CWS aw024 (1.11.6); FILE MERGED
2006/09/21 21:00:41 aw 1.11.6.10: RESYNC: (1.16-1.17); FILE MERGED 2006/08/04 13:34:05 aw 1.11.6.9: adaptions after resync 2006/08/03 16:01:57 aw 1.11.6.8: RESYNC: (1.15-1.16); FILE MERGED 2006/07/04 13:48:36 aw 1.11.6.7: RESYNC: (1.14-1.15); FILE MERGED 2006/06/29 10:54:02 aw 1.11.6.6: #i39528# do not create unique copy of poly(polygon) when transformation is empty 2005/09/19 21:48:25 aw 1.11.6.5: RESYNC: (1.12-1.13); FILE MERGED 2005/07/13 11:11:12 aw 1.11.6.4: #114176# 2005/05/25 09:44:39 aw 1.11.6.3: #i39529# 2005/05/13 16:31:06 aw 1.11.6.2: RESYNC: (1.11-1.12); FILE MERGED 2005/05/12 16:35:14 aw 1.11.6.1: #i39529#
Diffstat (limited to 'basegfx/source/polygon/b2dpolygon.cxx')
-rw-r--r--basegfx/source/polygon/b2dpolygon.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/basegfx/source/polygon/b2dpolygon.cxx b/basegfx/source/polygon/b2dpolygon.cxx
index 06098ffda421..e38bb0d67dcd 100644
--- a/basegfx/source/polygon/b2dpolygon.cxx
+++ b/basegfx/source/polygon/b2dpolygon.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: b2dpolygon.cxx,v $
*
- * $Revision: 1.17 $
+ * $Revision: 1.18 $
*
- * last change: $Author: obo $ $Date: 2006-09-17 08:01:18 $
+ * last change: $Author: ihi $ $Date: 2006-11-14 14:07:41 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -1164,8 +1164,10 @@ namespace basegfx
void B2DPolygon::transform(const ::basegfx::B2DHomMatrix& rMatrix)
{
- if(count())
+ if(mpPolygon->count() && !rMatrix.isIdentity())
+ {
mpPolygon->transform(rMatrix);
+ }
}
} // end of namespace basegfx