summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2019-03-20 16:09:27 +0000
committerJulien Nabet <serval2412@yahoo.fr>2019-03-22 07:10:37 +0100
commit4930ad1e5dabecd9594cf8b237f973e6017798cf (patch)
tree377910e8814421ce740e2dd8250c6344b6cefd9c /dbaccess
parent20ea90a557b5bc744fd234e3a20ab1db484cf88b (diff)
Fix typo
Change-Id: I3cb9d607c468cf29ef3e409c4f59b7e0960362a7 Reviewed-on: https://gerrit.libreoffice.org/69544 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
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 7eaca7c70a6b..f05caa68c3c1 100644
--- a/dbaccess/source/core/api/RowSetCache.cxx
+++ b/dbaccess/source/core/api/RowSetCache.cxx
@@ -1136,7 +1136,7 @@ bool ORowSetCache::absolute( sal_Int32 row )
if(row < 0)
{
// here we have to scroll from the last row to backward so we have to go to last row and
- // and two the previous
+ // and to the previous
if(m_bRowCountFinal || last())
{
m_nPosition = m_nRowCount + row + 1; // + row because row is negative and +1 because row==-1 means last row