[Libreoffice-commits] core.git: dbaccess/source
Stephan Bergmann
sbergman at redhat.com
Thu Jun 25 06:52:56 PDT 2015
dbaccess/source/ui/control/tabletree.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit a8cd99685abf879c56e04a95a5b2881d2adddcb9
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Jun 25 15:51:05 2015 +0200
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
diff --git a/dbaccess/source/ui/control/tabletree.cxx b/dbaccess/source/ui/control/tabletree.cxx
index 85ce260..feb00aa 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);
More information about the Libreoffice-commits
mailing list