diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-27 15:27:37 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-27 15:30:56 +0200 |
commit | 288de2f3bf2d410d9e3e3a362f73f39a5a3245cf (patch) | |
tree | 173cbe7dd96af49d1bce85b86b8265dced9bec01 /formula/source/ui | |
parent | 5db2f661ce9222af01d0f51465bff764cac9299b (diff) |
More loplugin:simplifybool
Change-Id: I40650e3f9f0aea60b5b536e2bf40735583e4358b
Diffstat (limited to 'formula/source/ui')
-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++; } } |