summaryrefslogtreecommitdiff
path: root/basegfx/source/vector
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2008-08-19 23:06:29 +0000
committerVladimir Glazounov <vg@openoffice.org>2008-08-19 23:06:29 +0000
commit4e8d1f46f9b0fdf2056c6c55188cda3de47b3160 (patch)
tree959d1fbe5690d9278308a64b379fab4c05116f8d /basegfx/source/vector
parent76e83547488444a925151d92ee8a1ed87c459182 (diff)
INTEGRATION: CWS aw033 (1.13.2); FILE MERGED
2008/05/14 14:41:13 aw 1.13.2.5: RESYNC: (1.16-1.17); FILE MERGED 2007/12/17 09:52:16 aw 1.13.2.4: #i39532# minor primitive corrections 2007/08/09 22:05:22 aw 1.13.2.3: RESYNC: (1.15-1.16); FILE MERGED 2006/09/26 14:53:46 aw 1.13.2.2: RESYNC: (1.14-1.15); FILE MERGED 2005/10/28 11:23:33 aw 1.13.2.1: #i39532#
Diffstat (limited to 'basegfx/source/vector')
-rw-r--r--basegfx/source/vector/b2dvector.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/basegfx/source/vector/b2dvector.cxx b/basegfx/source/vector/b2dvector.cxx
index ea383aa0637a..b3e4e2ae4946 100644
--- a/basegfx/source/vector/b2dvector.cxx
+++ b/basegfx/source/vector/b2dvector.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: b2dvector.cxx,v $
- * $Revision: 1.17 $
+ * $Revision: 1.18 $
*
* This file is part of OpenOffice.org.
*
@@ -200,9 +200,9 @@ namespace basegfx
return CONTINUITY_C2;
}
- if(areParallel(rBackVector, rForwardVector))
+ if(areParallel(rBackVector, rForwardVector) && rBackVector.scalar(rForwardVector) < 0.0)
{
- // same direction -> C1
+ // parallel and opposite direction -> C1
return CONTINUITY_C1;
}