Kaydet (Commit) 63384060 authored tarafından Takeshi Abe's avatar Takeshi Abe

no need to capture _rTables

Change-Id: I78b4051ffdb625481b238cc3a5313aa4d086b87e
üst ee3d40b3
......@@ -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);
......
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