summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/tabledesign
diff options
context:
space:
mode:
authorOcke Janssen <oj@openoffice.org>2002-11-12 12:20:11 +0000
committerOcke Janssen <oj@openoffice.org>2002-11-12 12:20:11 +0000
commit73328369ef4bec5d9cc07cdf476d18d9ea747a6e (patch)
treebd0df5ed008db06a21fd349767616f9da0fc2670 /dbaccess/source/ui/tabledesign
parent95a47e47da700b7dea67b598f338fbdb0ded3c13 (diff)
#104282# allow modifing when adding pkey
Diffstat (limited to 'dbaccess/source/ui/tabledesign')
-rw-r--r--dbaccess/source/ui/tabledesign/TableController.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/dbaccess/source/ui/tabledesign/TableController.cxx b/dbaccess/source/ui/tabledesign/TableController.cxx
index 980d1537ee32..582e5c94aeaf 100644
--- a/dbaccess/source/ui/tabledesign/TableController.cxx
+++ b/dbaccess/source/ui/tabledesign/TableController.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: TableController.cxx,v $
*
- * $Revision: 1.83 $
+ * $Revision: 1.84 $
*
- * last change: $Author: fs $ $Date: 2002-11-08 13:13:07 $
+ * last change: $Author: oj $ $Date: 2002-11-12 13:20:11 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -918,7 +918,7 @@ void OTableController::appendColumns(Reference<XColumnsSupplier>& _rxColSup,sal_
{
OSL_ENSURE(*aIter,"OTableRow is null!");
OFieldDescription* pField = (*aIter)->GetActFieldDescr();
- if ( !pField || (!_bNew && (*aIter)->IsReadOnly()) )
+ if ( !pField || (!_bNew && (*aIter)->IsReadOnly() && !_bKeyColumns) )
continue;
Reference<XPropertySet> xColumn;