summaryrefslogtreecommitdiff
path: root/comphelper
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-07-16 13:48:17 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-07-16 14:00:16 +0200
commite363123a245dca2b94575e560809b34696edf42f (patch)
tree9ed7bebeac955a9066e3eb322a329befd3608b6a /comphelper
parent5a80e3272876f2883cb3329f7b690915958b9146 (diff)
loplugin:simplifybool
Change-Id: I928325376b97ddd312af0f0a71187f29be607c6a
Diffstat (limited to 'comphelper')
-rw-r--r--comphelper/source/misc/anytostring.cxx2
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" );