From 804094be2514d099f6bb2be63d1536bebf6f06bc Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 15 Jan 2016 14:50:46 +0200 Subject: loplugin:simplifybool Change-Id: Ida569b2158ad1126409b568c6ee7b2d911738bfa --- vcl/inc/fontattributes.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcl/inc/fontattributes.hxx b/vcl/inc/fontattributes.hxx index 5ab9b4fd9b1d..17eddc62f54b 100644 --- a/vcl/inc/fontattributes.hxx +++ b/vcl/inc/fontattributes.hxx @@ -136,7 +136,7 @@ inline void FontAttributes::SetSymbolFlag( const bool bSymbolFlag ) inline void FontAttributes::SetCharSet( const rtl_TextEncoding aEncoding ) { meCharSet = aEncoding; - mbSymbolFlag = ( meCharSet == RTL_TEXTENCODING_SYMBOL ? true : false ); + mbSymbolFlag = meCharSet == RTL_TEXTENCODING_SYMBOL; } #endif // INCLUDED_VCL_INC_FONTATTRIBUTES_HXX -- cgit v1.2.3