diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-24 12:25:45 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-24 12:36:21 +0200 |
commit | bfa4494560884635a03c4db89588a118f9a2be0b (patch) | |
tree | 9e69351a1f2598457483f68f261c0efc940b736c /include/editeng | |
parent | 103bf75921e069d1c078c0ef30b94b8f91920877 (diff) |
loplugin:simplifybool
Change-Id: I0d41417b964f7f43b413a7b29fb1cf930f363427
Diffstat (limited to 'include/editeng')
-rw-r--r-- | include/editeng/svxacorr.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/editeng/svxacorr.hxx b/include/editeng/svxacorr.hxx index 93b2a74c0f00..4724843e3c40 100644 --- a/include/editeng/svxacorr.hxx +++ b/include/editeng/svxacorr.hxx @@ -329,7 +329,7 @@ public: long GetFlags() const { return nFlags; } inline SvxSwAutoFmtFlags& GetSwFlags() { return aSwFlags;} bool IsAutoCorrFlag( long nFlag ) const - { return nFlags & nFlag ? true : false; } + { return (nFlags & nFlag) != 0; } void SetAutoCorrFlag( long nFlag, bool bOn = true ); // Load, Set, Get - the replacement list |