diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2013-11-30 11:54:20 +0100 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2013-11-30 12:03:18 +0100 |
commit | 7a64727f790f001ec42dafe38caeb86dfb6ddab1 (patch) | |
tree | 303e6d06eafec2db88ec8fb29534f63c7be7e120 | |
parent | 62e1a27dc757637223f5f18b1a340ba138e0cb82 (diff) |
fdo#72148 if expecting table at begin, explicitly set it so
Change-Id: Ic876603e5860b987280b73726fd79a071a9c833c
-rw-r--r-- | connectivity/source/drivers/file/FResultSet.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/connectivity/source/drivers/file/FResultSet.cxx b/connectivity/source/drivers/file/FResultSet.cxx index 58aa81081b40..63c77c7e4cc4 100644 --- a/connectivity/source/drivers/file/FResultSet.cxx +++ b/connectivity/source/drivers/file/FResultSet.cxx @@ -1098,7 +1098,11 @@ sal_Bool OResultSet::Move(IResultSetHelper::Movement eCursorPosition, sal_Int32 else // Index must be further constructed { // set first on the last known row - if (!m_pFileSet->get().empty()) + if (m_pFileSet->get().empty()) + { + m_pTable->seekRow(IResultSetHelper::ABSOLUTE, 0, m_nFilePos); + } + else { m_aFileSetIter = m_pFileSet->get().end()-1; m_pTable->seekRow(IResultSetHelper::BOOKMARK, *m_aFileSetIter, m_nFilePos); |