summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2013-12-20 23:24:56 +0200
committerTor Lillqvist <tml@collabora.com>2013-12-20 23:26:58 +0200
commitbe053c9a80ad237afc6da0b4174e1c7afc94ed92 (patch)
tree94fe4823ec33e39359006c986372c5caceb85db0 /connectivity
parentd1ae39e484f888ddcca15f584cddd2b3ccae1024 (diff)
Spelling correction: s/retrive/retrieve/
Change-Id: I96845d358765e2d2507763a9b15a30388b32bc6b
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/mork/MResultSet.cxx8
-rw-r--r--connectivity/source/drivers/mozab/MResultSet.cxx8
2 files changed, 8 insertions, 8 deletions
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 );