diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-24 12:32:56 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-24 12:36:25 +0200 |
commit | 7b75b9f22cf9c6f5a4b0b2b49766415fca5fd334 (patch) | |
tree | 38b7b98c3aa62d265eb6fd87196f80d5b6a2e1cd /rsc/inc/rscdb.hxx | |
parent | 3accc5252893c9f583b7a1a076d5c75a604f2652 (diff) |
loplugin:simplifybool
Change-Id: I86cec7670db8594a7563e86c6645c480d3f8702c
Diffstat (limited to 'rsc/inc/rscdb.hxx')
-rw-r--r-- | rsc/inc/rscdb.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rsc/inc/rscdb.hxx b/rsc/inc/rscdb.hxx index 4cd9b41cd7bc..7428785fca7b 100644 --- a/rsc/inc/rscdb.hxx +++ b/rsc/inc/rscdb.hxx @@ -264,11 +264,11 @@ public: Atom AddLanguage( const char* ); bool IsPreload() const - { return (nFlags & PRELOAD_FLAG) ? true : false; } + { return (nFlags & PRELOAD_FLAG) != 0; } bool IsSysResTest() const - { return (nFlags & NOSYSRESTEST_FLAG) ? false : true; } + { return (nFlags & NOSYSRESTEST_FLAG) == 0; } bool IsSrsDefault() const - { return (nFlags & SRSDEFAULT_FLAG) ? true : false; } + { return (nFlags & SRSDEFAULT_FLAG) != 0; } OString ChangeLanguage(const OString & rNewLang); const std::vector< sal_uInt32 >& GetFallbacks() const { return aLangFallbacks; } |