summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--basegfx/source/polygon/b2dlinegeometry.cxx11
1 files changed, 8 insertions, 3 deletions
diff --git a/basegfx/source/polygon/b2dlinegeometry.cxx b/basegfx/source/polygon/b2dlinegeometry.cxx
index b359b61ef7b6..a5767055051b 100644
--- a/basegfx/source/polygon/b2dlinegeometry.cxx
+++ b/basegfx/source/polygon/b2dlinegeometry.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: b2dlinegeometry.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: rt $ $Date: 2005-09-07 20:45:33 $
+ * last change: $Author: hr $ $Date: 2006-06-20 03:43:26 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -139,7 +139,7 @@ namespace basegfx
double fHalfLineWidth,
tools::B2DLineJoin eJoin,
double fDegreeStepWidth,
- double fMiterMinimumAngle)
+ double /*fMiterMinimumAngle*/)
{
OSL_ENSURE(fHalfLineWidth > 0.0, "createAreaGeometryForJoin: LineWidth too small (!)");
OSL_ENSURE(fDegreeStepWidth > 0.0, "createAreaGeometryForJoin: DegreeStepWidth too small (!)");
@@ -288,6 +288,11 @@ namespace basegfx
break;
}
+ case tools::B2DLINEJOIN_NONE:
+ break; // nothing to add to aRetVal
+ default:
+ OSL_ENSURE(false,
+ "createAreaGeometryForJoin(): unexpected case.");
}
}