summaryrefslogtreecommitdiffstats
path: root/dbaccess/source/ui/tabledesign/TableFieldControl.cxx
diff options
context:
space:
mode:
authorOcke Janssen <oj@openoffice.org>2002-07-09 12:20:08 +0000
committerOcke Janssen <oj@openoffice.org>2002-07-09 12:20:08 +0000
commit2fdcdfbfd1b7583b9602802e8695991e70529232 (patch)
tree62fee63c62f5a3754f0c9fcea0dc777ae3c9ff39 /dbaccess/source/ui/tabledesign/TableFieldControl.cxx
parent#99921# check if datasource allows to check names (diff)
downloadcore-2fdcdfbfd1b7583b9602802e8695991e70529232.tar.gz
core-2fdcdfbfd1b7583b9602802e8695991e70529232.zip
#99921# check if datasource allows to check names
Diffstat (limited to 'dbaccess/source/ui/tabledesign/TableFieldControl.cxx')
-rw-r--r--dbaccess/source/ui/tabledesign/TableFieldControl.cxx9
1 files changed, 7 insertions, 2 deletions
diff --git a/dbaccess/source/ui/tabledesign/TableFieldControl.cxx b/dbaccess/source/ui/tabledesign/TableFieldControl.cxx
index ef1f11d8263d..c2cec8409355 100644
--- a/dbaccess/source/ui/tabledesign/TableFieldControl.cxx
+++ b/dbaccess/source/ui/tabledesign/TableFieldControl.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: TableFieldControl.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: fs $ $Date: 2001-03-19 06:04:38 $
+ * last change: $Author: oj $ $Date: 2002-07-09 13:19:52 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -154,6 +154,11 @@ void OTableFieldControl::SetModified(BOOL bModified)
GetCtrl()->GetView()->getController()->setModified(bModified);
}
// -----------------------------------------------------------------------------
+::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection> OTableFieldControl::getConnection()
+{
+ return GetCtrl()->GetView()->getController()->getConnection();
+}
+// -----------------------------------------------------------------------------
::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XDatabaseMetaData> OTableFieldControl::getMetaData()
{
Reference<XConnection> xCon = GetCtrl()->GetView()->getController()->getConnection();