]> OCCT Git - occt-copy.git/commitdiff
0023556: Identical sub-expressions to the left and to the right of the '||' operator
authorPawel <pawel-kowalski@wp.pl>
Fri, 23 Nov 2012 11:57:25 +0000 (15:57 +0400)
committerPawel <pawel-kowalski@wp.pl>
Fri, 23 Nov 2012 11:57:25 +0000 (15:57 +0400)
The second condition changed to: (allMovePenToY->Lower() != 1 || allMovePenToY->Length() != Len)

src/IGESGraph/IGESGraph_TextFontDef.cxx

index 9506db8c660195ff3ad07052f68b92ea839aa89d..72e7117c128e219110cc81c4789053cdb404429e 100755 (executable)
@@ -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;