summaryrefslogtreecommitdiff
path: root/formula/source/core/api/token.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-05-29 11:34:00 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-05-29 14:44:37 +0200
commit9b25614939f7709e3d67949f49c4beeec0cdc534 (patch)
treec1e25fc743202c1fd8288ef5f8c0332203b1fc5c /formula/source/core/api/token.cxx
parent6647a167400753df45dba788ed793d55ca0be9f8 (diff)
loplugin:simplifybool in dbaccess..framework
Change-Id: I0d73bb7d8d3fde426edc0a10c0750758b68aceb5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95099 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'formula/source/core/api/token.cxx')
-rw-r--r--formula/source/core/api/token.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/formula/source/core/api/token.cxx b/formula/source/core/api/token.cxx
index 0b8b373a9de3..68df38517f76 100644
--- a/formula/source/core/api/token.cxx
+++ b/formula/source/core/api/token.cxx
@@ -1357,7 +1357,7 @@ FormulaTokenArray * FormulaTokenArray::RewriteMissing( const MissingConvention &
// Omit everything except a trailing separator, the leading
// separator is omitted below. The other way around would leave
// an extraneous separator if no parameter followed.
- if (!(pOcas[ i ] == nFn && pCur->GetOpCode() == ocSep))
+ if (pOcas[ i ] != nFn || pCur->GetOpCode() != ocSep)
bAdd = false;
}
}