summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-01-15 14:50:46 +0200
committerNoel Grandin <noel@peralex.com>2016-01-15 14:51:04 +0200
commit804094be2514d099f6bb2be63d1536bebf6f06bc (patch)
tree70ceba43eafe9617aaca12b4b3b549c70190c772
parente15a997b153551a4c0e91964b5cff1b6269a9790 (diff)
loplugin:simplifybool
Change-Id: Ida569b2158ad1126409b568c6ee7b2d911738bfa
-rw-r--r--vcl/inc/fontattributes.hxx2
1 files changed, 1 insertions, 1 deletions
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