summaryrefslogtreecommitdiff
path: root/wizards/com/sun
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2006-07-06 13:24:01 +0000
committerKurt Zenker <kz@openoffice.org>2006-07-06 13:24:01 +0000
commit280115c301770ddc11390cf76ad208289e093341 (patch)
tree0d2a7b10767aca8c0e62c877345206364c6645e7 /wizards/com/sun
parent05db9d72c80eec2cc2d45134aaf68d1f2c9e7929 (diff)
INTEGRATION: CWS dbwizardpp4 (1.5.28); FILE MERGED
2006/06/22 08:20:30 bc 1.5.28.1: #i45673# Fieldcolumns now differentiate between Fieldname and DisplayfieldName
Diffstat (limited to 'wizards/com/sun')
-rw-r--r--wizards/com/sun/star/wizards/report/GroupFieldHandler.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/wizards/com/sun/star/wizards/report/GroupFieldHandler.java b/wizards/com/sun/star/wizards/report/GroupFieldHandler.java
index 0d5d00c420b3..a2ebbc4cd732 100644
--- a/wizards/com/sun/star/wizards/report/GroupFieldHandler.java
+++ b/wizards/com/sun/star/wizards/report/GroupFieldHandler.java
@@ -4,9 +4,9 @@
*
* $RCSfile: GroupFieldHandler.java,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: vg $ $Date: 2006-04-07 12:51:07 $
+ * last change: $Author: kz $ $Date: 2006-07-06 14:24:01 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -68,12 +68,12 @@ WizardDialog oWizardDialog;
public void initialize(){
try{
- CurDBMetaData.setfieldtitles();
Vector NormalFieldsVector = new Vector();
Vector SelFieldsVector = new Vector();
- for (int i = 0; i < CurDBMetaData.FieldNames.length; i++){
- String sfieldtitle = CurDBMetaData.getFieldTitle(CurDBMetaData.FieldNames[i]);
- if (CurReportDocument.isGroupField(CurDBMetaData.FieldNames[i]))
+ String[] sFieldNames = CurDBMetaData.getFieldNames();
+ for (int i = 0; i < sFieldNames.length; i++){
+ String sfieldtitle = CurDBMetaData.getFieldTitle(sFieldNames[i]);
+ if (CurReportDocument.isGroupField(sFieldNames[i]))
SelFieldsVector.add(sfieldtitle);
else
NormalFieldsVector.add(sfieldtitle);