summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2015-06-26 16:18:55 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2015-06-26 16:19:20 +0900
commit63384060ec6610ef08af57b981d028c8a177a028 (patch)
tree2b4f5c714aca6ff0900ef4e555d705a95dd551cb /dbaccess
parentee3d40b30816a8fc6d4e8f984659c8dfac19ec3b (diff)
no need to capture _rTables
Change-Id: I78b4051ffdb625481b238cc3a5313aa4d086b87e
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/ui/control/tabletree.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/ui/control/tabletree.cxx b/dbaccess/source/ui/control/tabletree.cxx
index feb00aab3b48..61db99b8ad3b 100644
--- a/dbaccess/source/ui/control/tabletree.cxx
+++ b/dbaccess/source/ui/control/tabletree.cxx
@@ -262,10 +262,10 @@ void OTableTreeListBox::UpdateTableList( const Reference< XConnection >& _rxConn
{
OUString sRootEntryText;
if ( ::std::none_of(_rTables.begin(),_rTables.end(),
- [&_rTables] (TNames::value_type name) { return !name.second; }) )
+ [] (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; }) )
+ [] (TNames::value_type name) { return name.second; }) )
sRootEntryText = ModuleRes(STR_ALL_VIEWS);
else
sRootEntryText = ModuleRes(STR_ALL_TABLES_AND_VIEWS);