summaryrefslogtreecommitdiff
path: root/forms/source/xforms/computedexpression.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source/xforms/computedexpression.cxx')
-rw-r--r--forms/source/xforms/computedexpression.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/source/xforms/computedexpression.cxx b/forms/source/xforms/computedexpression.cxx
index 9f6e1c05b4f2..011121bdf56e 100644
--- a/forms/source/xforms/computedexpression.cxx
+++ b/forms/source/xforms/computedexpression.cxx
@@ -168,7 +168,7 @@ bool ComputedExpression::evaluate( const EvaluationContext& rContext )
{
// for simple expression we don't need to re-evaluate (if we have
// an older result); neither for empty expressions
- if( mbIsEmpty || mxResult.is() && mbIsSimple )
+ if( mbIsEmpty || (mxResult.is() && mbIsSimple) )
return true;
return _evaluate( rContext, _getExpressionForEvaluation() );