From 5225ae401c07d30d398f8b2c72285cadac9b34cb Mon Sep 17 00:00:00 2001 From: Jens-Heiner Rechtien Date: Fri, 2 Nov 2007 10:26:45 +0000 Subject: INTEGRATION: CWS dba231a_SRC680 (1.7.16); FILE MERGED 2007/09/19 08:33:57 fs 1.7.16.1: #i81661# properly calculate startIndex --- wizards/com/sun/star/wizards/db/TypeInspector.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'wizards') diff --git a/wizards/com/sun/star/wizards/db/TypeInspector.java b/wizards/com/sun/star/wizards/db/TypeInspector.java index 6604f6f9bb2d..004826daf4b1 100644 --- a/wizards/com/sun/star/wizards/db/TypeInspector.java +++ b/wizards/com/sun/star/wizards/db/TypeInspector.java @@ -4,9 +4,9 @@ * * $RCSfile: TypeInspector.java,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: kz $ $Date: 2007-05-10 10:53:42 $ + * last change: $Author: hr $ $Date: 2007-11-02 11:26:45 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -382,8 +382,7 @@ public class TypeInspector{ if (this.bisAutoIncrementableInfos[i] ) return new TypeInfo(nDataType, this.sDataTypeNames[i], true); } - else - startindex = i+1; + startindex = i+1; } } // As Autoincrementation is not supported for any numeric datatype we take the first available numeric Type; -- cgit