- Handle(GEOM_Function) function = GetFunction(i);
- if ( !function.IsNull() )
- {
- Standard_GUID aGUID = function->GetDriverGUID();
- aDriverVec.push_back( Handle(TFunction_Driver )() );
- if ( TFunction_DriverTable::Get()->FindDriver(aGUID, aDriverVec.back() ))
- aDriverVec.back()->Init( function->GetEntry() );
- else
- aDriverVec.pop_back();
- }
+ Standard_GUID aGUID = function->GetDriverGUID();
+ if ( TFunction_DriverTable::Get()->FindDriver(aGUID, driver ))
+ driver->Init( function->GetEntry() );