summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/mork/mork_helper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/drivers/mork/mork_helper.cxx')
-rw-r--r--connectivity/source/drivers/mork/mork_helper.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/connectivity/source/drivers/mork/mork_helper.cxx b/connectivity/source/drivers/mork/mork_helper.cxx
index 7ef3a5f76007..7b815ab9a4c2 100644
--- a/connectivity/source/drivers/mork/mork_helper.cxx
+++ b/connectivity/source/drivers/mork/mork_helper.cxx
@@ -17,12 +17,12 @@ bool openAddressBook(const std::string& path)
if ( Tables )
{
// Iterate all tables
- for ( tableIter = Tables->map.begin(); tableIter != Tables->map.end(); ++tableIter )
+ for (auto const& table : Tables->map)
{
- if ( 0 == tableIter->first ) continue;
- SAL_INFO("connectivity.mork", "table->first : " << tableIter->first);
- std::string column = mork.getColumn( tableIter->first );
- std::string value = mork.getValue( tableIter->first );
+ if ( 0 == table.first ) continue;
+ SAL_INFO("connectivity.mork", "table->first : " << table.first);
+ std::string column = mork.getColumn( table.first );
+ std::string value = mork.getValue( table.first );
SAL_INFO("connectivity.mork", "table.column : " << column);
SAL_INFO("connectivity.mork", "table.value : " << value);
}