[Libreoffice-commits] core.git: dbaccess/source

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Sun Aug 23 10:36:00 UTC 2020


 dbaccess/source/core/api/RowSetCache.cxx |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

New commits:
commit 79e505e215156cbf3e18a8f80c79ded61d775f4d
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Sat Aug 22 18:38:08 2020 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Sun Aug 23 12:35:22 2020 +0200

    Fix typo
    
    Change-Id: I6f4544cb5174970af28fa0451a1f62a51e7bb78e
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101221
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/dbaccess/source/core/api/RowSetCache.cxx b/dbaccess/source/core/api/RowSetCache.cxx
index 21098ccacdfb..c80c04594786 100644
--- a/dbaccess/source/core/api/RowSetCache.cxx
+++ b/dbaccess/source/core/api/RowSetCache.cxx
@@ -882,13 +882,13 @@ void ORowSetCache::moveWindow()
             ORowSetMatrix::iterator aNewEnd (aEnd + nStartPosOffset);
             // *m_pMatrix now looks like:
             //   [0; nOverlapSize) i.e. [begin(); aEnd): data kept
-            //   [nOverlapSize; nOverlapSize + nStartPosOffet) i.e. [aEnd, aNewEnd): new data of positions < old m_nStartPos
-            //   [nOverlapSize + nStartPosOffet; size()) i.e. [aNewEnd, end()): unused
-            // Note that nOverlapSize + nStartPosOffet == m_nEndPos - m_nStartPos (new values)
+            //   [nOverlapSize; nOverlapSize + nStartPosOffset) i.e. [aEnd, aNewEnd): new data of positions < old m_nStartPos
+            //   [nOverlapSize + nStartPosOffset; size()) i.e. [aNewEnd, end()): unused
+            // Note that nOverlapSize + nStartPosOffset == m_nEndPos - m_nStartPos (new values)
             // When we are finished:
             //   [0; nStartPosOffset) i.e. [begin(); aEnd): new data of positions < old m_nStartPos
-            //   [nStartPosOffset; nOverlapSize + nStartPosOffet) i.e. [aEnd, aNewEnd): kept
-            //   [nOverlapSize + nStartPosOffet; size()) i.e. [aNewEnd, end()): unused
+            //   [nStartPosOffset; nOverlapSize + nStartPosOffset) i.e. [aEnd, aNewEnd): kept
+            //   [nOverlapSize + nStartPosOffset; size()) i.e. [aNewEnd, end()): unused
 
             if ( bCheck )
             {


More information about the Libreoffice-commits mailing list