0022943: Bug TDataXtd_PatternStd
authorVRO <>
Wed, 22 Feb 2012 07:49:21 +0000 (07:49 +0000)
committerbugmaster <bugmaster@opencascade.com>
Mon, 5 Mar 2012 15:32:59 +0000 (19:32 +0400)
src/TDataXtd/TDataXtd_PatternStd.cxx

index 064a826..8f8a442 100755 (executable)
@@ -188,8 +188,8 @@ void TDataXtd_PatternStd::NbInstances1(const Handle(TDataStd_Integer)& NbInstanc
 void TDataXtd_PatternStd::NbInstances2(const Handle(TDataStd_Integer)& NbInstances2) 
 {
   // OCC2932 correction
-  if(!myNb1.IsNull())
-    if(myNb1->Get() == NbInstances2->Get())
+  if(!myNb2.IsNull())
+    if(myNb2->Get() == NbInstances2->Get())
       return;
 
   Backup();