From 096909c362122f4fbc227b49c4e35e6b087d7d97 Mon Sep 17 00:00:00 2001 From: Kurt Zenker Date: Wed, 25 Jun 2008 13:41:52 +0000 Subject: 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 --- wizards/com/sun/star/wizards/ui/CommandFieldSelection.java | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'wizards') 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 @@ * * 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]; -- cgit v1.2.3