summaryrefslogtreecommitdiffstats
path: root/include/unotools/charclass.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/unotools/charclass.hxx')
-rw-r--r--include/unotools/charclass.hxx4
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