summaryrefslogtreecommitdiffstats
path: root/dbaccess
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2012-02-09 13:04:34 +0100
committerLionel Elie Mamane <lionel@mamane.lu>2012-02-09 13:10:21 +0100
commit4ea68987e96714aec1be339c4ddd5b6110bfd008 (patch)
tree261e693d2def05165f0d2e7c17b487539229a32c /dbaccess
parentORowSetCache::moveWindow: yet another off-by-one error (diff)
downloadcore-4ea68987e96714aec1be339c4ddd5b6110bfd008.tar.gz
core-4ea68987e96714aec1be339c4ddd5b6110bfd008.zip
typo in comment
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/core/api/RowSetCache.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/core/api/RowSetCache.cxx b/dbaccess/source/core/api/RowSetCache.cxx
index be51b2a11d8e..08e1a8bfcc4f 100644
--- a/dbaccess/source/core/api/RowSetCache.cxx
+++ b/dbaccess/source/core/api/RowSetCache.cxx
@@ -917,7 +917,7 @@ sal_Bool ORowSetCache::moveWindow()
const sal_Int32 nStartPosOffset = m_nStartPos - nNewStartPos; // by how much m_nStartPos moves
m_nStartPos = nNewStartPos;
OSL_ENSURE( static_cast<ORowSetMatrix::size_type>(nOverlapSize) <= m_pMatrix->size(), "new window end is after end of cache matrix!" );
- // the first position in m_pMatrix whos data we don't keep;
+ // the first position in m_pMatrix whose data we don't keep;
// content will be moved to m_pMatrix.begin()
ORowSetMatrix::iterator aEnd (m_pMatrix->begin() + nOverlapSize);
// the first unused position after we are done; it == m_pMatrix.end() if and only if the window is full