summaryrefslogtreecommitdiff
path: root/comphelper/source/misc/anytostring.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'comphelper/source/misc/anytostring.cxx')
-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" );