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

Remove spurious negation operator again

...which had been introduced with 3f4978f8
"loplugin:implicitboolconversion" when changing

  return name.second == sal_True;

to

  return !name.second;

Change-Id: I3d4cfb613efcc72cf01176556c678a97e5817528
üst 420ed9cb
......@@ -265,7 +265,7 @@ void OTableTreeListBox::UpdateTableList( const Reference< XConnection >& _rxConn
[&_rTables] (TNames::value_type name) { return !name.second; }) )
sRootEntryText = ModuleRes(STR_ALL_TABLES);
else if ( ::std::none_of(_rTables.begin(),_rTables.end(),
[&_rTables] (TNames::value_type name) { return !name.second; }) )
[&_rTables] (TNames::value_type name) { return name.second; }) )
sRootEntryText = ModuleRes(STR_ALL_VIEWS);
else
sRootEntryText = ModuleRes(STR_ALL_TABLES_AND_VIEWS);
......
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