From: Pawel Date: Fri, 23 Nov 2012 11:57:25 +0000 (+0400) Subject: 0023556: Identical sub-expressions to the left and to the right of the '||' operator X-Git-Tag: V6_6_0_beta~210 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=bd7ad48c54cc0b90fe9d4f7d6f196ae498f4dce7;p=occt-copy.git 0023556: Identical sub-expressions to the left and to the right of the '||' operator The second condition changed to: (allMovePenToY->Lower() != 1 || allMovePenToY->Length() != Len) --- diff --git a/src/IGESGraph/IGESGraph_TextFontDef.cxx b/src/IGESGraph/IGESGraph_TextFontDef.cxx index 9506db8c66..72e7117c12 100755 --- a/src/IGESGraph/IGESGraph_TextFontDef.cxx +++ b/src/IGESGraph/IGESGraph_TextFontDef.cxx @@ -47,7 +47,7 @@ IGESGraph_TextFontDef::IGESGraph_TextFontDef () { } (allPenMotions->Lower() != 1 || allPenMotions->Length() != Len) || (allPenFlags->Lower() != 1 || allPenFlags->Length() != Len) || (allMovePenToX->Lower() != 1 || allMovePenToX->Length() != Len) || - (allMovePenToX->Lower() != 1 || allMovePenToX->Length() != Len) ) + (allMovePenToY->Lower() != 1 || allMovePenToY->Length() != Len) ) Standard_DimensionMismatch::Raise("IGESGraph_TextFontDef : Init"); theFontCode = aFontCode;