diff options
author | Muhammet Kara <muhammet.kara@pardus.org.tr> | 2018-07-26 20:32:19 +0300 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-07-27 08:36:10 +0200 |
commit | 1108f9c9045d603cfabaf28f7ad17c3b0433cc3b (patch) | |
tree | aeae8b5b2866b79caac9e31185c86e233173a444 /connectivity/source | |
parent | d751ee0d080a3585c5f98c27c3afe4a9a1c98a03 (diff) |
Remove unused iterators from MQueryHelper.cxx and mork_helper.cxx
Leftover from 8d3d04ef588b5
Change-Id: I4ab7c7eccc8165bdfadba792f2ef8ccf1e52c1c3
Reviewed-on: https://gerrit.libreoffice.org/58138
Tested-by: Jenkins
Reviewed-by: Muhammet Kara <muhammet.kara@pardus.org.tr>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'connectivity/source')
-rw-r--r-- | connectivity/source/drivers/mork/MQueryHelper.cxx | 4 | ||||
-rw-r--r-- | connectivity/source/drivers/mork/mork_helper.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/connectivity/source/drivers/mork/MQueryHelper.cxx b/connectivity/source/drivers/mork/MQueryHelper.cxx index 9d855b675f60..00cdf3df93c0 100644 --- a/connectivity/source/drivers/mork/MQueryHelper.cxx +++ b/connectivity/source/drivers/mork/MQueryHelper.cxx @@ -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) diff --git a/connectivity/source/drivers/mork/mork_helper.cxx b/connectivity/source/drivers/mork/mork_helper.cxx index 1a8668bc049e..07c70a1aa2d6 100644 --- a/connectivity/source/drivers/mork/mork_helper.cxx +++ b/connectivity/source/drivers/mork/mork_helper.cxx @@ -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 ) { |