User: kz      
Date: 2008-06-25 12:52:38+0000
Modified:
   dba/dbaccess/source/ui/querydesign/QTableWindow.cxx

Log:
 INTEGRATION: CWS dba30d (1.24.30); FILE MERGED
 2008/05/29 11:30:21 fs 1.24.30.1: during #i80943#: refactoring: IController 
now passed around as reference, not as pointer

File Changes:

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

File [changed]: QTableWindow.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/querydesign/QTableWindow.cxx?r1=1.24&r2=1.25
Delta lines:  +3 -3
-------------------
--- QTableWindow.cxx    2008-04-10 16:18:13+0000        1.24
+++ QTableWindow.cxx    2008-06-25 12:52:35+0000        1.25
@@ -185,7 +185,7 @@
                m_pListBox->Show();
        }
 
-       
getTableView()->getDesignView()->getController()->InvalidateFeature(ID_BROWSER_QUERY_EXECUTE);
+       
getTableView()->getDesignView()->getController().InvalidateFeature(ID_BROWSER_QUERY_EXECUTE);
        return bSuccess;
 }
 // 
-----------------------------------------------------------------------------
@@ -209,7 +209,7 @@
        DBG_ASSERT(pEntry != NULL, "OQueryTableWindow::OnEntryDoubleClicked : 
pEntry darf nicht NULL sein !");
                // man koennte das auch abfragen und dann ein return hinsetzen, 
aber so weist es vielleicht auf Fehler bei Aufrufer hin
 
-       if (getTableView()->getDesignView()->getController()->isReadOnly())
+       if (getTableView()->getDesignView()->getController().isReadOnly())
                return;
 
        OTableFieldInfo* pInf = 
static_cast<OTableFieldInfo*>(pEntry->GetUserData());
@@ -231,7 +231,7 @@
 {
        DBG_ASSERT(m_pListBox != NULL, "OQueryTableWindow::ExistsField : habe 
keine ::com::sun::star::form::ListBox !");
        OSL_ENSURE(rInfo.isValid(),"OQueryTableWindow::ExistsField: invlid 
argument for OTableFieldDescRef!");
-       Reference< XConnection> xConnection = 
getTableView()->getDesignView()->getController()->getConnection();
+       Reference< XConnection> xConnection = 
getTableView()->getDesignView()->getController().getConnection();
        sal_Bool bExists = sal_False;
        if(xConnection.is())
        {




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

Reply via email to