diff options
-rw-r--r-- | formula/source/ui/dlg/FormulaHelper.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/formula/source/ui/dlg/FormulaHelper.cxx b/formula/source/ui/dlg/FormulaHelper.cxx index 8afdfcd4c8ed..578842f3bba1 100644 --- a/formula/source/ui/dlg/FormulaHelper.cxx +++ b/formula/source/ui/dlg/FormulaHelper.cxx @@ -223,7 +223,7 @@ sal_Int32 FormulaHelper::GetFunctionStart( const OUString& rFormula, if (nParPos > 0) nParPos--; } - else if ( (bFound = ( rFormula[nParPos] == '(' ) ) == false ) + else if ( !(bFound = ( rFormula[nParPos] == '(' ) ) ) nParPos--; } } @@ -238,7 +238,7 @@ sal_Int32 FormulaHelper::GetFunctionStart( const OUString& rFormula, nParPos++; nParPos++; } - else if ( (bFound = ( rFormula[nParPos] == '(' ) ) == false ) + else if ( !(bFound = ( rFormula[nParPos] == '(' ) ) ) nParPos++; } } |