summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/mozab/mozillasrc/MQueryHelper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/mozab/mozillasrc/MQueryHelper.cxx b/connectivity/source/drivers/mozab/mozillasrc/MQueryHelper.cxx
index b7b1f2bbc7f9..1ce71c85b9da 100644
--- a/connectivity/source/drivers/mozab/mozillasrc/MQueryHelper.cxx
+++ b/connectivity/source/drivers/mozab/mozillasrc/MQueryHelper.cxx
@@ -209,7 +209,7 @@ MQueryHelper::next( )
index = m_nIndex;
m_aMutex.release();
- result = getByIndex( m_nIndex + 1) ; // Add 1 as Row is numbered from 1 to N
+ result = getByIndex( index + 1) ; // Add 1 as Row is numbered from 1 to N
if ( result ) {
m_aMutex.acquire();