From 572e9cde744e2b482a04ff4b457ad2cfde5f70d2 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 5 Apr 2017 12:26:29 +0200 Subject: loplugin:redundantcast find c-style bool casts Change-Id: I3237b93babc67de12c3771aa84766c2141ca93b2 Reviewed-on: https://gerrit.libreoffice.org/36137 Tested-by: Jenkins Reviewed-by: Noel Grandin --- xmloff/source/style/xmlbahdl.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmloff') diff --git a/xmloff/source/style/xmlbahdl.cxx b/xmloff/source/style/xmlbahdl.cxx index 06bf19bb1501..428508b79cbd 100644 --- a/xmloff/source/style/xmlbahdl.cxx +++ b/xmloff/source/style/xmlbahdl.cxx @@ -675,7 +675,7 @@ XMLIsTransparentPropHdl::~XMLIsTransparentPropHdl() bool XMLIsTransparentPropHdl::importXML( const OUString& rStrImpValue, Any& rValue, const SvXMLUnitConverter& ) const { - bool bValue = ( (bool) (rStrImpValue == sTransparent) == bTransPropValue); + bool bValue = ( (rStrImpValue == sTransparent) == bTransPropValue); rValue <<= bValue; return true; -- cgit