From 0754fcc4d8b34425d0c50ff3889a00f1b6ce245a Mon Sep 17 00:00:00 2001 From: ana Date: Wed, 6 Aug 2014 18:35:30 +0400 Subject: [PATCH] Win32 compatibility --- src/BLSURFPlugin/BLSURFPlugin_Hypothesis_i.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/BLSURFPlugin/BLSURFPlugin_Hypothesis_i.cxx b/src/BLSURFPlugin/BLSURFPlugin_Hypothesis_i.cxx index f59e470..7eae6da 100644 --- a/src/BLSURFPlugin/BLSURFPlugin_Hypothesis_i.cxx +++ b/src/BLSURFPlugin/BLSURFPlugin_Hypothesis_i.cxx @@ -1292,8 +1292,8 @@ void BLSURFPlugin_Hypothesis_i::UnsetAttractorGeom(GEOM::GEOM_Object_ptr theFace // if (!theSFace->_is_nil()) // theFaceEntry = theSFace->GetID(); // } - if ( !theFaceEntry.in() || !theFaceEntry[0] || - !theAttrEntry.in() || !theAttrEntry[0] ) + if ( !theFaceEntry.in() || !theFaceEntry.in()[0] || + !theAttrEntry.in() || !theAttrEntry.in()[0] ) THROW_SALOME_CORBA_EXCEPTION( "Geom object is not published in study" ,SALOME::BAD_PARAM ); MESSAGE("IDL : GetName : " << theFace->GetName()); -- 2.39.2