diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-06 14:49:15 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-10 09:57:24 +0200 |
commit | 4250b25c6ae361359300ab6ccde27230f8e01039 (patch) | |
tree | 916a8420282928a92ede0760d696997550ae0840 /include/unotools | |
parent | 2ed9a2b641682d8612b5404bd3978ed049aa0266 (diff) |
teach unnecessaryparen loplugin about identifiers
Change-Id: I5710b51e53779c222cec0bf08cd34bda330fec4b
Reviewed-on: https://gerrit.libreoffice.org/39737
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/unotools')
-rw-r--r-- | include/unotools/charclass.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/unotools/charclass.hxx b/include/unotools/charclass.hxx index 20f9857d0ac0..bfcf05514fd7 100644 --- a/include/unotools/charclass.hxx +++ b/include/unotools/charclass.hxx @@ -101,7 +101,7 @@ public: static bool isNumericType( sal_Int32 nType ) { return ((nType & nCharClassNumericType) != 0) && - ((nType & ~(nCharClassNumericTypeMask)) == 0); + ((nType & ~nCharClassNumericTypeMask) == 0); } /// whether type is pure alphanumeric or not, e.g. return of getStringType @@ -117,7 +117,7 @@ public: static bool isLetterType( sal_Int32 nType ) { return ((nType & nCharClassLetterType) != 0) && - ((nType & ~(nCharClassLetterTypeMask)) == 0); + ((nType & ~nCharClassLetterTypeMask) == 0); } /// whether type is pure letternumeric or not, e.g. return of getStringType |