diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2007-11-02 10:26:45 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2007-11-02 10:26:45 +0000 |
commit | 5225ae401c07d30d398f8b2c72285cadac9b34cb (patch) | |
tree | 486243fa5c85a67947a8a0a76169b359e494d94c | |
parent | INTEGRATION: CWS rt23 (1.25.16); FILE MERGED (diff) | |
download | core-5225ae401c07d30d398f8b2c72285cadac9b34cb.tar.gz core-5225ae401c07d30d398f8b2c72285cadac9b34cb.zip |
INTEGRATION: CWS dba231a_SRC680 (1.7.16); FILE MERGED
2007/09/19 08:33:57 fs 1.7.16.1: #i81661# properly calculate startIndex
-rw-r--r-- | wizards/com/sun/star/wizards/db/TypeInspector.java | 7 |
1 files changed, 3 insertions, 4 deletions
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; |