diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-07-16 13:48:17 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-07-16 14:00:16 +0200 |
commit | e363123a245dca2b94575e560809b34696edf42f (patch) | |
tree | 9ed7bebeac955a9066e3eb322a329befd3608b6a /comphelper/source | |
parent | 5a80e3272876f2883cb3329f7b690915958b9146 (diff) |
loplugin:simplifybool
Change-Id: I928325376b97ddd312af0f0a71187f29be607c6a
Diffstat (limited to 'comphelper/source')
-rw-r--r-- | comphelper/source/misc/anytostring.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/comphelper/source/misc/anytostring.cxx b/comphelper/source/misc/anytostring.cxx index 99221361ed24..11b1ade37d22 100644 --- a/comphelper/source/misc/anytostring.cxx +++ b/comphelper/source/misc/anytostring.cxx @@ -251,7 +251,7 @@ void appendValue( OUStringBuffer & buf, break; } case typelib_TypeClass_BOOLEAN: - if (*static_cast< sal_Bool const * >(val) != sal_False) + if (*static_cast< sal_Bool const * >(val)) buf.append( "true" ); else buf.append( "false" ); |