noticed with Rational Purify on Windows
ObjectList toRemoveFromEnggine;
ObjectList::iterator anIter;
for (anIter = myTmpObjs.begin(); anIter != myTmpObjs.end(); ++anIter) {
- if (selected.contains(myGeomGUI->getApp()->orb()->object_to_string(*anIter)))
+ CORBA::String_var objStr = myGeomGUI->getApp()->orb()->object_to_string(*anIter);
+ if (selected.contains(QString(objStr.in())))
objects.push_back(*anIter);
else
toRemoveFromEnggine.push_back(*anIter);
getDisplayer()->SetToActivate( activate );
// Make a reference to GEOM_Object
- getDisplayer()->SetName( myGeometryGUI->getApp()->orb()->object_to_string( object ) );
+ CORBA::String_var objStr = myGeometryGUI->getApp()->orb()->object_to_string( object );
+ getDisplayer()->SetName( objStr.in() );
// Create wire from applayed object
TopoDS_Shape anApplyedWire, aLastSegment;