summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-25 15:51:05 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-25 15:51:05 +0200
commita8cd99685abf879c56e04a95a5b2881d2adddcb9 (patch)
tree532befdf88bd4c90ea30db42cb6e093285326542 /dbaccess
parent420ed9cb1d7f164be88ee2a01f79372744ed5f03 (diff)
Remove spurious negation operator again
...which had been introduced with 3f4978f8c660c595773c92b99d45d0631cac04b0 "loplugin:implicitboolconversion" when changing return name.second == sal_True; to return !name.second; Change-Id: I3d4cfb613efcc72cf01176556c678a97e5817528
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/ui/control/tabletree.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ui/control/tabletree.cxx b/dbaccess/source/ui/control/tabletree.cxx
index 85ce260400a4..feb00aab3b48 100644
--- a/dbaccess/source/ui/control/tabletree.cxx
+++ b/dbaccess/source/ui/control/tabletree.cxx
@@ -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);