From 87893dfde3d7ec7dffe0bd970b17b9137a392c8f Mon Sep 17 00:00:00 2001 From: VRO <> Date: Wed, 22 Feb 2012 07:49:21 +0000 Subject: [PATCH] 0022943: Bug TDataXtd_PatternStd --- src/TDataXtd/TDataXtd_PatternStd.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/TDataXtd/TDataXtd_PatternStd.cxx b/src/TDataXtd/TDataXtd_PatternStd.cxx index 064a826160..8f8a442117 100755 --- a/src/TDataXtd/TDataXtd_PatternStd.cxx +++ b/src/TDataXtd/TDataXtd_PatternStd.cxx @@ -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();