diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-09-09 10:26:13 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-09-09 10:26:13 +0000 |
commit | a0c7aaae1b8018841d273290710c4056b3f98ae0 (patch) | |
tree | 50a305e4e6d3d7bf42268efc3a40c68a271a52c8 /goodies | |
parent | 91926a6b2884cc0956e257890b1a2d916e39a269 (diff) |
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
Diffstat (limited to 'goodies')
-rw-r--r-- | goodies/source/base3d/base3d.cxx | 12 |
1 files changed, 10 insertions, 2 deletions
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(); |