connectivity/source/drivers/mork/MQueryHelper.cxx |    4 ++--
 connectivity/source/drivers/mork/mork_helper.cxx  |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 1108f9c9045d603cfabaf28f7ad17c3b0433cc3b
Author:     Muhammet Kara <muhammet.k...@pardus.org.tr>
AuthorDate: Thu Jul 26 20:32:19 2018 +0300
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Fri Jul 27 08:36:10 2018 +0200

    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.k...@pardus.org.tr>
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>

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 )
     {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to