Tag: cws_src680_oj14
User: fs      
Date: 2007-06-06 18:15:11+0000
Log:
 ORowSetValueVector is default-inited to length 1, which isn't what we need ...

File Changes:

Directory: /dba/dbaccess/source/core/api/
=========================================

File [changed]: RowSet.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/api/RowSet.cxx?r1=1.137.4.13&r2=1.137.4.14
Delta lines:  +4 -3
-------------------
--- RowSet.cxx  2007-06-06 06:04:12+0000        1.137.4.13
+++ RowSet.cxx  2007-06-06 18:15:09+0000        1.137.4.14
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: RowSet.cxx,v $
  *
- *  $Revision: 1.137.4.13 $
+ *  $Revision: 1.137.4.14 $
  *
- *  last change: $Author: fs $ $Date: 2007/06/06 06:04:12 $
+ *  last change: $Author: fs $ $Date: 2007/06/06 18:15:09 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -304,6 +304,8 @@
        sal_Int32 nRT   = PropertyAttribute::READONLY   | 
PropertyAttribute::TRANSIENT;
        sal_Int32 nBT   = PropertyAttribute::BOUND              | 
PropertyAttribute::TRANSIENT;
 
+    m_aPrematureParamValues.resize( 0 );
+
        // sdb.RowSet Properties
        
registerMayBeVoidProperty(PROPERTY_ACTIVECONNECTION,PROPERTY_ID_ACTIVECONNECTION,
       
PropertyAttribute::MAYBEVOID|PropertyAttribute::TRANSIENT|PropertyAttribute::BOUND,
     &m_aActiveConnection,   ::getCppuType(reinterpret_cast< Reference< 
XConnection >* >(NULL)));
        registerProperty(PROPERTY_DATASOURCENAME,               
PROPERTY_ID_DATASOURCENAME,                     PropertyAttribute::BOUND,       
        &m_aDataSourceName,             ::getCppuType(reinterpret_cast< 
::rtl::OUString*>(NULL)));
@@ -320,7 +322,6 @@
        registerProperty(PROPERTY_ISMODIFIED,                   
PROPERTY_ID_ISMODIFIED,                         nBT,                            
                        &m_bModified,                   ::getBooleanCppuType());
        registerProperty(PROPERTY_ISNEW,                                
PROPERTY_ID_ISNEW,                                      nRBT,                   
                                &m_bNew,                                
::getBooleanCppuType());
 
-
        // sdbcx.ResultSet Properties
        registerProperty(PROPERTY_ISBOOKMARKABLE,               
PROPERTY_ID_ISBOOKMARKABLE,                     nRT,                            
                        &m_bIsBookmarable,              ::getBooleanCppuType());
        
registerProperty(PROPERTY_CANUPDATEINSERTEDROWS,PROPERTY_ID_CANUPDATEINSERTEDROWS,
      nRT,                                                    
&m_bCanUpdateInsertedRows,              ::getBooleanCppuType());




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

Reply via email to