summaryrefslogtreecommitdiff
path: root/basegfx/source/polygon/b2dlinegeometry.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-20 02:43:26 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-20 02:43:26 +0000
commitffd5b2df17b6e18dad7b388ec97126d37b4ebaa2 (patch)
treeba993850928dfdc34882afaa270ecc50659b6df2 /basegfx/source/polygon/b2dlinegeometry.cxx
parent81502ae57aec17d72f716b74438bed1486326121 (diff)
INTEGRATION: CWS warnings01 (1.2.34); FILE MERGED
2005/10/24 16:15:02 pl 1.2.34.3: #i55991# remove warnings for solaris platform 2005/09/22 23:46:32 sb 1.2.34.2: RESYNC: (1.2-1.3); FILE MERGED 2005/09/01 19:39:29 thb 1.2.34.1: #i53898# Removed dead code; added missing case statement for enum switch (plus an asserted default); corrected assignment of ptr type to integer type
Diffstat (limited to 'basegfx/source/polygon/b2dlinegeometry.cxx')
-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.");
}
}