From e363123a245dca2b94575e560809b34696edf42f Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 16 Jul 2015 13:48:17 +0200 Subject: loplugin:simplifybool Change-Id: I928325376b97ddd312af0f0a71187f29be607c6a --- comphelper/source/misc/anytostring.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'comphelper') 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" ); -- cgit