[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]
[XaraXtreme-commits] Commit Complete
Commit by : gerry
Repository : xara
Revision : 1407
Date : Wed Jul 5 15:13:34 BST 2006
Changed paths:
M /Trunk/XaraLX/tools/textops.cpp
Eliminated warnings from SqrDistanceToPoint usage
Diff:
Index: Trunk/XaraLX/tools/textops.cpp
===================================================================
--- Trunk/XaraLX/tools/textops.cpp (revision 1406)
+++ Trunk/XaraLX/tools/textops.cpp (revision 1407)
@@ -5641,7 +5641,7 @@
INT32 NearEl=0;
double mu=0.0;
- double SqrDist = mpStoryPath->InkPath.SqrDistanceToPoint(Current, &NearEl, &mu);
+ mpStoryPath->InkPath.SqrDistanceToPoint(Current, &NearEl, &mu);
DocCoord LinePoint = mpStoryPath->InkPath.ClosestPointTo(mu, NearEl);
// We need to stop the left hand blob going past the right hand one.
@@ -5676,7 +5676,7 @@
INT32 NearEl=0;
double mu=0.0;
- double SqrDist = mpStoryPath->InkPath.SqrDistanceToPoint(Current, &NearEl, &mu);
+ mpStoryPath->InkPath.SqrDistanceToPoint(Current, &NearEl, &mu);
DocCoord LinePoint = mpStoryPath->InkPath.ClosestPointTo(mu, NearEl);
// We need to stop the right hand blob going past the left hand one.
Xara