//=======================================================================
RString SALOME_EvalVariant::toString() const
{
+ bool bOk;
char buffer[32];
RString aS;
//
if (aType == SALOME_EvalVariant_Boolean) {
int iX;
//
- iX=toInt();
+ iX=toInt(&bOk);
aS= iX? "true" : "false";
}
else if (aType == SALOME_EvalVariant_Int) {
};
//
bool toBool() const;
- int toInt(bool *ok = 0) const;
- uint toUInt(bool *ok = 0) const;
- double toDouble(bool *ok = 0) const;
+ int toInt(bool *ok) const;
+ uint toUInt(bool *ok) const;
+ double toDouble(bool *ok) const;
RString toString() const;
SALOME_ListOfEvalVariant toList() const;
//