Kaydet (Commit) 804094be authored tarafından Noel Grandin's avatar Noel Grandin

loplugin:simplifybool

Change-Id: Ida569b2158ad1126409b568c6ee7b2d911738bfa
üst e15a997b
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment