From: asl Date: Wed, 25 Nov 2009 12:37:36 +0000 (+0000) Subject: debug X-Git-Tag: PHASE_17_Part1_V1~16 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=503b4c7ee47b7de02e0499941e6dfcb8593d4ab2;p=modules%2Fkernel.git debug --- diff --git a/src/Notebook/SALOME_EvalExpr.cxx b/src/Notebook/SALOME_EvalExpr.cxx index 667f91044..56b37e44f 100755 --- a/src/Notebook/SALOME_EvalExpr.cxx +++ b/src/Notebook/SALOME_EvalExpr.cxx @@ -82,7 +82,8 @@ void SALOME_EvalExpr::initialize( const SALOME_String& theExpr, const bool isStd //======================================================================= SALOME_EvalVariant SALOME_EvalExpr::calculate( const SALOME_String& theExpr ) { - setExpression( theExpr ); + if( theExpr.length() > 0 ) + setExpression( theExpr ); return myParser->calculate(); }