Kaydet (Commit) a2d814ac authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:implicitboolconversion

("explicit conversion (NoOp) from 'const bool' to 'bool' implicitly cast back to
'const bool'", seen now with a recent trunk Clang 6, and with experimentally
enabling -std=gnu++17 for the LO build; not sure what caused this to be
triggered only now for me)

Change-Id: I5310961b1d50870d3ae06554e4cb37e12ac68151
üst 28119343
......@@ -572,7 +572,7 @@ bool SvxHyphenZoneItem::QueryValue( uno::Any& rVal, sal_uInt8 nMemberId ) con
switch(nMemberId)
{
case MID_IS_HYPHEN:
rVal <<= (bool)bHyphen;
rVal <<= bHyphen;
break;
case MID_HYPHEN_MIN_LEAD:
rVal <<= (sal_Int16)nMinLead;
......
......@@ -2496,7 +2496,7 @@ bool SvxTwoLinesItem::QueryValue( css::uno::Any& rVal,
switch( nMemberId )
{
case MID_TWOLINES:
rVal <<= (bool) bOn;
rVal <<= bOn;
break;
case MID_START_BRACKET:
{
......
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