summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/querydesign/QTableWindow.cxx
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2008-06-25 11:53:28 +0000
committerKurt Zenker <kz@openoffice.org>2008-06-25 11:53:28 +0000
commit761a5211b0d8c01d275e3da04348b2d3c4071bb3 (patch)
treefedd29dc1b969aeed72f799340a2761417e549de /dbaccess/source/ui/querydesign/QTableWindow.cxx
parentb14bbecc8f28dd4dfdbf357e807e2ca2b13e2f51 (diff)
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
Diffstat (limited to 'dbaccess/source/ui/querydesign/QTableWindow.cxx')
-rw-r--r--dbaccess/source/ui/querydesign/QTableWindow.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/dbaccess/source/ui/querydesign/QTableWindow.cxx b/dbaccess/source/ui/querydesign/QTableWindow.cxx
index ca934e0da0e8..a02b5e993c19 100644
--- a/dbaccess/source/ui/querydesign/QTableWindow.cxx
+++ b/dbaccess/source/ui/querydesign/QTableWindow.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: QTableWindow.cxx,v $
- * $Revision: 1.24 $
+ * $Revision: 1.25 $
*
* This file is part of OpenOffice.org.
*
@@ -185,7 +185,7 @@ sal_Bool OQueryTableWindow::Init()
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 @@ void OQueryTableWindow::OnEntryDoubleClicked(SvLBoxEntry* pEntry)
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 @@ sal_Bool OQueryTableWindow::ExistsField(const ::rtl::OUString& strFieldName, OTa
{
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())
{