connectivity/source/drivers/mork/MResultSet.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit fd07d67bea790b9885322e7124e07506aa50e170
Author: Stephan Bergmann <[email protected]>
Date:   Mon Jun 27 16:02:02 2016 +0200

    clang-analyzer-deadcode.DeadStores
    
    regression introduced by e1af7f0c438bc242e4562aa0286c99787b5ad544 
"clang-tidy
    modernize-loop-convert in c*"
    
    Change-Id: I2f1fcb324f9bf7e97a8a514f41ac1208f1f1ca74

diff --git a/connectivity/source/drivers/mork/MResultSet.cxx 
b/connectivity/source/drivers/mork/MResultSet.cxx
index 5cb7c32..339f4c8 100644
--- a/connectivity/source/drivers/mork/MResultSet.cxx
+++ b/connectivity/source/drivers/mork/MResultSet.cxx
@@ -1248,7 +1248,7 @@ void SAL_CALL OResultSet::executeQuery() throw( 
css::sdbc::SQLException,
                 {
                     OValueRow aSearchRow = new OValueVector( 
m_aRow->get().size() );
 
-                    for(sal_Int32 i : m_pKeySet->get())
+                    for(sal_Int32 & i : m_pKeySet->get())
                     {
                         fetchRow( i );        // Fills m_aRow
                         if ( matchRow( m_aRow, aSearchRow ) )
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to