summaryrefslogtreecommitdiff
path: root/wizards
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2005-12-28 16:19:50 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2005-12-28 16:19:50 +0000
commit9b526ebfefedf9883526efc81745540f9c19b2ef (patch)
tree5dfd7c514adf2036adb12b95cc61d69d0ad4711f /wizards
parentb32fe5f5635287f9e179eb3411f629f91397b868 (diff)
INTEGRATION: CWS dbwizardpp1 (1.2.90); FILE MERGED
2005/12/06 00:54:38 bc 1.2.90.2: RESYNC: (1.2-1.3); FILE MERGED 2005/08/18 08:30:57 bc 1.2.90.1: #44613# Relations now with own class retrieved
Diffstat (limited to 'wizards')
-rw-r--r--wizards/com/sun/star/wizards/form/FieldLinker.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/wizards/com/sun/star/wizards/form/FieldLinker.java b/wizards/com/sun/star/wizards/form/FieldLinker.java
index 1b50fdea74ec..02217093ecf2 100644
--- a/wizards/com/sun/star/wizards/form/FieldLinker.java
+++ b/wizards/com/sun/star/wizards/form/FieldLinker.java
@@ -4,9 +4,9 @@
*
* $RCSfile: FieldLinker.java,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: rt $ $Date: 2005-09-09 09:30:38 $
+ * last change: $Author: hr $ $Date: 2005-12-28 17:19:50 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -46,6 +46,7 @@ import com.sun.star.wizards.common.Helper;
import com.sun.star.wizards.common.JavaTools;
import com.sun.star.wizards.common.SystemDialog;
import com.sun.star.wizards.db.CommandMetaData;
+import com.sun.star.wizards.db.RelationController;
import com.sun.star.wizards.ui.UnoDialog;
import com.sun.star.wizards.ui.WizardDialog;
import com.sun.star.wizards.ui.UIConsts;
@@ -181,8 +182,8 @@ public class FieldLinker extends DBLimitedFieldSelection{
}
}
- public String[][] getLinkFieldNames(CommandMetaData _oCommandMetaData, String _sreferencedtablename){
- return _oCommandMetaData.getKeyColumns(_sreferencedtablename);
+ public String[][] getLinkFieldNames(RelationController _oRelationController, String _sReferencedTableName){
+ return _oRelationController.getImportedKeyColumns(_sReferencedTableName);
}
/**