From 3c232d2f86f6944a3d86df0d1f710491cee1b064 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 10 Jan 2014 17:04:16 +0100 Subject: Use proper bool operations Change-Id: I5b4af4fbd9d286393d8553b9346ad7e74f690a85 --- include/svl/zformat.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/svl/zformat.hxx b/include/svl/zformat.hxx index 43a473018abb..10ec8c639fb6 100644 --- a/include/svl/zformat.hxx +++ b/include/svl/zformat.hxx @@ -107,7 +107,7 @@ public: bSet = true; } bool IsSet() const { return bSet; } - void SetDate( bool bDateP ) { bDate = (bDateP != 0); } + void SetDate( bool bDateP ) { bDate = bDateP; } }; class CharClass; -- cgit