From bd7ad48c54cc0b90fe9d4f7d6f196ae498f4dce7 Mon Sep 17 00:00:00 2001 From: Pawel <pawel-kowalski@wp.pl> Date: Fri, 23 Nov 2012 15:57:25 +0400 Subject: [PATCH] 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) --- src/IGESGraph/IGESGraph_TextFontDef.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;