From be053c9a80ad237afc6da0b4174e1c7afc94ed92 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Fri, 20 Dec 2013 23:24:56 +0200 Subject: Spelling correction: s/retrive/retrieve/ Change-Id: I96845d358765e2d2507763a9b15a30388b32bc6b --- connectivity/source/drivers/mork/MResultSet.cxx | 8 ++++---- connectivity/source/drivers/mozab/MResultSet.cxx | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'connectivity/source') diff --git a/connectivity/source/drivers/mork/MResultSet.cxx b/connectivity/source/drivers/mork/MResultSet.cxx index 99f7275559a8..5ccb98d4e38e 100644 --- a/connectivity/source/drivers/mork/MResultSet.cxx +++ b/connectivity/source/drivers/mork/MResultSet.cxx @@ -1499,7 +1499,7 @@ sal_Bool OResultSet::seekRow( eRowPosition pos, sal_Int32 nOffset ) m_pStatement->getOwnConnection()->throwSQLException( STR_ILLEGAL_MOVEMENT, *this ); sal_Int32 nNumberOfRecords = m_aQueryHelper.getResultCount(); - sal_Int32 nRetrivedRows = currentRowCount(); + sal_Int32 nRetrievedRows = currentRowCount(); sal_Int32 nCurPos = m_nRowPos; OSL_TRACE("seekRow: nCurPos = %d", nCurPos ); @@ -1521,7 +1521,7 @@ sal_Bool OResultSet::seekRow( eRowPosition pos, sal_Int32 nOffset ) case LAST_POS: OSL_TRACE("seekRow: LAST"); - nCurPos = nRetrivedRows; + nCurPos = nRetrievedRows; break; case ABSOLUTE_POS: OSL_TRACE("seekRow: ABSOLUTE : %d", nOffset); @@ -1543,7 +1543,7 @@ sal_Bool OResultSet::seekRow( eRowPosition pos, sal_Int32 nOffset ) { nCurCard = (m_pKeySet->get())[nCurPos-1]; } - else //The requested row has not been retrived until now. We should get the right card for it. + else //The requested row has not been retrieved until now. We should get the right card for it. nCurCard = nCurPos + deletedCount(); if ( nCurCard > nNumberOfRecords) { @@ -1552,7 +1552,7 @@ sal_Bool OResultSet::seekRow( eRowPosition pos, sal_Int32 nOffset ) OSL_TRACE("seekRow: return False, m_nRowPos = %u", m_nRowPos ); return sal_False; } - //Insert new retrived items for later use + //Insert new retrieved items for later use fillKeySet(nNumberOfRecords); m_nRowPos = (sal_uInt32)nCurPos; OSL_TRACE("seekRow: return True, m_nRowPos = %u", m_nRowPos ); diff --git a/connectivity/source/drivers/mozab/MResultSet.cxx b/connectivity/source/drivers/mozab/MResultSet.cxx index d0e449e4be7a..aeb5bea51dd0 100644 --- a/connectivity/source/drivers/mozab/MResultSet.cxx +++ b/connectivity/source/drivers/mozab/MResultSet.cxx @@ -1491,7 +1491,7 @@ sal_Bool OResultSet::seekRow( eRowPosition pos, sal_Int32 nOffset ) m_pStatement->getOwnConnection()->throwSQLException( STR_ILLEGAL_MOVEMENT, *this ); sal_Int32 nNumberOfRecords = m_aQuery.getRealRowCount(); - sal_Int32 nRetrivedRows = currentRowCount(); + sal_Int32 nRetrievedRows = currentRowCount(); sal_Int32 nCurPos = m_nRowPos; OSL_TRACE("seekRow: nCurPos = %d", nCurPos ); @@ -1513,7 +1513,7 @@ sal_Bool OResultSet::seekRow( eRowPosition pos, sal_Int32 nOffset ) case LAST_POS: OSL_TRACE("seekRow: LAST"); - nCurPos = nRetrivedRows; + nCurPos = nRetrievedRows; break; case ABSOLUTE_POS: OSL_TRACE("seekRow: ABSOLUTE : %d", nOffset); @@ -1535,7 +1535,7 @@ sal_Bool OResultSet::seekRow( eRowPosition pos, sal_Int32 nOffset ) { nCurCard = (m_pKeySet->get())[nCurPos-1]; } - else //The requested row has not been retrived until now. We should get the right card for it. + else //The requested row has not been retrieved until now. We should get the right card for it. nCurCard = nCurPos + deletedCount(); while ( nCurCard > nNumberOfRecords && !m_aQuery.queryComplete() ) { @@ -1553,7 +1553,7 @@ sal_Bool OResultSet::seekRow( eRowPosition pos, sal_Int32 nOffset ) OSL_TRACE("seekRow: return False, m_nRowPos = %u", m_nRowPos ); return sal_False; } - //Insert new retrived items for later use + //Insert new retrieved items for later use fillKeySet(nNumberOfRecords); m_nRowPos = (sal_uInt32)nCurPos; OSL_TRACE("seekRow: return True, m_nRowPos = %u", m_nRowPos ); -- cgit