summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/tabledesign
diff options
context:
space:
mode:
authorOcke.Janssen <Ocke.Janssen@oracle.com>2010-12-03 09:25:36 +0100
committerOcke.Janssen <Ocke.Janssen@oracle.com>2010-12-03 09:25:36 +0100
commit199fe597e9506cdeec27c444cab9c9fe06177429 (patch)
treec00d5218475bbb31b0c687de640d3403bf463b6b /dbaccess/source/ui/tabledesign
parenta785deda745a1d77187d9f83d7448015a91e67d1 (diff)
dba34c: #i115398# add autoincrement to special type
Diffstat (limited to 'dbaccess/source/ui/tabledesign')
-rw-r--r--dbaccess/source/ui/tabledesign/FieldDescriptions.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/dbaccess/source/ui/tabledesign/FieldDescriptions.cxx b/dbaccess/source/ui/tabledesign/FieldDescriptions.cxx
index bb0231ba30b0..b11a18c8de74 100644
--- a/dbaccess/source/ui/tabledesign/FieldDescriptions.cxx
+++ b/dbaccess/source/ui/tabledesign/FieldDescriptions.cxx
@@ -629,6 +629,7 @@ TOTypeInfoSP OFieldDescription::getSpecialTypeInfo() const
*pSpecialType = *m_pType;
pSpecialType->nPrecision = GetPrecision();
pSpecialType->nMaximumScale = static_cast<sal_Int16>(GetScale());
+ pSpecialType->bAutoIncrement = IsAutoIncrement(); // http://dba.openoffice.org/issues/show_bug.cgi?id=115398 fixed by ludob
return pSpecialType;
}
// -----------------------------------------------------------------------------