diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-24 12:24:50 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-24 12:36:18 +0200 |
commit | ed83ba34a55857f1a4f1c1f1577bb25dcf733bd4 (patch) | |
tree | a78051761bee3543e8d633f0d51e157de8326907 /basic/source/runtime/methods.cxx | |
parent | d39b9c29d53932a55e963caceb5721353815e765 (diff) |
loplugin:simplifybool
Change-Id: I6e181bc4b144c2559ede99d3bae0496cf546415c
Diffstat (limited to 'basic/source/runtime/methods.cxx')
-rw-r--r-- | basic/source/runtime/methods.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx index b994330fb627..fc060f725790 100644 --- a/basic/source/runtime/methods.cxx +++ b/basic/source/runtime/methods.cxx @@ -2517,7 +2517,7 @@ RTLFUNC(IsArray) } else { - rPar.Get(0)->PutBool((rPar.Get(1)->GetType() & SbxARRAY) ? true : false ); + rPar.Get(0)->PutBool((rPar.Get(1)->GetType() & SbxARRAY) != 0); } } |