Tag: cws_src680_qiq
User: fs      
Date: 06/06/09 06:15:25

Modified:
 /dba/dbaccess/source/ui/control/
  RelationControl.cxx

Log:
 #i51143# use GetTableOrQuery, not GetTable

File Changes:

Directory: /dba/dbaccess/source/ui/control/
===========================================

File [changed]: RelationControl.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/control/RelationControl.cxx?r1=1.15.118.1&r2=1.15.118.2
Delta lines:  +4 -10
--------------------
--- RelationControl.cxx 10 May 2006 11:52:37 -0000      1.15.118.1
+++ RelationControl.cxx 9 Jun 2006 13:15:23 -0000       1.15.118.2
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: RelationControl.cxx,v $
  *
- *  $Revision: 1.15.118.1 $
+ *  $Revision: 1.15.118.2 $
  *
- *  last change: $Author: fs $ $Date: 2006/05/10 11:52:37 $
+ *  last change: $Author: fs $ $Date: 2006/06/09 13:15:23 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -204,17 +204,11 @@
        {
                OJoinTableView::OTableWindowMap::const_iterator aFind = 
m_pTableMap->find(m_pConnData->GetSourceWinName());
                if( aFind != m_pTableMap->end() )
-        {
-                       m_xSourceDef = aFind->second->GetTable();
-            DBG_ASSERT( !aFind->second->isQuery(), 
"ORelationControl::lateInit: a query? In the relation designer?" );
-        }
+            m_xSourceDef = aFind->second->GetTableOrQuery();
 
                aFind = m_pTableMap->find(m_pConnData->GetDestWinName());
                if( aFind != m_pTableMap->end() )
-        {
-                       m_xDestDef = aFind->second->GetTable();
-            DBG_ASSERT( !aFind->second->isQuery(), 
"ORelationControl::lateInit: a query? In the relation designer?" );
-        }
+                       m_xDestDef = aFind->second->GetTableOrQuery();
 
                if ( ColCount() == 0 )
                {




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

Reply via email to