[Libreoffice-commits] core.git: Branch 'libreoffice-4-1-4' - connectivity/source
Lionel Elie Mamane
lionel at mamane.lu
Tue Dec 10 07:06:01 PST 2013
connectivity/source/drivers/file/FResultSet.cxx | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
New commits:
commit 0b3585a734fd2b4c07ca980eac407fe09e0c95c8
Author: Lionel Elie Mamane <lionel at mamane.lu>
Date: Sat Nov 30 11:54:20 2013 +0100
fdo#72148 if expecting table at begin, explicitly set it so
Change-Id: Ic876603e5860b987280b73726fd79a071a9c833c
Reviewed-on: https://gerrit.libreoffice.org/6865
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
Reviewed-by: Eike Rathke <erack at redhat.com>
Reviewed-by: Michael Stahl <mstahl at redhat.com>
diff --git a/connectivity/source/drivers/file/FResultSet.cxx b/connectivity/source/drivers/file/FResultSet.cxx
index be363b3..180fd01 100644
--- a/connectivity/source/drivers/file/FResultSet.cxx
+++ b/connectivity/source/drivers/file/FResultSet.cxx
@@ -1094,7 +1094,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);
More information about the Libreoffice-commits
mailing list