summaryrefslogtreecommitdiff
path: root/starmath/inc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-24 12:33:33 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-24 12:36:28 +0200
commit2ac33c984efa405f73a23748687df73ce461b630 (patch)
treea3ccad901955e70dc4ec5ce709dc50e60f97cefa /starmath/inc
parentf98ef646e462db3ee7c7242f6b288c5fc2d05a78 (diff)
loplugin:simplifybool
Change-Id: Iea7d0e2e8440e8780067e5a51072b6ab9a72b8ab
Diffstat (limited to 'starmath/inc')
-rw-r--r--starmath/inc/parse.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/inc/parse.hxx b/starmath/inc/parse.hxx
index 0ff2afee1d9d..fc40be80e4ca 100644
--- a/starmath/inc/parse.hxx
+++ b/starmath/inc/parse.hxx
@@ -128,7 +128,7 @@ public:
inline bool SmParser::TokenInGroup( sal_uLong nGroup)
{
- return (m_aCurToken.nGroup & nGroup) ? true : false;
+ return (m_aCurToken.nGroup & nGroup) != 0;
}