summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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