Kaydet (Commit) 1108f9c9 authored tarafından Muhammet Kara's avatar Muhammet Kara Kaydeden (comit) Noel Grandin

Remove unused iterators from MQueryHelper.cxx and mork_helper.cxx

Leftover from 8d3d04ef

Change-Id: I4ab7c7eccc8165bdfadba792f2ef8ccf1e52c1c3
Reviewed-on: https://gerrit.libreoffice.org/58138
Tested-by: Jenkins
Reviewed-by: 's avatarMuhammet Kara <muhammet.kara@pardus.org.tr>
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst d751ee0d
......@@ -193,12 +193,12 @@ sal_Int32 MQueryHelper::executeQuery(OConnection* xConnection, MQueryExpression
std::string listTable = oStringTable.getStr();
pMork->getRecordKeysForListTable(listTable, listRecords);
}
MorkTableMap::Map::iterator tableIter;
MorkTableMap *Tables = pMork->getTables( 0x80 );
if (!Tables)
return -1;
MorkRowMap *Rows = nullptr;
MorkRowMap::Map::const_iterator rowIter;
// Iterate all tables
for (auto & table : Tables->map)
......
......@@ -12,8 +12,8 @@ bool openAddressBook(const std::string& path)
{
return false;
}
const int defaultScope = 0x80;
MorkTableMap::Map::const_iterator tableIter;
MorkTableMap *Tables = mork.getTables( defaultScope );
if ( Tables )
{
......
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