summaryrefslogtreecommitdiff
path: root/connectivity/source/commontools
diff options
context:
space:
mode:
authorOcke Janssen <oj@openoffice.org>2001-11-30 13:09:45 +0000
committerOcke Janssen <oj@openoffice.org>2001-11-30 13:09:45 +0000
commitb309e422c631ce6ce729552cc8053478f9539dfd (patch)
treec5cb182136332fb38ab8bdd863f6f394ba5c8537 /connectivity/source/commontools
parentead28ef0c518375dbea8c46bde857377351badca (diff)
#95348# type usage changed
Diffstat (limited to 'connectivity/source/commontools')
-rw-r--r--connectivity/source/commontools/TSkipDeletedSet.cxx13
1 files changed, 9 insertions, 4 deletions
diff --git a/connectivity/source/commontools/TSkipDeletedSet.cxx b/connectivity/source/commontools/TSkipDeletedSet.cxx
index 445848841d87..2b819d5ce0df 100644
--- a/connectivity/source/commontools/TSkipDeletedSet.cxx
+++ b/connectivity/source/commontools/TSkipDeletedSet.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: TSkipDeletedSet.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: oj $ $Date: 2001-11-09 07:15:37 $
+ * last change: $Author: oj $ $Date: 2001-11-30 14:09:45 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -176,8 +176,13 @@ sal_Bool OSkipDeletedSet::skipDeleted(IResultSetHelper::Movement _eCursorPositio
bDone = sal_False;
}
- if(bDataFound && bDone && m_aBookmarks.find(m_pHelper->getDriverPos()) == m_aBookmarks.end())
- m_aBookmarksPositions.push_back(m_aBookmarks.insert(TInt2IntMap::value_type(m_pHelper->getDriverPos(),m_aBookmarksPositions.size()+1)).first);
+
+ if(bDataFound && bDone)
+ {
+ sal_Int32 nDriverPos = m_pHelper->getDriverPos();
+ if(m_aBookmarks.find(nDriverPos) == m_aBookmarks.end())
+ m_aBookmarksPositions.push_back(m_aBookmarks.insert(TInt2IntMap::value_type(nDriverPos,m_aBookmarksPositions.size()+1)).first);
+ }
return bDataFound;
}