summaryrefslogtreecommitdiff
path: root/wizards/com
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2008-06-25 13:41:52 +0000
committerKurt Zenker <kz@openoffice.org>2008-06-25 13:41:52 +0000
commit096909c362122f4fbc227b49c4e35e6b087d7d97 (patch)
tree820240e3dae6d52a173a44205a01c6b6121757b5 /wizards/com
parent2ae37d4ead21bb30ad6873a75caae7456d20815a (diff)
INTEGRATION: CWS rptwizard01 (1.6.126); FILE MERGED
2008/05/21 10:15:24 lla 1.6.126.3: RESYNC: (1.7-1.8); FILE MERGED 2008/02/15 07:36:36 lla 1.6.126.2: RESYNC: (1.6-1.7); FILE MERGED 2008/02/14 13:14:59 lla 1.6.126.1: #i86092# cleanups
Diffstat (limited to 'wizards/com')
-rw-r--r--wizards/com/sun/star/wizards/ui/CommandFieldSelection.java14
1 files changed, 10 insertions, 4 deletions
diff --git a/wizards/com/sun/star/wizards/ui/CommandFieldSelection.java b/wizards/com/sun/star/wizards/ui/CommandFieldSelection.java
index 052e5c3f632a..6dce29035130 100644
--- a/wizards/com/sun/star/wizards/ui/CommandFieldSelection.java
+++ b/wizards/com/sun/star/wizards/ui/CommandFieldSelection.java
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: CommandFieldSelection.java,v $
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
* This file is part of OpenOffice.org.
*
@@ -26,12 +26,16 @@
* <http://www.openoffice.org/license.html>
* for a copy of the LGPLv3 License.
*
- ************************************************************************/package com.sun.star.wizards.ui;
+ ************************************************************************/
+
+package com.sun.star.wizards.ui;
+
import com.sun.star.wizards.common.*;
import com.sun.star.wizards.db.*;
import com.sun.star.awt.XWindow;
import com.sun.star.lang.IllegalArgumentException;
import com.sun.star.sdb.CommandType;
+// import com.sun.star.sdbc.SQLException;
import com.sun.star.uno.AnyConverter;
import com.sun.star.uno.UnoRuntime;
import com.sun.star.awt.*;
@@ -53,6 +57,7 @@ public class CommandFieldSelection extends FieldSelection implements Comparator{
short iOldSelPos = -1;
boolean bpreselectCommand = true;
boolean bgetQueries;
+ // boolean AppendMode;
WizardDialog oWizardDialog;
private Collator aCollator = null;
@@ -143,7 +148,7 @@ public class CommandFieldSelection extends FieldSelection implements Comparator{
*/
public String getQueryPrefix() {
if (sQueryPrefix == null)
- sQueryPrefix = CurUnoDialog.oResource.getResText(UIConsts.RID_QUERY + 22);
+ sQueryPrefix = CurUnoDialog.m_oResource.getResText(UIConsts.RID_QUERY + 22);
return sQueryPrefix;
}
@@ -162,7 +167,7 @@ public class CommandFieldSelection extends FieldSelection implements Comparator{
*/
public String getTablePrefix() {
if (sTablePrefix == null)
- sTablePrefix = CurUnoDialog.oResource.getResText(UIConsts.RID_QUERY + 21);
+ sTablePrefix = CurUnoDialog.m_oResource.getResText(UIConsts.RID_QUERY + 21);
return sTablePrefix;
}
@@ -274,6 +279,7 @@ public class CommandFieldSelection extends FieldSelection implements Comparator{
return this.getCollator().compare(_oObject1, _oObject2);
}
+
private String[] setPrefixinArray(String[] _ContentList, String _sprefix, int _startindex, int _nlen) {
for (int i = _startindex; i < _startindex + _nlen; i++)
_ContentList[i] = _sprefix + _ContentList[i];