try {
OCC_CATCH_SIGNALS;
replot();
- } catch(Standard_Failure) {
+ } catch(Standard_Failure&) {
}
}
OCC_CATCH_SIGNALS;
myExpr = ExprIntrp_GenExp::Create();
myExpr->Process( ( Standard_CString ) str.toLatin1().data() );
- } catch(Standard_Failure) {
+ } catch(Standard_Failure&) {
parsed_ok = false;
}
try {
OCC_CATCH_SIGNALS;
res = myExpr->Expression()->Evaluate( myVars, myValues );
- } catch(Standard_Failure) {
+ } catch(Standard_Failure&) {
ok = false;
res = 0.0;
}
//
if(v < -7) v = -7.0;
v = pow( 10.0, v );
- } catch(Standard_Failure) {
+ } catch(Standard_Failure&) {
v = 0.0;
ok = false;
}