From 503b4c7ee47b7de02e0499941e6dfcb8593d4ab2 Mon Sep 17 00:00:00 2001 From: asl Date: Wed, 25 Nov 2009 12:37:36 +0000 Subject: [PATCH] debug --- src/Notebook/SALOME_EvalExpr.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); } -- 2.39.2