vcl/inc/fontattributes.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 804094be2514d099f6bb2be63d1536bebf6f06bc Author: Noel Grandin <n...@peralex.com> Date: Fri Jan 15 14:50:46 2016 +0200 loplugin:simplifybool Change-Id: Ida569b2158ad1126409b568c6ee7b2d911738bfa diff --git a/vcl/inc/fontattributes.hxx b/vcl/inc/fontattributes.hxx index 5ab9b4f..17eddc6 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 _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits