From a0c7aaae1b8018841d273290710c4056b3f98ae0 Mon Sep 17 00:00:00 2001
From: Jens-Heiner Rechtien
Date: Thu, 9 Sep 2004 10:26:13 +0000
Subject: INTEGRATION: CWS ooo20040815 (1.6.62); FILE MERGED 2004/08/04
13:29:03 waratah 1.6.62.1: #i32569# add default clauses to case statements
---
goodies/source/base3d/base3d.cxx | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
(limited to 'goodies')
diff --git a/goodies/source/base3d/base3d.cxx b/goodies/source/base3d/base3d.cxx
index 5c5e1f51019f..d2fbb2b90d31 100644
--- a/goodies/source/base3d/base3d.cxx
+++ b/goodies/source/base3d/base3d.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: base3d.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: vg $ $Date: 2004-01-06 15:03:49 $
+ * last change: $Author: hr $ $Date: 2004-09-09 11:26:13 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -552,6 +552,8 @@ void Base3D::StartPrimitive(Base3DObjectMode eMode)
aComplexPolygon.StartPrimitive();
break;
}
+ default:
+ break; // -Wall multiple cases not handled.
}
}
else
@@ -579,6 +581,8 @@ void Base3D::EndPrimitive()
aComplexPolygon.EndPrimitive(this);
break;
}
+ default:
+ break; // -Wall multiple values not handled.
}
}
else
@@ -766,6 +770,8 @@ void Base3D::PostAddVertex(B3dEntity& rEntity)
aComplexPolygon.PostAddVertex(rEntity);
break;
}
+ default:
+ break; // -Wall multiple values not handled.
}
}
else
@@ -793,6 +799,8 @@ B3dEntity& Base3D::GetFreeEntity()
return aComplexPolygon.GetFreeEntity();
break;
}
+ default:
+ break;
}
}
return ImplGetFreeEntity();
--
cgit