From 22401181774dfb3882e7ad0335f1267d7885ff48 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 23 Apr 2015 18:30:45 +0200 Subject: Improved loplugin:literaltoboolconversion looking into cond. exprs. ...automatic rewriter fixes Change-Id: I6b04ca80f08f8a71ff94e309fd52f44d736751ee --- idl/source/objects/bastype.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'idl') diff --git a/idl/source/objects/bastype.cxx b/idl/source/objects/bastype.cxx index e7994448dc85..6eba84df8f0c 100644 --- a/idl/source/objects/bastype.cxx +++ b/idl/source/objects/bastype.cxx @@ -69,8 +69,8 @@ SvStream& operator >> (SvStream & rStm, SvBOOL & rb ) { sal_uInt8 n; rStm.ReadUChar( n ); - rb.nVal = (n & 0x01) ? sal_True : sal_False; - rb.bSet = (n & 0x02) ? sal_True : sal_False; + rb.nVal = (n & 0x01) ? true : false; + rb.bSet = (n & 0x02) ? true : false; if( n & ~0x03 ) { rStm.SetError( SVSTREAM_FILEFORMAT_ERROR ); -- cgit