Tag: cws_src680_qiq
User: fs      
Date: 06/06/16 05:46:01

Modified:
 /dba/dbaccess/source/core/api/
  RowSet.cxx

Log:
 don't overwrite m_xColumns with the composer columns, if we already have some

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.143.10.3&r2=1.143.10.4
Delta lines:  +7 -4
-------------------
--- RowSet.cxx  9 Jun 2006 11:57:44 -0000       1.143.10.3
+++ RowSet.cxx  16 Jun 2006 12:45:58 -0000      1.143.10.4
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: RowSet.cxx,v $
  *
- *  $Revision: 1.143.10.3 $
+ *  $Revision: 1.143.10.4 $
  *
- *  last change: $Author: fs $ $Date: 2006/06/09 11:57:44 $
+ *  last change: $Author: fs $ $Date: 2006/06/16 12:45:58 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -2292,8 +2292,11 @@
        if ( m_aOrder.getLength() )
                m_xComposer->setOrder( m_aOrder );
 
+    if ( !m_xColumns.is() )
+    {
        Reference<XColumnsSupplier> xCols( m_xComposer, UNO_QUERY_THROW );
        m_xColumns = xCols->getColumns();
+    }
 
     return _bForExecution ? m_xComposer->getQueryWithSubstitution() : 
m_xComposer->getQuery();
 }




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

Reply via email to