Tag: cws_src680_dba24d
User: fs      
Date: 2007-11-12 10:49:28+0000
Modified:
   dba/connectivity/source/drivers/mozab/MResultSet.cxx

Log:
 #i83519# (contributed by [EMAIL PROTECTED])

File Changes:

Directory: /dba/connectivity/source/drivers/mozab/
==================================================

File [changed]: MResultSet.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/mozab/MResultSet.cxx?r1=1.29.140.1&r2=1.29.140.2
Delta lines:  +3 -8
-------------------
--- MResultSet.cxx      2007-11-06 09:07:49+0000        1.29.140.1
+++ MResultSet.cxx      2007-11-12 10:49:25+0000        1.29.140.2
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: MResultSet.cxx,v $
  *
- *  $Revision: 1.29.140.1 $
+ *  $Revision: 1.29.140.2 $
  *
- *  last change: $Author: oj $ $Date: 2007/11/06 09:07:49 $
+ *  last change: $Author: fs $ $Date: 2007/11/12 10:49:25 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -1544,16 +1544,11 @@
        if (m_CurrentRowCount < nMaxCardNumber)
        {
         sal_Int32      nKeyValue;
-        sal_Int32      nKeyPos;
         if ( (sal_Int32)m_pKeySet->capacity() < nMaxCardNumber )
             m_pKeySet->reserve(nMaxCardNumber + 20 );
 
         for (nKeyValue = m_CurrentRowCount+1; nKeyValue  <= nMaxCardNumber; 
nKeyValue ++)
-               {
-                       nKeyPos = m_pKeySet->size();
-                       m_pKeySet->insert( m_pKeySet->end() );
-                       (*m_pKeySet)[nKeyPos] = nKeyValue;
-               }
+            m_pKeySet->push_back( nKeyValue );
                m_CurrentRowCount = nMaxCardNumber;
        }
        return sal_True;




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to