From: ana Date: Wed, 6 Aug 2014 14:35:30 +0000 (+0400) Subject: Win32 compatibility X-Git-Tag: V7_5_0a1~10 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0754fcc4d8b34425d0c50ff3889a00f1b6ce245a;p=plugins%2Fblsurfplugin.git Win32 compatibility --- 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());